supercov 0.0.54-aarch64-linux-gnu โ†’ 1.0.0-aarch64-linux-gnu

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +62 -5
  3. data/lib/supercov.rb +1 -1
  4. data/libexec/supercov +0 -0
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 495f92e5c78333324486aeaf7004be6c032271ce1e643a14c66e29b353d5edf8
4
- data.tar.gz: f47509b7ab94ed40ffd1dbdfa5828d8a9688e028cf95f83c2bd6784dac47b03e
3
+ metadata.gz: 781ec55332b0f231df865ebd11ad0db35b009b638b4fe4a812e9fa17da05cf13
4
+ data.tar.gz: 22896fd9e7ab4021d1a4df704ad0d4c63e135b9132d0c10f2dbaa618a224ed55
5
5
  SHA512:
6
- metadata.gz: b378ceb3335890c435bcad3c0ad31e3f7dbf2caaa5fc1b2a884f0e50d8ccd9e91c04165a66c4dcd6918f2ae7d45be69378c320f08213480e7c92ae4b831cc4f0
7
- data.tar.gz: 65ac4b89a53f52c04f0b5a6ad9632ae73f3e97c1f1a65d8df75f04e67f8fd1b12d0764659e74475eee49aa657db929c15790e229e578c9f491a3eea13387260c
6
+ metadata.gz: 037fd6d20632905b88c3e868fcb27c1a94078cf343cc8697a4dd33b3577d05795e207db86e229f5787e6ad01c83a93850ddf734df3d6a67a539e6b8ff95a0bf5
7
+ data.tar.gz: f9f6f88fe7d4cb05dc5964c71917a56b109bce6372c0543c817369661a506cb1fab6a04836b4632d4741d095ef23c8ebdc854fa8f79ca14b05632d9c5809d603
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
- ![Coverage for coding agents and software factories ๐ŸŒ™](https://raw.githubusercontent.com/supercorp-ai/supercov/main/supercov.jpg)
1
+ ![Code quality and coverage for coding agents](https://raw.githubusercontent.com/supercorp-ai/supercov/main/supercov.jpg)
2
2
 
3
- **Coverage for coding agents and software factories ๐ŸŒ™**
3
+ **Code quality and coverage for coding agents**
4
4
 
5
- **Supercov gives your coding agent the next useful test to write.** It runs the test command you already use, records local coverage evidence, and turns uncovered paths into small, actionable queries. Your agent writes a focused test, reruns the suite, proves what improved, and keeps going while useful gaps remain.
5
+ **Supercov tells your coding agent what to fix and what to test.** It scores your code quality with [Jev](https://typesafe.ai), runs the test command you already use, and turns uncovered paths into small, actionable queries. Your agent picks a target, writes a focused test or a focused refactor, proves what improved, and keeps going.
6
6
 
7
- No account, config file, import, custom reporter, or hosted service is required. Supercov is local, free, open source, and MIT licensed.
7
+ Coverage needs no account, config file, import, custom reporter, or hosted service. Supercov is local, free, open source, and MIT licensed. Quality uses [Jev](https://typesafe.ai) and needs a key.
8
8
 
9
9
  [Website](https://supercov.com) ยท [Documentation](https://supercov.com/docs) ยท [npm](https://www.npmjs.com/package/supercov) ยท [GitHub](https://github.com/supercorp-ai/supercov)
10
10
 
@@ -13,6 +13,41 @@ Supported by [Supercorp](https://supercorp.ai).
13
13
  [Agent workflow](https://supercov.com/docs/agent-loop): ask your coding agent
14
14
  to add a test in your own project, with a recorded example to follow along.
15
15
 
16
+ ## Score your code
17
+
18
+ ```bash
19
+ export TYPESAFE_API_KEY=... # get one at https://typesafe.ai
20
+ npx supercov quality
21
+ ```
22
+
23
+ No arguments and no configuration. It finds your source, asks Jev a set of
24
+ yes/no questions about each file, and does the arithmetic itself, so every part
25
+ of a score is a claim you can check against the file.
26
+
27
+ ```
28
+ Quality weak (3.8/10) over 163 files.
29
+ 11 good, 52 fair, 100 weak.
30
+
31
+ Weakest:
32
+ weak runtime/python/supercov_runtime.py
33
+ long_method 0.96, deep_nesting 0.92, complex_conditional 0.89, +9 more
34
+ weak crates/supercov-engine/src/assertion_store.rs
35
+ long_method 0.96, deep_nesting 0.91, complex_conditional 0.86, +8 more
36
+ ```
37
+
38
+ Narrow to what fired, read one file in full, or review a change:
39
+
40
+ ```bash
41
+ npx supercov quality gaps
42
+ npx supercov quality file src/server.ts
43
+ npx supercov quality patch # your uncommitted work, or your branch
44
+ npx supercov quality patch --annotate github # workflow annotations, no token
45
+ ```
46
+
47
+ Jev charges for what it reads and nothing for what it writes, so a megabyte of
48
+ source costs a little over a cent. Answers are cached by content, so a second
49
+ run pays only for what changed. See [Understanding quality](docs/quality.md).
50
+
16
51
  ## Start with the suite you already have
17
52
 
18
53
  ```bash
@@ -25,12 +60,33 @@ github.com/supercorp-ai/supercov/cmd/supercov@latest`.
25
60
 
26
61
  Everything after `--` is your test command. Supercov runs it without changing your source, tests, runner configuration, or normal build output.
27
62
 
28
- Then ask what is still uncovered:
63
+ Then read the result and ask what is still uncovered:
64
+
65
+ ```bash
66
+ npx supercov runs latest
67
+ ```
68
+
69
+ ```
70
+ run run_7fc676ba671d42be
71
+ command: npm test
72
+
73
+ Coverage
74
+ Lines 100.00% (5/5)
75
+ Branches 66.67% (4/6)
76
+ MC/DC 33.33% (1/3)
77
+ ```
29
78
 
30
79
  ```bash
31
80
  npx supercov runs latest gaps --limit 10
32
81
  ```
33
82
 
83
+ ```
84
+ Coverage gaps โ€” only files with unresolved obligations
85
+
86
+ src/pricing.js
87
+ uncovered: lines 0 statements 1 functions 0 branch outcomes 0 MC/DC conditions 2
88
+ ```
89
+
34
90
  After your agent adds a test, rerun the complete suite and prove the gain:
35
91
 
36
92
  ```bash
@@ -243,6 +299,7 @@ npx supercov clean # remove all runs and the build cache
243
299
  ## Documentation
244
300
 
245
301
  - [Getting started](https://supercov.com/docs/getting-started)
302
+ - [Understanding quality](https://supercov.com/docs/quality)
246
303
  - [Agent workflow](https://supercov.com/docs/agent-loop)
247
304
  - [Understanding assertions](docs/assertions.md)
248
305
  - [Troubleshooting](https://supercov.com/docs/troubleshooting)
data/lib/supercov.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Supercov
4
- VERSION = "0.0.54"
4
+ VERSION = "1.0.0"
5
5
  end
data/libexec/supercov CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supercov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.54
4
+ version: 1.0.0
5
5
  platform: aarch64-linux-gnu
6
6
  authors:
7
7
  - Supercorp
@@ -44,5 +44,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  requirements: []
45
45
  rubygems_version: 3.6.9
46
46
  specification_version: 4
47
- summary: "Coverage for coding agents and software factories \U0001F319"
47
+ summary: Code quality and coverage for coding agents
48
48
  test_files: []