harness-everything 0.27.0 → 0.29.0
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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +33 -0
- package/behavioral-evals/README.md +39 -0
- package/behavioral-evals/case-validator.js +34 -0
- package/behavioral-evals/cases/baseline-worktree-submodule-reachability.yaml +30 -0
- package/behavioral-evals/fixtures/setup/fail.js +3 -0
- package/behavioral-evals/fixtures/setup/noop.js +4 -0
- package/behavioral-evals/fixtures/setup/verify-worktree-submodule.js +46 -0
- package/behavioral-evals/fixtures/setup/worktree-submodule.js +86 -0
- package/behavioral-evals/paired-benchmark.js +39 -5
- package/behavioral-evals/run-with-plugin.js +53 -39
- package/behavioral-evals/run.js +88 -9
- package/benchmarks/fixtures/system-one-holdout-reviews.json +18 -18
- package/benchmarks/fixtures/system-one-holdout.json +9 -9
- package/benchmarks/results/system-one/harness-routing-v1-cpu-2026-09-24/README.md +75 -0
- package/benchmarks/results/system-one/harness-routing-v1-cpu-2026-09-24/report.json +10832 -0
- package/benchmarks/results/system-one/harness-routing-v1-ngram-2026-09-24/README.md +72 -0
- package/benchmarks/results/system-one/harness-routing-v1-ngram-2026-09-24/report.json +10817 -0
- package/benchmarks/results/system-one/harness-routing-v3-ngram-2026-09-24/README.md +63 -0
- package/benchmarks/results/system-one/harness-routing-v3-ngram-2026-09-24/report.json +10817 -0
- package/benchmarks/results/system-one/labeler-holdout-check-2026-09-24/report.json +1104 -0
- package/benchmarks/results/system-one/labeler-holdout-check-codex-2026-09-24/report.json +1104 -0
- package/benchmarks/results/system-one/labeler-holdout-check-codex-tier3-2026-09-24/report.json +1104 -0
- package/ci/mechanism-2j-behavioral-runner.test.js +121 -1
- package/ci/mechanism-2j-fixture-entrypoints.test.js +153 -0
- package/ci/mechanism-system-one-evaluation.test.js +17 -0
- package/ci/mechanism-system-one-label.test.js +27 -0
- package/ci/mechanism-system-one-ngram.test.js +161 -0
- package/ci/mechanism-system-one-train.test.js +12 -0
- package/ci/system-one-ngram-parity.py +19 -0
- package/ci/system-one-train-test.py +6 -0
- package/ci/test-behavioral-case-validation.js +26 -0
- package/docs/system-one-corpus.md +31 -3
- package/docs/system-one-routing.md +84 -2
- package/docs/system-one-training.md +14 -2
- package/harness-everything/SKILL.md +1 -1
- package/harness-everything/scripts/system-one/evaluate.js +3 -2
- package/harness-everything/scripts/system-one/ngram.js +84 -0
- package/harness-everything/scripts/system-one/provider.js +15 -5
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/plugin.json +1 -1
- package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/evaluate.js +3 -2
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/ngram.js +84 -0
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/provider.js +15 -5
- package/sbom.cdx.json +7 -7
- package/scripts/evaluate-system-one.js +16 -9
- package/scripts/system-one-calibrate.js +1 -1
- package/scripts/system-one-label.js +32 -3
- package/scripts/system-one-train-ngram.py +129 -0
- package/scripts/system-one-train.py +14 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# System One: ngram tier model after the third spot-check (2026-09-24)
|
|
2
|
+
|
|
3
|
+
This is local real-model evidence for the `ngram` transport. It is not live-host
|
|
4
|
+
evidence. Issue [#233](https://github.com/dyphn1/Harness-everything/issues/233); the
|
|
5
|
+
first ngram run is [harness-routing-v1-ngram-2026-09-24](../harness-routing-v1-ngram-2026-09-24/README.md).
|
|
6
|
+
**Result: cleaner labels raise coverage, but accepted precision on the holdout is still
|
|
7
|
+
below 85%, so the model is not released.**
|
|
8
|
+
|
|
9
|
+
## What changed since v1
|
|
10
|
+
|
|
11
|
+
- **Rules.** The owner settled the tier lines from the third training spot-check
|
|
12
|
+
([system-one-corpus.md](../../../../docs/system-one-corpus.md#gold-labels)):
|
|
13
|
+
- Git work is `tier1` at any width.
|
|
14
|
+
- Adding an option inside one tool, or fixing a bug, is `tier2`.
|
|
15
|
+
- Short replies follow the work in progress.
|
|
16
|
+
- Explicit agents, architecture changes, and repository-wide or cross-component work
|
|
17
|
+
are `tier3`.
|
|
18
|
+
- **Holdout.** The owner moved nine holdout cases to these lines. The holdout is now
|
|
19
|
+
`tier1` 48, `tier2` 104, `tier3` 43 and `null` 20, still 215 reviewed cases.
|
|
20
|
+
- **Labeler.** Under the final rules the Codex labeler agrees with the holdout 85.1%
|
|
21
|
+
(it was 80.5%).
|
|
22
|
+
- **Labels.** The labeler relabeled 2,061 prompts under the new rules, and then relabeled
|
|
23
|
+
again 295 prompts that the first pass had moved from `tier3` to `tier2`. There are
|
|
24
|
+
126 owner overrides and 4 exclusions. The final labels are:
|
|
25
|
+
- `tier2`: 3,207.
|
|
26
|
+
- `tier1`: 1,148.
|
|
27
|
+
- `null`: 726.
|
|
28
|
+
- `tier3`: 544.
|
|
29
|
+
|
|
30
|
+
The training data stays local.
|
|
31
|
+
- **Training.** Same trainer and defaults as v1. The artifact is 1,048,576 bytes, revision
|
|
32
|
+
`d9aa40e711a3`.
|
|
33
|
+
|
|
34
|
+
## Calibration (validation, 727)
|
|
35
|
+
|
|
36
|
+
The 85% target is reached at `minConfidence` 0.5 and `minMargin` 0, with 44.0% coverage
|
|
37
|
+
(320 accepted, precision 85.9%). v1 had 29.0%.
|
|
38
|
+
|
|
39
|
+
## Holdout (current 215 cases, one run each)
|
|
40
|
+
|
|
41
|
+
[`report.json`](report.json) is the unmodified evaluator output for v3. v1 was measured
|
|
42
|
+
again on the same holdout for comparison; that report stays local.
|
|
43
|
+
|
|
44
|
+
| Metric | v3 | v1 on the same holdout | Lexical baseline |
|
|
45
|
+
| --- | --- | --- | --- |
|
|
46
|
+
| Accepted | 59 (27.4%) | 43 (20.0%) | 87 (40.5%) |
|
|
47
|
+
| Accepted correct | 40 | 31 | 47 |
|
|
48
|
+
| Accepted precision | 67.8% | 72.1% | 54.0% |
|
|
49
|
+
| Warm p95 | 0.66 ms | 0.81 ms | — |
|
|
50
|
+
|
|
51
|
+
Gates `reviewedHoldout`, `repeatability`, `warmLatency` and `sourceProvenance` pass.
|
|
52
|
+
`acceptedPrecision`, `coverage` and gated `macroF1` fail.
|
|
53
|
+
|
|
54
|
+
## Reading
|
|
55
|
+
|
|
56
|
+
- **`tier3` is the weak class.** The largest error among accepted answers is gold `tier3`
|
|
57
|
+
predicted `tier2` (9 of 19 errors). Only one `tier3` answer was accepted.
|
|
58
|
+
- **Validation is optimistic.** The labeler's labels make up the validation set, and it
|
|
59
|
+
reaches 85.9%. The owner-reviewed holdout reaches only 67.8%, because it holds twice as
|
|
60
|
+
many `tier3` cases (20% against 10%) and they are authored prompts.
|
|
61
|
+
- **Character n-grams are not enough.** The `tier3` line depends on scope ("every",
|
|
62
|
+
"across", "the whole repo") rather than on surface words. That supports the staged plan:
|
|
63
|
+
an intent classifier first, then the tier.
|