skillfit 0.10.1 → 0.11.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/README.md +18 -6
- package/README.zh-CN.md +18 -6
- package/benches/README.md +2 -2
- package/dist/cli.js +132 -28
- package/dist/cli.test.js +94 -0
- package/dist/commands/bench-calibration.js +197 -0
- package/dist/commands/bench-calibration.test.js +237 -0
- package/dist/commands/bench-check-json.test.js +24 -3
- package/dist/commands/bench.js +63 -143
- package/dist/commands/calibration-cli.test.js +145 -0
- package/dist/commands/eval-agent-preflight.test.js +245 -0
- package/dist/commands/eval-cli.js +31 -0
- package/dist/commands/eval-component.js +52 -28
- package/dist/commands/eval-export-modes.test.js +350 -0
- package/dist/commands/eval-export.js +12 -4
- package/dist/commands/eval-plan.js +37 -0
- package/dist/commands/eval-preflight.test.js +144 -1
- package/dist/commands/eval-report.js +18 -3
- package/dist/commands/eval-single-arm-replay.js +21 -0
- package/dist/commands/eval-single-arm-report.js +223 -0
- package/dist/commands/eval.js +106 -56
- package/dist/commands/evaluation-report.js +5 -0
- package/dist/commands/evaluation-report.test.js +243 -0
- package/dist/commands/replay-cancellation.test.js +105 -0
- package/dist/commands/workflow-entrypoints.test.js +137 -0
- package/dist/harness/agent-preflight.js +180 -0
- package/dist/harness/bench.js +2 -1
- package/dist/harness/command.js +49 -0
- package/dist/harness/eval-audit.js +161 -16
- package/dist/harness/eval-budget.js +46 -2
- package/dist/harness/eval-budget.test.js +26 -1
- package/dist/harness/eval-component.test.js +163 -0
- package/dist/harness/eval-contract.js +11 -5
- package/dist/harness/executors/api.js +4 -3
- package/dist/harness/executors/api.test.js +18 -0
- package/dist/harness/experiment-session.js +18 -10
- package/dist/harness/experiment-session.test.js +8 -0
- package/dist/harness/invocation-costs.js +72 -0
- package/dist/harness/judge-accounting.test.js +216 -0
- package/dist/harness/judge-audit.js +56 -0
- package/dist/harness/judge.js +86 -21
- package/dist/harness/replay-package.js +71 -5
- package/dist/harness/runner.js +40 -30
- package/dist/harness/runner.test.js +23 -0
- package/dist/harness/single-arm-audit.js +436 -0
- package/dist/harness/trigger.js +21 -3
- package/dist/harness/trigger.test.js +12 -0
- package/dist/harness/verifier-error.js +65 -0
- package/dist/harness/verifier.test.js +128 -0
- package/docs/bench-authoring.md +34 -9
- package/docs/bench-check-json.md +28 -5
- package/docs/eval-agent-preflight.md +101 -0
- package/docs/eval-case-preflight.md +5 -0
- package/docs/eval-component.md +38 -10
- package/docs/eval-costs.md +44 -0
- package/docs/eval-planning.md +153 -0
- package/docs/evaluation-input-snapshots.md +2 -1
- package/docs/evaluation-interruption.md +22 -10
- package/docs/evaluation-reports.md +97 -3
- package/docs/experiment-workflow.md +7 -0
- package/docs/first-real-eval.md +50 -3
- package/docs/growth-roadmap-2026-10.md +41 -9
- package/docs/metrics.md +40 -3
- package/docs/plans/2026-10-17-workflow-foundations.md +64 -0
- package/docs/releases/0.10.1-ci-registry-install.json +70 -0
- package/docs/releases/0.10.1-feature-smoke.json +28 -0
- package/docs/releases/0.10.1-local-registry-install.json +60 -0
- package/docs/releases/0.10.1-registry-metadata.json +33 -0
- package/docs/releases/0.10.1-signatures.txt +7 -0
- package/docs/releases/0.10.1-verification.json +90 -0
- package/docs/releases/0.10.1.md +37 -4
- package/docs/releases/0.11.0-feature-smoke.mjs +224 -0
- package/docs/releases/0.11.0.md +47 -0
- package/docs/replay-packages.md +38 -6
- package/docs/schemas/agent-preflight.schema.json +31 -0
- package/docs/schemas/calibration-plan.schema.json +22 -0
- package/docs/schemas/calibration-result.schema.json +17 -0
- package/docs/schemas/eval-request.schema.json +1 -1
- package/docs/schemas/eval-result.schema.json +3 -1
- package/docs/schemas/invocation-costs.schema.json +31 -0
- package/docs/schemas/judge-call.schema.json +22 -0
- package/docs/schemas/single-arm-report.schema.json +20 -0
- package/docs/schemas/verifier-error.schema.json +11 -0
- package/docs/sharing-results.md +3 -0
- package/docs/verifier-contract.md +99 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +41 -8
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Shared evaluation planning (source after npm 0.10.1)
|
|
2
|
+
|
|
3
|
+
Ordinary paired/trigger `eval` and version-1 paired Agent requests share reviewed
|
|
4
|
+
planning. Baseline calibration has a separate typed plan with the same budget,
|
|
5
|
+
deadline and output controls in 0.11.0. npm 0.10.1 does not include these
|
|
6
|
+
additions. Existing revision requests remain valid.
|
|
7
|
+
|
|
8
|
+
## Settings and baselines
|
|
9
|
+
|
|
10
|
+
| Ordinary paired eval | Agent request field | Meaning |
|
|
11
|
+
| --- | --- | --- |
|
|
12
|
+
| Target path | `candidateSkill` | Candidate complete Skill in installed mode |
|
|
13
|
+
| `--baseline-skill <path>` | `baselineSkill: "./skill-old"` | Previous complete Skill, same frontmatter name and different content |
|
|
14
|
+
| Omit `--baseline-skill` with `--mode installed` | `baselineSkill: null` | No Skill installed by the harness in baseline; complete candidate only in treatment |
|
|
15
|
+
| `--bench <path>` / repeated `--task <id>` | `bench` / `taskIds` | Frozen bench and selected cases in bench order |
|
|
16
|
+
| `--trials <n>` / `--max-calls <n>` | `trials` / `maxCalls` | Fixed repetitions and call ceiling; reject undersized ceilings before calls |
|
|
17
|
+
| `--pair-order baseline-first\|balanced` | `pairOrder` | Default `baseline-first`; `balanced` alternates first arm by task/trial |
|
|
18
|
+
| `--executor-timeout-seconds <n>` | `executorTimeoutSeconds` | Integer 1–3600, deadline per executor invocation |
|
|
19
|
+
| `--spending-budget <file>` | `spendingBudget` | Optional five absolute batch stop lines |
|
|
20
|
+
| `--runs-root <dir>` / `--run-group <fresh-name>` | `runsRoot` / `runGroup` | Output parent and fresh group; existing groups cannot be overwritten |
|
|
21
|
+
|
|
22
|
+
Requests always use installed workspace delivery without judges. `baselineSkill`
|
|
23
|
+
is **required**: explicit null selects no-Skill; a missing, empty or invalid value
|
|
24
|
+
is an error. Existing string paths still select revision comparison. The two arms
|
|
25
|
+
receive identical natural task prompts. “No Skill” describes harness delivery;
|
|
26
|
+
inherited global Skills, rules and plugins still apply. Check the agent profile
|
|
27
|
+
before interpreting installation benefit. Ordinary inject, rules and MCP plans
|
|
28
|
+
retain their existing delivery semantics.
|
|
29
|
+
|
|
30
|
+
CLI agents and requests default to 600 seconds; API execution preserves its
|
|
31
|
+
120-second default. New paired plans and native records state the effective
|
|
32
|
+
deadline, including defaults. An explicit deadline is applied to the API too.
|
|
33
|
+
The effective deadline also applies to an enabled ordinary-eval judge; each
|
|
34
|
+
invocation has its own timer. Historical records
|
|
35
|
+
without deadline metadata remain unrecorded. Changed timeouts need a fresh
|
|
36
|
+
preview/batch; earlier timeouts and partial usage remain evidence.
|
|
37
|
+
|
|
38
|
+
## Preview and confirm
|
|
39
|
+
|
|
40
|
+
Save this illustrative `budget.json`; choose actual limits for your authorized
|
|
41
|
+
task before running. These numbers are stop lines, not estimated usage or prices:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"input": 100000,
|
|
46
|
+
"cachedInput": 100000,
|
|
47
|
+
"uncachedInput": 100000,
|
|
48
|
+
"output": 10000,
|
|
49
|
+
"durationSeconds": 1200
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Preview a two-call no-Skill comparison without verifiers, model calls or writes:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
node dist/cli.js eval ./skill-new --mode installed --bench ./my-bench --task my-task --agent codex --trials 1 --max-calls 2 --pair-order balanced --executor-timeout-seconds 300 --spending-budget ./budget.json --runs-root ./runs --run-group no-skill-001 --json --dry-run
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Read `plan.sha256`, then execute the same command with `--dry-run` removed and
|
|
60
|
+
`--plan-sha <plan.sha256>` added **only with spending authorization**. Ordinary
|
|
61
|
+
JSON execution requires the hash and explicit `--run-group`. Human previews
|
|
62
|
+
print the same hash and support the same confirmation, while existing human
|
|
63
|
+
execution without `--json` may still run without a hash. Dry run never executes.
|
|
64
|
+
Agent requests retain their required preview-hash confirmation.
|
|
65
|
+
|
|
66
|
+
`plan.evaluation.agentPreflight` reports the [offline Agent environment checks](eval-agent-preflight.md).
|
|
67
|
+
Preview can return `planned` with a `blocked` environment; live execution rejects
|
|
68
|
+
known failures before case probes or calls. CLI resolution and check results are
|
|
69
|
+
bound into the plan hash and rechecked after case probes. Login remains unknown.
|
|
70
|
+
|
|
71
|
+
`plan.evaluation` has the same effective settings for equivalent installed
|
|
72
|
+
comparisons through either entry point. Request plans additionally bind request
|
|
73
|
+
bytes, purpose and acceptance policy, so their hashes differ from ordinary plans.
|
|
74
|
+
Use the hash from the same entry point; changes to settings, input fingerprints,
|
|
75
|
+
executor identity or compiled implementation invalidate confirmation. Preview
|
|
76
|
+
declares offline case preflight and input snapshots pending; execution performs
|
|
77
|
+
both before dispatch.
|
|
78
|
+
|
|
79
|
+
Budget files are parsed into fixed numeric limits before planning. Those values,
|
|
80
|
+
rather than the source file's path/format, are bound to the hash and sealed in
|
|
81
|
+
the native plan. Editing the file before a new invocation changes the plan when
|
|
82
|
+
the limits change; editing it during a run cannot adjust the running limits.
|
|
83
|
+
Reports, export and offline replay need no original budget file. Request files,
|
|
84
|
+
including inline limits/policy, retain their before/after-call byte guards.
|
|
85
|
+
|
|
86
|
+
## Baseline calibration and trigger plans
|
|
87
|
+
|
|
88
|
+
These source commands also support repeated `--task`, `--max-calls`,
|
|
89
|
+
`--spending-budget`, `--executor-timeout-seconds`, `--runs-root`, `--run-group`,
|
|
90
|
+
`--json --dry-run` and exact `--plan-sha` confirmation:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
node dist/cli.js bench check ./my-bench --calibrate --agent codex --task my-task --input workspace --trials 1 --max-calls 1 --spending-budget ./budget.json --executor-timeout-seconds 300 --runs-root ./runs --run-group calibration-001 --json --dry-run
|
|
94
|
+
node dist/cli.js eval ./my-skill --mode trigger --bench ./my-bench --agent codex --task positive-task --task negative-task --trials 1 --max-calls 2 --spending-budget ./budget.json --executor-timeout-seconds 300 --runs-root ./runs --run-group trigger-001 --json --dry-run
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Use actual registered IDs. Calibration defaults to two trials per task and runs
|
|
98
|
+
one no-Skill baseline arm. Trigger defaults to five trials, presents on-disk
|
|
99
|
+
files without `--input`, and runs only selected tasks with a `shouldTrigger`
|
|
100
|
+
label. Unlabeled tasks are skipped; a plan with no eligible calls fails.
|
|
101
|
+
Include negative controls to measure false-trigger rate. Neither mode accepts
|
|
102
|
+
`--pair-order`; trigger does not use a judge or a revision baseline.
|
|
103
|
+
|
|
104
|
+
Calibration preview returns `kind: "skillfit.calibration-result"`, `status:
|
|
105
|
+
"planned"`, with a `skillfit.calibration-plan` in `plan`. Confirm its
|
|
106
|
+
`plan.planSha256`. Trigger uses the ordinary `skillfit.eval-result` preview and
|
|
107
|
+
`plan.sha256`; `plan.evaluation.mode` is `trigger`. Both JSON execution paths
|
|
108
|
+
require an explicit `--run-group` from the preview. Keep every effective setting
|
|
109
|
+
the same, remove `--dry-run` and add the correct `--plan-sha`. A generated plan
|
|
110
|
+
does not authorize spending or prove a ready environment.
|
|
111
|
+
|
|
112
|
+
Calibration preview executes no verifier/oracle. Live calibration performs the
|
|
113
|
+
offline case gates before native setup or calls; any hard failure blocks it.
|
|
114
|
+
Missing oracle/coverage evidence is `UNKNOWN`, separate from nonblocking `WARN`
|
|
115
|
+
items such as large fixtures. Its Agent environment is checked before and after
|
|
116
|
+
the probes, just as in eval. Checks and the reviewed plan are sealed; stopped
|
|
117
|
+
calibration keeps every declared task, including tasks not reached.
|
|
118
|
+
|
|
119
|
+
Read either mode through `report eval <run-dir> [--json]`. Calibration reports
|
|
120
|
+
baseline difficulty; trigger reports recall, false-trigger rate and detection
|
|
121
|
+
coverage. New sealed native runs support `--replay` and
|
|
122
|
+
`report eval <run-dir> --export <fresh-dir>` without another model call. Replay
|
|
123
|
+
regrades saved deliveries; it does not obtain new trigger observations or prove
|
|
124
|
+
independent validation. Single-arm reports reject paired `--policy`/`--records`
|
|
125
|
+
overrides and never authorize adoption. See [report types](evaluation-reports.md)
|
|
126
|
+
and [portable packages](replay-packages.md) for historical/runtime limits.
|
|
127
|
+
|
|
128
|
+
## Stop rules and results
|
|
129
|
+
|
|
130
|
+
All five budget fields are required when supplied. Token lines are positive safe
|
|
131
|
+
integers; seconds are positive finite numbers. Limits count all invoked primary
|
|
132
|
+
agent and enabled judge spending, including failures and excluded partners. Reaching any line stops
|
|
133
|
+
the next call; one in-flight call can overshoot. Missing/partial/invalid final
|
|
134
|
+
usage or an execution/guard error stops further calls and retains known/unknown
|
|
135
|
+
spending. There are no retries, replacements or automatic expansion. The same
|
|
136
|
+
guard covers calibration and trigger invocations. New judge receipts preserve
|
|
137
|
+
both scoring orders and their usage; reports separate primary Agent, judge and
|
|
138
|
+
combined `invocationCosts`. Historical missing judge costs remain unknown, never
|
|
139
|
+
zero. An enabled API judge without credentials is an error before spending;
|
|
140
|
+
login validity still cannot be confirmed offline. See [cost accounting](eval-costs.md).
|
|
141
|
+
|
|
142
|
+
Ordinary `--json` returns the same `skillfit.eval-result` envelope and English
|
|
143
|
+
error reasons as requests, with diagnostics on stderr. Ordinary native runs seal
|
|
144
|
+
the reviewed plan and audit it against actual parameters; both entries retain
|
|
145
|
+
receipts, complete cost coverage and [portable replay](evaluation-input-snapshots.md).
|
|
146
|
+
JSON validation errors exit 2; stopped runs exit 2, or 130/143 for SIGINT/SIGTERM.
|
|
147
|
+
Plans and stopped prefixes cannot authorize adoption.
|
|
148
|
+
|
|
149
|
+
No-Skill results report improvements, regressions and costs, but retain
|
|
150
|
+
`REVISION_COMPARISON_REQUIRED` and `eligibleForUpgrade: false` under the existing
|
|
151
|
+
revision adoption policy. Ordinary runs also lack predeclared component policy
|
|
152
|
+
binding. Neither entry upgrades a Skill. The [acceptance contract](eval-component.md)
|
|
153
|
+
and [statistical protocol](metrics.md) are unchanged.
|
|
@@ -23,7 +23,8 @@ status: "pending"}`; no input archive exists yet. Its policy is part of the
|
|
|
23
23
|
approved plan, while actual copy time is recorded only after execution starts.
|
|
24
24
|
|
|
25
25
|
Sealing also applies to sessions used by trigger mode and baseline calibration.
|
|
26
|
-
|
|
26
|
+
Version 0.11.0 exports/replays their sealed native evidence too; the original
|
|
27
|
+
frozen runtime must support single-arm replay. A separate global
|
|
27
28
|
configuration installation is never performed by this feature.
|
|
28
29
|
|
|
29
30
|
## What is saved
|
|
@@ -9,7 +9,12 @@ handling, not the statistical or adoption protocol.
|
|
|
9
9
|
Press **Ctrl+C** once during a live evaluation. The same path handles `SIGTERM`.
|
|
10
10
|
It covers paired inject/installed evaluations, JSON request execution, trigger
|
|
11
11
|
evaluations and live `bench check --calibrate`. It also stops an active harness
|
|
12
|
-
verifier or judge.
|
|
12
|
+
verifier or judge. Read-only JSON previews and reports start no executor.
|
|
13
|
+
|
|
14
|
+
Version 0.11.0 extends cancellation across standalone `bench check`,
|
|
15
|
+
including its verifier and reference-repair descendants. Disposable probe copies
|
|
16
|
+
are removed. Nested checks reuse the enclosing evaluation's cancellation context
|
|
17
|
+
and restore handlers when finished; they do not swallow the interruption.
|
|
13
18
|
|
|
14
19
|
The source also cancels [offline case preflight](eval-case-preflight.md) before
|
|
15
20
|
dispatch. Its verifier/oracle trees stop with exit 130/143 and zero model calls;
|
|
@@ -45,14 +50,21 @@ The native run directory keeps:
|
|
|
45
50
|
- `_artifacts.json`: inventory and hashes of retained files, including interruption
|
|
46
51
|
metadata. A stopped prefix does not acquire a completed efficacy verdict.
|
|
47
52
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
Version 0.11.0 records each judge call separately and shows primary
|
|
54
|
+
Agent, judge and combined invocation costs; missing/partial usage remains
|
|
55
|
+
incomplete. An interrupted judge also retains the existing
|
|
56
|
+
`_interrupted-judge-<call>.json` record. Neither a receipt nor a known token total
|
|
57
|
+
proves an exact provider bill. See [cost accounting](eval-costs.md).
|
|
58
|
+
|
|
59
|
+
The same source seals stopped calibration `_calibration.json` records with the
|
|
60
|
+
whole declared task set, including zero-count tasks not reached. Trigger receipts
|
|
61
|
+
retain interrupted output/tokens with partial/unknown status. Supported sealed
|
|
62
|
+
paired, calibration and trigger runs, including new judge receipts, can be read,
|
|
63
|
+
audited and exported with the shared report entry point. Historical summaries
|
|
64
|
+
without native evidence remain unverified; missing original runtime support
|
|
65
|
+
cannot be silently supplied by substituting a new implementation.
|
|
54
66
|
|
|
55
|
-
Inspect a
|
|
67
|
+
Inspect a stopped native run without another agent call:
|
|
56
68
|
|
|
57
69
|
```bash
|
|
58
70
|
node dist/cli.js report eval ./runs/my-run --json
|
|
@@ -75,11 +87,11 @@ processes participate in cancellation; unrelated services are outside that contr
|
|
|
75
87
|
|
|
76
88
|
```bash
|
|
77
89
|
npm test
|
|
78
|
-
node --test dist/commands/eval-interruption.test.js dist/harness/interruption.test.js
|
|
90
|
+
node --test dist/commands/eval-interruption.test.js dist/commands/bench-calibration.test.js dist/harness/interruption.test.js
|
|
79
91
|
```
|
|
80
92
|
|
|
81
93
|
The tests inject fake Node CLI/process trees and a fake fetch implementation. They
|
|
82
|
-
check interrupted primary/verifier/judge work, trigger/calibration/request execution,
|
|
94
|
+
check standalone verifier/oracle descendants and interrupted primary/verifier/judge work, trigger/calibration/request execution,
|
|
83
95
|
repeated signals, between-call interruption, partial and unknown costs, sealed
|
|
84
96
|
inventories, stopped-package replay, exit codes and handler/context cleanup.
|
|
85
97
|
POSIX integration tests deliver real OS signals to the harness. Windows tests emit
|
|
@@ -4,6 +4,11 @@ Version 0.10.1 uses the same saved-evidence assessment for Markdown and JSON.
|
|
|
4
4
|
Both formats accept a manifest file, native run directory or portable replay
|
|
5
5
|
package directory. Neither starts an agent or changes the saved run.
|
|
6
6
|
|
|
7
|
+
Version 0.11.0 also displays the saved [Agent environment preflight](eval-agent-preflight.md).
|
|
8
|
+
JSON exposes `agentPreflight`; human reports omit its local evidence paths.
|
|
9
|
+
Missing historical metadata stays null. Reading/replaying a report does not
|
|
10
|
+
repeat environment/authentication probes or claim the current machine is ready.
|
|
11
|
+
|
|
7
12
|
```bash
|
|
8
13
|
skillfit report eval ./runs/my-run
|
|
9
14
|
skillfit report eval ./runs/my-run --json
|
|
@@ -11,7 +16,7 @@ skillfit report eval ./runs/my-run/manifest.json
|
|
|
11
16
|
skillfit report eval ./exports/my-run --replay
|
|
12
17
|
```
|
|
13
18
|
|
|
14
|
-
`--json` changes the format, not which evidence is checked. `--replay`,
|
|
19
|
+
For paired runs, `--json` changes the format, not which evidence is checked. `--replay`,
|
|
15
20
|
`--records <run-dir>` and `--policy <policy.json>` work with either format.
|
|
16
21
|
Replay grades disposable delivery copies using trusted local verifiers; it
|
|
17
22
|
does not call a model. An overridden policy is post-hoc and cannot authorize
|
|
@@ -24,8 +29,9 @@ already pin their run/bench and reject external records/bench overrides.
|
|
|
24
29
|
also shows the native audit status, separate acceptance decision, upgrade
|
|
25
30
|
eligibility and reasons. A statistical quality verdict is not an adoption
|
|
26
31
|
decision. `automaticUpgrade` remains false.
|
|
27
|
-
- A native directory without a final manifest shows
|
|
28
|
-
|
|
32
|
+
- A paired native directory without a final manifest shows retained stopped/
|
|
33
|
+
incomplete spending; the single-arm dispatch below handles calibration and
|
|
34
|
+
trigger sessions separately. It displays the stop reason when
|
|
29
35
|
available, retained costs, missing/invalid receipt counts and unknown coverage.
|
|
30
36
|
It does not fabricate a paired quality verdict or overwrite the run.
|
|
31
37
|
- A standalone historical manifest stays readable. Missing native evidence
|
|
@@ -47,3 +53,91 @@ Saved costs stay in their original final/partial/unknown populations. Reports do
|
|
|
47
53
|
not replace missing cache counts with zero or estimate unrecorded billing.
|
|
48
54
|
See [cost accounting](eval-costs.md), [input snapshots](evaluation-input-snapshots.md)
|
|
49
55
|
and [portable packages](replay-packages.md). Review project data before sharing.
|
|
56
|
+
|
|
57
|
+
## Calibration and trigger reports (source after npm 0.10.1)
|
|
58
|
+
|
|
59
|
+
Version 0.11.0 recognizes baseline calibration and trigger runs; the immutable
|
|
60
|
+
npm 0.10.1 archive is unchanged.
|
|
61
|
+
Markdown and JSON use the same read-only dispatcher:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
node dist/cli.js report eval ./runs/calibrate-my-bench
|
|
65
|
+
node dist/cli.js report eval ./runs/calibrate-my-bench/_calibration.json --json
|
|
66
|
+
node dist/cli.js report eval ./runs/trigger-my-skill
|
|
67
|
+
node dist/cli.js report eval ./runs/trigger-my-skill/manifest.json --json
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
| Saved result | JSON kind (schemaVersion 1) | Output |
|
|
71
|
+
| --- | --- | --- |
|
|
72
|
+
| Paired v4 manifest | `skillfit.eval-result` (unchanged) | Paired quality/cost observations, native audit and separate acceptance policy |
|
|
73
|
+
| Calibration `_calibration.json` | `skillfit.calibration-report` | `evaluationType: "calibration"`, baseline pass rate, task difficulty bands and available baseline receipt usage |
|
|
74
|
+
| Trigger v1 manifest (`mode: "trigger"`) | `skillfit.trigger-report` | `evaluationType: "trigger"`, recall, false-trigger rate, precision, F1, class breakdowns and detection coverage |
|
|
75
|
+
|
|
76
|
+
Calibration directories resolve `_calibration.json`, rather than requiring a
|
|
77
|
+
paired `manifest.json`. Both directories and explicit summary files work;
|
|
78
|
+
renamed standalone calibration summaries are recognized by their v1 shape.
|
|
79
|
+
Ambiguous directories containing both final summary types fail. An unrelated
|
|
80
|
+
schema-v1 file is never accepted as a paired experiment.
|
|
81
|
+
|
|
82
|
+
`status` follows consistent saved experiment/session metadata: `completed`,
|
|
83
|
+
`stopped` or `incomplete`. A summary without recorded session metadata is
|
|
84
|
+
`reported`, with unverified provenance. Missing final summaries are `stopped`
|
|
85
|
+
only when a saved session says stopped; otherwise they are `incomplete`, even
|
|
86
|
+
if a sidecar claims completion. Their `summary` is null: no final metrics are
|
|
87
|
+
invented. Present summaries must have valid counts and trial coverage; conflicts
|
|
88
|
+
with the saved session or native plan fail rather than being silently reclassified.
|
|
89
|
+
|
|
90
|
+
Calibration `summary.tasks` includes `passes`, `completed`, ungraded `errors`,
|
|
91
|
+
`passRate` and `difficulty`. Completed runs exclude execution errors. Bands match
|
|
92
|
+
the existing calibration protocol: pass rate >=90% is `saturated`, <=10% is
|
|
93
|
+
`floor`, otherwise `discriminative`; zero completed runs are `unmeasured` with
|
|
94
|
+
null pass rate. `summary.metrics` retains totals and measured/discriminative task
|
|
95
|
+
counts. Native `usage` shows available baseline receipt totals with
|
|
96
|
+
final/partial/unknown coverage, including unknown missing receipts; it is null
|
|
97
|
+
when no native invocation ledger is available. No per-success A/B change or bill
|
|
98
|
+
is inferred. Difficulty is not a measure of Skill benefit.
|
|
99
|
+
|
|
100
|
+
Trigger metrics are recomputed from retained task counts using the existing
|
|
101
|
+
formulas; provided aggregate fields must agree. Unknown detections and execution
|
|
102
|
+
errors stay separate and outside rate denominators. Zero denominators remain
|
|
103
|
+
null (`n/a`); recall, false-trigger rate and precision use Wilson 95% intervals.
|
|
104
|
+
F1 has no invented interval. Available `triggerClass` breakdowns, competition
|
|
105
|
+
mode, source warnings and the distinction between a `SKILL.md` read and a Skill
|
|
106
|
+
invocation stay visible. Historical input/output token aggregates are not a
|
|
107
|
+
complete cost population; absent cache/final-usage evidence remains unknown.
|
|
108
|
+
|
|
109
|
+
Standalone historical single-arm summaries return `evidence.verified: false`
|
|
110
|
+
with scope `saved-summary-only`. Version 0.11.0 can audit sealed native single-arm
|
|
111
|
+
receipts with scope `single-arm-native`; `evidence.verified` reports the actual
|
|
112
|
+
inventory/ledger/input/receipt check result. Both return `acceptance.decision: "inconclusive"`,
|
|
113
|
+
`eligibleForUpgrade: false`, `automaticUpgrade: false`. Parsing a consistent
|
|
114
|
+
summary is not a paired native audit, independent validation or adoption decision.
|
|
115
|
+
Verifying single-arm evidence does not establish an A/B effect. They do not enter the paired efficacy protocol. The existing request-based
|
|
116
|
+
revision component and paired report JSON contract remain unchanged.
|
|
117
|
+
|
|
118
|
+
`--policy` and external `--records` remain paired-report options. Sealed native
|
|
119
|
+
single-arm reports now accept `--replay` and an optional matching `--bench` only
|
|
120
|
+
with replay. Regrading uses disposable saved deliveries. Trigger discovery is
|
|
121
|
+
recomputed from retained observations, not a new Agent invocation. Changed
|
|
122
|
+
deliveries, fingerprints and verdicts fail verification. Calibration/trigger
|
|
123
|
+
exports retain the original compiled implementation and reject older runtimes
|
|
124
|
+
without single-arm replay support; see [portable packages](replay-packages.md).
|
|
125
|
+
Successful rendering exits 0; invalid human inputs exit 1, while invalid JSON
|
|
126
|
+
reports use the existing error envelope and exit 2. Saved input files are never
|
|
127
|
+
rewritten, and reading any of these reports makes zero model or agent CLI calls.
|
|
128
|
+
|
|
129
|
+
## Judge spending and stop reasons (source after npm 0.10.1)
|
|
130
|
+
|
|
131
|
+
Paired Markdown and JSON additionally show `invocationCosts`: separate primary,
|
|
132
|
+
judge and combined populations. The original Agent A/B quality and cost tables
|
|
133
|
+
remain unchanged. Successful, failed and interrupted judge orders have independent
|
|
134
|
+
receipts and final/partial/unknown usage. Missing historical judge usage stays
|
|
135
|
+
unknown. See [all executor roles](eval-costs.md#all-executor-roles-source-after-npm-0101).
|
|
136
|
+
|
|
137
|
+
Budget stops retain `session.stopCode` and safe reason text. Single-arm reports
|
|
138
|
+
show the same frozen `spendingBudget` limits/latest state as paired reports.
|
|
139
|
+
The native audit and any upgrade eligibility are separate decisions; all
|
|
140
|
+
single-arm, stopped and insufficient-evidence results remain ineligible.
|
|
141
|
+
The [single-arm schema](schemas/single-arm-report.schema.json) and
|
|
142
|
+
[calibration command schema](schemas/calibration-result.schema.json) describe
|
|
143
|
+
their machine envelopes.
|
|
@@ -9,6 +9,13 @@ See [interruption and retained records](evaluation-interruption.md). Forced
|
|
|
9
9
|
termination/power loss may prevent sealing. The same release enforces offline
|
|
10
10
|
case gates and seals project input copies before dispatch. See [sealed inputs](evaluation-input-snapshots.md).
|
|
11
11
|
|
|
12
|
+
Version 0.11.0 shares reviewed plans between ordinary paired eval and
|
|
13
|
+
Agent requests, including [budget/deadline/output controls](eval-planning.md).
|
|
14
|
+
Use `--json --dry-run` for a machine-readable ordinary plan. JSON execution
|
|
15
|
+
requires its hash and an explicit fresh group. Request `baselineSkill: null`
|
|
16
|
+
matches ordinary installed delivery without `--baseline-skill`; both keep
|
|
17
|
+
inherited configuration and cannot authorize revision adoption.
|
|
18
|
+
|
|
12
19
|
1. Prepare independent tasks from issue requirements and pinned bug/fix revisions. Keep the fix, grader and oracle outside trial workspaces. Run `bench check` offline and review its NOP, oracle and counterexample gates. The [lru-cache replay](../benches/contrib/oss-lru-cache/README.md) has three independently sourced failures; difficulty is initially unknown.
|
|
13
20
|
2. Dry-run baseline calibration with the input mode you will later evaluate. For the three-task replay: `skillfit bench check benches/contrib/oss-lru-cache --calibrate --agent codex --input workspace --trials 2 --max-calls 6 --dry-run`. Run without `--dry-run` only after reviewing the fixed plan. Keep saturated tasks as regression controls; repair broken graders/environments before interpreting a floor.
|
|
14
21
|
3. Declare a fresh paired run with the full Skill installed only in treatment: `skillfit eval <skill-dir> --mode installed --bench <bench-dir> --agent codex --trials 5 --max-calls <ceiling> --dry-run`. The declared count is tasks × trials × two arms, plus two judge calls per pair when enabled. The default ceiling equals the declared count. A lower ceiling rejects the entire plan; it never truncates tasks, retries errors, or adds replacement samples.
|
package/docs/first-real-eval.md
CHANGED
|
@@ -13,7 +13,7 @@ CLI coding runs can add `--input workspace` to work from files on disk without a
|
|
|
13
13
|
inline repository; use the same option for baseline calibration. Snapshot input
|
|
14
14
|
remains the compatible default.
|
|
15
15
|
|
|
16
|
-
For a new code-editing case,
|
|
16
|
+
For a new code-editing case, use `bench init my-bench --kind command`.
|
|
17
17
|
It creates a synthetic teaching fixture, independent verifier and reference
|
|
18
18
|
repair; this template is included in npm 0.10.0 and newer. Follow the
|
|
19
19
|
[starter walkthrough](bench-authoring.md#choose-a-starter), replace it with your
|
|
@@ -57,12 +57,41 @@ a controlled agent profile for the experiment and record its relevant global con
|
|
|
57
57
|
does not automatically remove the user's configuration. `doctor` and `report` are read-only aids,
|
|
58
58
|
but neither proves that an agent actually ignored a globally installed Skill during an eval.
|
|
59
59
|
|
|
60
|
+
Version 0.11.0 makes [Agent environment checks](eval-agent-preflight.md)
|
|
61
|
+
part of eval/calibration preview and the live gate. CLI absence, incompatible matrix capabilities
|
|
62
|
+
and global same-name Skills are explicit failures; login stays unknown without
|
|
63
|
+
network/authentication probes. Inspect the nested environment status even when a
|
|
64
|
+
dry run successfully generated a plan. Reports retain the original checks.
|
|
65
|
+
|
|
60
66
|
For Codex CLI, skillfit explicitly starts both paired and trigger trials with
|
|
61
67
|
`--sandbox workspace-write`. The agent can edit its disposable trial directory, which command-graded
|
|
62
68
|
tasks require. Check any extra writable roots in your Codex configuration before a run. Codex still
|
|
63
69
|
takes its model, reasoning level, and other settings from the active CLI configuration. Record those
|
|
64
70
|
settings alongside the manifest when comparing runs, and use the same configuration for both arms.
|
|
65
71
|
|
|
72
|
+
Version 0.11.0 supports an ordinary `--json --dry-run` plan and shared
|
|
73
|
+
budget, deadline, pair-order and output-group settings. For complete Skill
|
|
74
|
+
delivery use `--mode installed`; omitting `--baseline-skill` installs the Skill
|
|
75
|
+
only in treatment, matching an Agent request's explicit `baselineSkill: null`.
|
|
76
|
+
Use an explicit fresh `--run-group`, inspect `plan.sha256`, then pass that hash
|
|
77
|
+
with `--plan-sha` to execute JSON plans. See the [two-call budget example and
|
|
78
|
+
stop rules](eval-planning.md). A preview does not authorize spending, and a
|
|
79
|
+
no-Skill comparison cannot authorize revision adoption.
|
|
80
|
+
|
|
81
|
+
The same source supports a bounded baseline calibration before a paired study.
|
|
82
|
+
It measures task difficulty, not Skill benefit. For example, preview one selected
|
|
83
|
+
task with one call, without running the verifier, oracle or agent:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
node dist/cli.js bench check <bench-dir> --calibrate --agent codex --task <task-id> --input workspace --trials 1 --max-calls 1 --run-group calibration-001 --json --dry-run
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Inspect `plan.agentPreflight`, then confirm `plan.planSha256` with `--plan-sha`
|
|
90
|
+
and the same settings/group only after spending is authorized. Live calibration
|
|
91
|
+
runs the offline case gates first: hard failures block, unknown winnability and
|
|
92
|
+
warnings remain distinct. `--spending-budget` and
|
|
93
|
+
`--executor-timeout-seconds` also apply; see [shared planning](eval-planning.md).
|
|
94
|
+
|
|
66
95
|
## 3. Run, inspect, and share
|
|
67
96
|
|
|
68
97
|
```bash
|
|
@@ -89,8 +118,26 @@ that into a broad efficacy claim. The [metrics protocol](metrics.md) defines the
|
|
|
89
118
|
When the paired result is useful, run `--mode trigger` separately to ask whether the agent would
|
|
90
119
|
load the Skill on its own. Trigger mode has one arm and uses 5 trials per task by default. It does
|
|
91
120
|
not yet reproduce competition from the user's whole installed Skill set, so its recall is an
|
|
92
|
-
optimistic estimate. Share
|
|
93
|
-
|
|
121
|
+
optimistic estimate. Share paired and trigger results separately. Source after npm
|
|
122
|
+
0.10.1 reads both through `report eval`, with distinct JSON kinds and metrics;
|
|
123
|
+
calibration directories or `_calibration.json` also work. See [report types](evaluation-reports.md#calibration-and-trigger-reports-source-after-npm-0101).
|
|
124
|
+
Single-arm reports do not enter the paired acceptance policy or authorize upgrades.
|
|
125
|
+
|
|
126
|
+
In that source, trigger also supports `--json --dry-run`, repeated `--task`,
|
|
127
|
+
spending lines and a per-call deadline. Confirm its ordinary `plan.sha256` and
|
|
128
|
+
explicit fresh `--run-group` for JSON execution. Only selected labeled tasks
|
|
129
|
+
count toward calls; retain negative controls. Trigger already presents files on
|
|
130
|
+
disk, so omit `--input`. Calibration/trigger native runs can be audited through
|
|
131
|
+
`report eval`, replayed with `--replay` and exported to a fresh directory. This
|
|
132
|
+
reuses saved observations and trusted verifier code; it does not make the study
|
|
133
|
+
independent or query an agent again. Historical summaries or runtimes without
|
|
134
|
+
the required evidence/replay support cannot be upgraded by rendering them.
|
|
135
|
+
|
|
136
|
+
If you enable a judge for a paired inject experiment, the source records both
|
|
137
|
+
judge orders and separate Agent/judge/total invocation costs. Its calls consume
|
|
138
|
+
the same whole-batch spending lines. An explicitly enabled API judge with
|
|
139
|
+
missing credentials fails before calls; login validity remains unknown offline.
|
|
140
|
+
Read [cost coverage](eval-costs.md) before treating a known total as complete.
|
|
94
141
|
|
|
95
142
|
New trigger manifests record both the injectable-text hash and a separate full installed-file hash,
|
|
96
143
|
including scripts and binary resources. Keep the Skill directory unchanged while the experiment runs;
|
|
@@ -7,9 +7,11 @@ create a case, verify its acceptance checks, preview a small budget, then inspec
|
|
|
7
7
|
outcomes and complete spending. Bundled benches teach the format. Repeatedly
|
|
8
8
|
optimizing one external debugging Skill is not the product roadmap.
|
|
9
9
|
|
|
10
|
-
The
|
|
11
|
-
and [installed-feature replay](releases/0.10.
|
|
12
|
-
October 16 case workflow is complete.
|
|
10
|
+
The 0.10.1 release has a [verified registry installation](releases/0.10.1-verification.json)
|
|
11
|
+
and [installed-feature replay](releases/0.10.1-feature-smoke.json). The user-authorized
|
|
12
|
+
October 16 case workflow is complete. The October 17 source work extends the
|
|
13
|
+
basic workflow across calibration, trigger and judge runs; publication and final
|
|
14
|
+
verification are tracked separately. No live model calls were added or authorized
|
|
13
15
|
for this delivery.
|
|
14
16
|
|
|
15
17
|
## Available foundations
|
|
@@ -30,7 +32,8 @@ of the CLI's evidence gates, not a universal Skill benchmark.
|
|
|
30
32
|
|
|
31
33
|
## Delivery order
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Independent implementation and verification work may run in parallel. Dates are
|
|
36
|
+
work records, not timers or unattended execution.
|
|
34
37
|
The code-editing starter is merged in PR #24 and JSON checks in PR #25.
|
|
35
38
|
The October 16 delivery completes task selection, case management and portable
|
|
36
39
|
exports, with publication tracked separately from source and CI completion. PR #26 passed 600 offline tests and Linux/macOS/Windows CI.
|
|
@@ -49,13 +52,42 @@ Items 2–5 address basic usability gaps, not missing statistical methods.
|
|
|
49
52
|
Inspect existing APIs before implementation and avoid duplicating request preview,
|
|
50
53
|
report export, failure freezing or existing budget controls.
|
|
51
54
|
|
|
55
|
+
## October 17 source foundations (after npm 0.10.1)
|
|
56
|
+
|
|
57
|
+
| User need | Source behavior | Boundary |
|
|
58
|
+
| --- | --- | --- |
|
|
59
|
+
| Avoid paying for a broken calibration case | Hard offline gates and Agent environment checks before live calibration; recheck input/environment changes | Warnings and unknown evidence remain separate; authentication is unknown offline |
|
|
60
|
+
| Stop an independent case check | Ctrl+C/SIGTERM terminate verifier/oracle descendants and clean disposable copies | No artificial completed check or native run is created before dispatch |
|
|
61
|
+
| Use the same controls across modes | Calibration and trigger JSON previews/confirmation, task selection, call/spending limits and executor deadline | Calibration uses `plan.planSha256`; eval uses `plan.sha256`; neither single-arm mode proves paired benefit |
|
|
62
|
+
| Account for enabled judges | Per-invocation judge receipts and Agent/judge/combined costs; shared budget stops; missing API credentials fail explicitly | Historical missing usage remains unknown; no exact bill is inferred |
|
|
63
|
+
| Take supported results to another machine | Shared native audit, saved-delivery replay and portable export for calibration, trigger and new judge evidence | No new model calls/detections; historical missing receipts or runtime support cannot be invented |
|
|
64
|
+
|
|
65
|
+
See [planning](eval-planning.md), [interruption](evaluation-interruption.md),
|
|
66
|
+
[cost accounting](eval-costs.md), [report types](evaluation-reports.md) and
|
|
67
|
+
[portable packages](replay-packages.md). These are source features until a new
|
|
68
|
+
release is published and its installed package is checked. The statistical
|
|
69
|
+
protocol, dated evidence and automatic-upgrade prohibition are unchanged.
|
|
70
|
+
|
|
52
71
|
## Later decisions
|
|
53
72
|
|
|
54
|
-
The
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
73
|
+
The 0.10.1 release includes interruption cleanup, offline case preflight, sealed
|
|
74
|
+
inputs, API cache counts and shared paired report inputs. Source after that release
|
|
75
|
+
also reads calibration and trigger summaries through the public report dispatcher,
|
|
76
|
+
with their correct states/metrics and separate descriptive JSON kinds. See
|
|
77
|
+
[report types](evaluation-reports.md#calibration-and-trigger-reports-source-after-npm-0101).
|
|
78
|
+
This reporting correction adds no live calls or npm publication.
|
|
79
|
+
|
|
80
|
+
The same source line now shares ordinary/Agent paired plans, budget stop lines
|
|
81
|
+
and executor deadlines, with ordinary JSON preview/confirmation and explicit
|
|
82
|
+
no-Skill request baselines. [Shared planning](eval-planning.md) documents defaults,
|
|
83
|
+
frozen limits and unchanged adoption restrictions. Version 0.11.0 includes
|
|
84
|
+
these additions, with registry delivery tracked in its release record.
|
|
85
|
+
|
|
86
|
+
Source eval also performs [offline Agent environment preflight](eval-agent-preflight.md)
|
|
87
|
+
in preview and before dispatch: CLI availability, matrix compatibility, existing
|
|
88
|
+
same-name global Skill conflicts and unknown offline authentication. Checks are
|
|
89
|
+
sealed and preserved by reporting/replay without a new machine probe. This
|
|
90
|
+
source addition makes no live calls and is not yet in npm 0.10.1.
|
|
59
91
|
|
|
60
92
|
- Improve error messages based on actual failed case-authoring attempts.
|
|
61
93
|
- Verify Claude Code trigger capture when working authentication is available.
|
package/docs/metrics.md
CHANGED
|
@@ -8,6 +8,15 @@ Insufficient, stopped, synthetic or unverified evidence cannot authorize adoptio
|
|
|
8
8
|
the component never upgrades a Skill. Complete cost coverage is separate from
|
|
9
9
|
quality significance. All formulas and legacy manifest interpretations below remain unchanged.
|
|
10
10
|
|
|
11
|
+
Operational Agent preflight (version 0.11.0): eval preview and dispatch
|
|
12
|
+
check executable files, declared matrix capabilities and global same-name Skill
|
|
13
|
+
conflicts, keeping authentication explicitly unknown offline. Known failures
|
|
14
|
+
block before case probes, native run creation and calls. Sealed checks are
|
|
15
|
+
read as historical metadata during reporting/replay, not rerun on today's
|
|
16
|
+
machine. This adds no observations, environment isolation or adoption authority;
|
|
17
|
+
statistics, cost coverage and acceptance thresholds remain unchanged. See
|
|
18
|
+
[Agent environment preflight](eval-agent-preflight.md).
|
|
19
|
+
|
|
11
20
|
This document defines what skillfit measures and how verdicts are computed. It is the contract that
|
|
12
21
|
`src/harness/` implements and that bench authors design against. Changes here are deliberate: edit with a
|
|
13
22
|
reasoned PR, cite sources, and bump the date.
|
|
@@ -76,11 +85,22 @@ may overshoot. Missing/partial/invalid final usage or an execution/guard error
|
|
|
76
85
|
stops further calls and retains spent/unknown costs. There is no retry or
|
|
77
86
|
replacement. A final predeclared call with complete evidence may finish the
|
|
78
87
|
cohort at a line. Completed audits replay sealed before/after snapshots against
|
|
79
|
-
the chronological receipts.
|
|
88
|
+
the chronological receipts. Current source extends these stop lines to calibration,
|
|
89
|
+
trigger runs and both judge orders, retaining each role's usage and controlled
|
|
90
|
+
stop codes. This is
|
|
80
91
|
an operational stop rule, **not** an API hard cap, adoption threshold or new
|
|
81
92
|
statistical protocol; exclusions, formulas, policies and old records remain
|
|
82
93
|
unchanged. See [the component contract](eval-component.md#input-and-execution).
|
|
83
94
|
|
|
95
|
+
Entry-point alignment (version 0.11.0): ordinary paired eval and Agent
|
|
96
|
+
requests share effective plans, spending limits and primary executor deadlines.
|
|
97
|
+
Ordinary JSON execution requires preview confirmation; ordinary native plans
|
|
98
|
+
also seal and audit the reviewed parameters. Request `baselineSkill: null`
|
|
99
|
+
selects no harness-installed baseline Skill, preserving installation-benefit
|
|
100
|
+
measurements with `REVISION_COMPARISON_REQUIRED` and no revision adoption
|
|
101
|
+
eligibility. Existing path requests, evidence, statistics, exclusions and
|
|
102
|
+
acceptance policies keep their meaning. See [shared planning](eval-planning.md).
|
|
103
|
+
|
|
84
104
|
Environment correction (2026-10-14): new paired installed runs deliver the same
|
|
85
105
|
versioned native untracked-file diff helper and usage guidance to both arms.
|
|
86
106
|
Plans, source snapshots and delivered copies bind its content; mutation stops
|
|
@@ -131,8 +151,7 @@ A bench that cannot discriminate must not produce verdicts.
|
|
|
131
151
|
- **Floor**: warn when baseline pass rate ≤ 10% (implemented) — the task is too hard or broken, and
|
|
132
152
|
all-zero arms are equally uninformative.
|
|
133
153
|
- **Engagement sanity**: if the agent never engaged with the fixture, the executor errored, or the
|
|
134
|
-
verifier
|
|
135
|
-
the capture limit), the trial is excluded from rates and reported as an error, not a failure
|
|
154
|
+
verifier has a process/infrastructure error, the trial is excluded from rates and reported as an error, not a failure
|
|
136
155
|
(implemented). Non-engagement means the final message is empty or whitespace. For an output task
|
|
137
156
|
that message is the deliverable. For a command task the deliverable is the file edit, so an empty
|
|
138
157
|
message still counts when the disposable worktree differs from the fixture commit. Exclusion is *pairwise*: since
|
|
@@ -143,8 +162,26 @@ A bench that cannot discriminate must not produce verdicts.
|
|
|
143
162
|
environment errors before their executor starts; inherited disabled reflog is overridden only
|
|
144
163
|
in the disposable repository. This does not change the paired exclusion or verdict formulas.
|
|
145
164
|
|
|
165
|
+
Verifier correction (version 0.11.0): process errors include an
|
|
166
|
+
unspawnable command, no exit code, timeout and output overflow. Recognized
|
|
167
|
+
bench-owned Node uncaught exceptions and explicit `skillfit.verifier-error`
|
|
168
|
+
messages also represent no grade, even with a numeric exit code. The same
|
|
169
|
+
classification blocks offline NOP/oracle probes and rejects an errored replay.
|
|
170
|
+
Candidate-code failures, assertions and ordinary nonzero exits retain normal
|
|
171
|
+
task-failure semantics. Costs and raw diagnostics remain recorded; existing
|
|
172
|
+
pairwise exclusions, statistical formulas and acceptance thresholds are
|
|
173
|
+
unchanged. Historical receipts are not rewritten. See [verifier contract](verifier-contract.md).
|
|
174
|
+
|
|
146
175
|
## L1 — trigger quality (activation)
|
|
147
176
|
|
|
177
|
+
Operational reporting correction (version 0.11.0): `report eval`
|
|
178
|
+
dispatches paired, baseline-calibration and trigger summaries separately.
|
|
179
|
+
Calibration preserves recorded session status and existing >=90%/<=10%
|
|
180
|
+
difficulty bands. Trigger reports retain the existing count denominators, Wilson
|
|
181
|
+
intervals and unknown/error exclusions. Neither single-arm report enters paired
|
|
182
|
+
quality/adoption gates; no statistical formula or historical receipt changes.
|
|
183
|
+
See [report types](evaluation-reports.md#calibration-and-trigger-reports-source-after-npm-0101).
|
|
184
|
+
|
|
148
185
|
Paired installed-Skill runs may additionally record `skillReads` counts (`observed`,
|
|
149
186
|
`unobserved`, `unknown`) per arm, task and overall, with the **surviving graded pair**
|
|
150
187
|
denominator. These mechanical transcript observations are not trigger recall/precision and do
|