skillfit 0.15.0 → 0.15.2
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/CHANGELOG.md +58 -0
- package/README.md +76 -33
- package/README.zh-CN.md +75 -32
- package/benches/README.md +1 -1
- package/dist/agents/accounting.js +27 -10
- package/dist/agents/adapters/api.js +59 -32
- package/dist/agents/adapters/cli.js +208 -111
- package/dist/agents/adapters/codex-usage.js +51 -25
- package/dist/agents/adapters/kimi-usage.js +23 -16
- package/dist/agents/call-budget.js +67 -33
- package/dist/agents/call-limits.js +11 -7
- package/dist/agents/contracts.js +2 -2
- package/dist/agents/environment.js +46 -22
- package/dist/agents/execution.js +32 -19
- package/dist/agents/health.js +88 -66
- package/dist/agents/installed-skills.js +28 -9
- package/dist/agents/matrix.js +5 -3
- package/dist/agents/mcp-probe.js +157 -146
- package/dist/agents/observation/model-identity.js +96 -49
- package/dist/agents/observation/trigger-contract.js +40 -21
- package/dist/agents/observation/trigger-detection.js +100 -61
- package/dist/agents/preflight-contract.js +40 -20
- package/dist/agents/preflight.js +136 -70
- package/dist/agents/session-observation.js +39 -29
- package/dist/agents/timeout.js +14 -6
- package/dist/bench/authoring.js +320 -201
- package/dist/bench/claims.js +6 -3
- package/dist/bench/constants.js +1 -1
- package/dist/bench/controls.js +123 -91
- package/dist/bench/diagnostics.js +57 -24
- package/dist/bench/draft.js +133 -68
- package/dist/bench/gates/check.js +79 -69
- package/dist/bench/gates/error.js +26 -17
- package/dist/bench/gates/summary.js +7 -7
- package/dist/bench/gates/timeout.js +2 -2
- package/dist/bench/gates/verifier.js +12 -5
- package/dist/bench/location.js +18 -10
- package/dist/bench/output-layout.js +5 -5
- package/dist/bench/read.js +74 -42
- package/dist/bench/scope.js +56 -34
- package/dist/bench/source.js +32 -20
- package/dist/bench/templates.js +30 -22
- package/dist/cli/bench-check-report.js +34 -10
- package/dist/cli/bench-manage.js +6 -6
- package/dist/cli/bench.js +45 -38
- package/dist/cli/confirm.js +3 -3
- package/dist/cli/definition.js +172 -114
- package/dist/cli/doctor.js +14 -14
- package/dist/cli/eval-cli.js +3 -3
- package/dist/cli/eval-component.js +21 -7
- package/dist/cli/eval-display.js +66 -55
- package/dist/cli/eval-plan.js +7 -2
- package/dist/cli/eval-report.js +114 -83
- package/dist/cli/eval-single-arm-report.js +53 -33
- package/dist/cli/eval.js +2 -2
- package/dist/cli/evaluation-host.js +5 -5
- package/dist/cli/evaluation-report.js +1 -1
- package/dist/cli/main.js +350 -196
- package/dist/cli/mcp.js +7 -7
- package/dist/cli/report.js +40 -17
- package/dist/cli/trigger-summary.js +23 -23
- package/dist/cli.js +1 -1
- package/dist/commands/bench-draft.test.js +226 -96
- package/dist/commands/bench-source.test.js +70 -53
- package/dist/commands/bench.js +1 -1
- package/dist/commands/bundle.js +1 -1
- package/dist/commands/eval-api-failure.test.js +61 -28
- package/dist/commands/eval-cli.js +1 -1
- package/dist/commands/eval-export.js +1 -1
- package/dist/commands/eval-layout.test.js +148 -70
- package/dist/commands/eval-single-arm-replay.js +1 -1
- package/dist/commands/eval.js +1 -1
- package/dist/commands/evaluation-report.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/composition.js +41 -20
- package/dist/configuration/bundle.js +109 -89
- package/dist/configuration/constants.js +1 -1
- package/dist/configuration/install.js +184 -112
- package/dist/configuration/setup.js +64 -41
- package/dist/configuration/transaction.js +13 -11
- package/dist/configuration/upstream.js +61 -43
- package/dist/evaluation/application/calibration.js +231 -85
- package/dist/evaluation/application/evaluation.js +166 -56
- package/dist/evaluation/application/export.js +107 -67
- package/dist/evaluation/application/planning.js +289 -114
- package/dist/evaluation/application/preflight-error.js +11 -4
- package/dist/evaluation/application/preflight.js +54 -21
- package/dist/evaluation/application/read.js +1 -1
- package/dist/evaluation/application/request.js +45 -21
- package/dist/evaluation/application/self-test.js +188 -75
- package/dist/evaluation/execution/activation.js +91 -65
- package/dist/evaluation/execution/budget.js +20 -9
- package/dist/evaluation/execution/control-executor.js +34 -16
- package/dist/evaluation/execution/interrupted.js +2 -2
- package/dist/evaluation/execution/judge.js +51 -26
- package/dist/evaluation/execution/mock-executor.js +7 -7
- package/dist/evaluation/execution/paired.js +104 -72
- package/dist/evaluation/execution/prompt.js +21 -15
- package/dist/evaluation/measurement/acceptance.js +143 -68
- package/dist/evaluation/measurement/costs.js +39 -29
- package/dist/evaluation/measurement/efficiency.js +51 -18
- package/dist/evaluation/measurement/invocation-costs.js +50 -29
- package/dist/evaluation/measurement/judge-protocol.js +16 -18
- package/dist/evaluation/measurement/paired-contract.js +4 -3
- package/dist/evaluation/measurement/policy.js +48 -31
- package/dist/evaluation/measurement/report.js +51 -43
- package/dist/evaluation/measurement/scope.js +25 -7
- package/dist/evaluation/measurement/statistics.js +7 -3
- package/dist/evaluation/measurement/trial-summary.js +20 -12
- package/dist/evaluation/measurement/trigger-summary.js +1 -1
- package/dist/evaluation/records/assess.js +4 -2
- package/dist/evaluation/records/audit.js +336 -202
- package/dist/evaluation/records/contracts.js +44 -21
- package/dist/evaluation/records/formats.js +36 -19
- package/dist/evaluation/records/input-snapshot.js +88 -53
- package/dist/evaluation/records/judge-audit.js +37 -31
- package/dist/evaluation/records/manifest.js +302 -223
- package/dist/evaluation/records/model-identity.js +39 -29
- package/dist/evaluation/records/read.js +122 -42
- package/dist/evaluation/records/replay-package.js +81 -48
- package/dist/evaluation/records/session.js +200 -93
- package/dist/evaluation/records/single-arm-audit.js +313 -195
- package/dist/evaluation/records/single-arm-read.js +235 -112
- package/dist/evaluation/targets/native-diff.js +22 -13
- package/dist/evaluation/targets/output-layout.js +6 -6
- package/dist/evaluation/targets/skill.js +16 -13
- package/dist/evaluation/targets/workspace.js +19 -19
- package/dist/harness/bench-location.test.js +21 -21
- package/dist/harness/executors/cli.js +1 -1
- package/dist/harness/hash.js +1 -1
- package/dist/harness/interruption.js +1 -1
- package/dist/harness/replay-package.js +1 -1
- package/dist/harness/single-arm-audit.js +1 -1
- package/dist/harness/verifier-timeout.test.js +63 -32
- package/dist/matrix/agents.json +29 -6
- package/dist/matrix/agents.schema.json +17 -3
- package/dist/resources/experiment.js +18 -16
- package/dist/resources/frontmatter.js +6 -6
- package/dist/resources/installed-skill.js +32 -22
- package/dist/resources/skill.js +10 -10
- package/dist/shared/backup.js +1 -1
- package/dist/shared/cancellation.js +10 -4
- package/dist/shared/command.js +8 -7
- package/dist/shared/digest.js +2 -2
- package/dist/shared/hash.js +9 -9
- package/dist/shared/input-directories.js +6 -5
- package/dist/shared/json.js +10 -6
- package/dist/shared/local-files.js +8 -10
- package/dist/shared/output-path.js +4 -4
- package/dist/shared/package-root.js +7 -5
- package/dist/shared/process-tree.js +20 -14
- package/dist/shared/process.js +20 -15
- package/dist/shared/read-json.js +3 -3
- package/dist/shared/timing.js +22 -11
- package/dist/shared/version.js +3 -3
- package/dist/usage/receipts.js +41 -27
- package/docs/README.md +6 -6
- package/docs/assets/skillfit-report.svg +17 -0
- package/docs/guides/bench-authoring.md +1 -1
- package/docs/guides/first-real-eval.md +16 -0
- package/docs/maintainers/architecture.md +3 -3
- package/docs/maintainers/releases.md +5 -0
- package/docs/reference/evaluation-reports.md +3 -1
- package/docs/reference/metrics.md +1 -1
- package/package.json +9 -4
- package/skills/skillfit/SKILL.md +14 -15
- package/tools/verify/recipes/0.11.0-feature-smoke.mjs +491 -140
- package/tools/verify/recipes/release-docs-smoke.mjs +38 -21
- package/tools/verify/recipes/release-feature-smoke.mjs +190 -90
- package/benches/contrib/README.md +0 -73
- package/benches/contrib/oss-lru-cache/README.md +0 -27
- package/benches/contrib/oss-lru-cache/bench.json +0 -37
- package/benches/contrib/oss-lru-cache/provenance.json +0 -62
- package/benches/contrib/oss-lru-cache/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/README.md +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/index.js +0 -1044
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/package.json +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/test.mjs +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/prompt.md +0 -5
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/answer.md +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/index.js +0 -1053
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/oracle.mjs +0 -8
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/verify.mjs +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/LICENSE.md +0 -55
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/README.md +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/package.json +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-browser.ts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-cjs.cts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-esm.mts +0 -29
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-node.ts +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel.ts +0 -6
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/index.ts +0 -3148
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/perf.ts +0 -17
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/test.mjs +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/prompt.md +0 -5
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/LICENSE.md +0 -55
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/answer.md +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/oracle.mjs +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-browser.ts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-cjs.cts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-esm.mts +0 -29
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-node.ts +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel.ts +0 -6
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/index.ts +0 -3174
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/perf.ts +0 -17
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/verify.mjs +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/README.md +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/index.js +0 -1028
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/package.json +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/test.mjs +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/prompt.md +0 -5
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/answer.md +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/index.js +0 -1028
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/oracle.mjs +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/verify.mjs +0 -3
- package/benches/contrib/oss-lru-cache/verifiers/cases.mjs +0 -74
- package/benches/contrib/oss-lru-cache/verifiers/oracle.mjs +0 -9
- package/benches/contrib/oss-lru-cache/verifiers/probe.mjs +0 -14
- package/benches/contrib/oss-lru-cache/verifiers/shared.mjs +0 -131
- package/benches/contrib/oss-lru-cache/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-mcp-use-utf8/LICENSE.upstream +0 -21
- package/benches/contrib/oss-mcp-use-utf8/README.md +0 -57
- package/benches/contrib/oss-mcp-use-utf8/bench.json +0 -16
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/LICENSE +0 -21
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/package.json +0 -3
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/src/ext-apps-bridge.js +0 -3
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/src/resolve-view-resource.ts +0 -96
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/test/basic.test.mjs +0 -13
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/prompt.md +0 -8
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/README.md +0 -5
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/oracle.mjs +0 -11
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/solutions/view-utf8/src/resolve-view-resource.ts +0 -96
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/solutions/view-utf8/test/utf8.regression.test.mjs +0 -14
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/verify.mjs +0 -120
- package/benches/contrib/oss-minipass/README.md +0 -32
- package/benches/contrib/oss-minipass/bench.json +0 -43
- package/benches/contrib/oss-minipass/provenance.json +0 -87
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/README.md +0 -717
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/index.js +0 -615
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/async-end/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/async-end/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/reference/README.md +0 -717
- package/benches/contrib/oss-minipass/tasks/async-end/reference/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/async-end/reference/index.js +0 -622
- package/benches/contrib/oss-minipass/tasks/async-end/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/async-end/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/reference/regression.test.mjs +0 -10
- package/benches/contrib/oss-minipass/tasks/async-end/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/async-end/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/async-end/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/index.js +0 -594
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/buffered-readable/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/index.js +0 -596
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/regression.test.mjs +0 -9
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/buffered-readable/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/README.md +0 -205
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/UPSTREAM.package.json +0 -34
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/index.js +0 -415
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/end-listeners/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/README.md +0 -205
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/UPSTREAM.package.json +0 -34
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/index.js +0 -407
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/regression.test.mjs +0 -9
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/end-listeners/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/index.js +0 -538
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/pipeline-order/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/index.js +0 -545
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/regression.test.mjs +0 -19
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/pipeline-order/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/upstream/async-end.patch +0 -83
- package/benches/contrib/oss-minipass/upstream/buffered-readable.patch +0 -79
- package/benches/contrib/oss-minipass/upstream/end-listeners.patch +0 -77
- package/benches/contrib/oss-minipass/upstream/pipeline-order.patch +0 -173
- package/benches/contrib/oss-minipass/verifiers/cases.mjs +0 -88
- package/benches/contrib/oss-minipass/verifiers/grade.mjs +0 -35
- package/benches/contrib/oss-minipass/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-minipass/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-minipass/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-normalize-url/README.md +0 -31
- package/benches/contrib/oss-normalize-url/bench.json +0 -16
- package/benches/contrib/oss-normalize-url/provenance.json +0 -41
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/index.d.ts +0 -303
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/index.js +0 -285
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/license +0 -9
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/package.json +0 -57
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/readme.md +0 -312
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/test.js +0 -427
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/test.mjs +0 -4
- package/benches/contrib/oss-normalize-url/tasks/query-shape/prompt.md +0 -7
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/index.js +0 -294
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/license +0 -9
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/oracle.mjs +0 -7
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/query-shape.md +0 -12
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/query-shape.regression.test.mjs +0 -6
- package/benches/contrib/oss-normalize-url/tasks/query-shape/verify.mjs +0 -40
- package/benches/contrib/oss-normalize-url/verifiers/cases.mjs +0 -26
- package/benches/contrib/oss-normalize-url/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-skill-followup/README.md +0 -54
- package/benches/contrib/oss-skill-followup/bench.json +0 -79
- package/benches/contrib/oss-skill-followup/provenance.json +0 -730
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/LICENSE +0 -11
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/README.md +0 -61
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/index.js +0 -93
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/upstream-package.json +0 -47
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/index.js +0 -97
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/LICENSE +0 -21
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/README.md +0 -69
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/index.js +0 -70
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/upstream-package.json +0 -27
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/index.js +0 -72
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/LICENSE +0 -23
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/README.md +0 -46
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/index.js +0 -56
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/upstream-package.json +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/index.js +0 -56
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/LICENSE +0 -24
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/README.md +0 -469
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/index.js +0 -1645
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/upstream-package.json +0 -86
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/index.js +0 -1643
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/LICENSE +0 -24
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/README.md +0 -470
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/index.js +0 -1676
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/upstream-package.json +0 -86
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/index.js +0 -1676
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/LICENSE +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/README.md +0 -136
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/index.js +0 -153
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/upstream-package.json +0 -53
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/index.js +0 -155
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/LICENSE +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/README.md +0 -92
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/index.js +0 -57
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/upstream-package.json +0 -53
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/index.js +0 -57
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/LICENSE +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/README.md +0 -102
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/index.js +0 -117
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/upstream-package.json +0 -53
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/index.js +0 -112
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/verifiers/cases.mjs +0 -214
- package/benches/contrib/oss-skill-followup/verifiers/grade.mjs +0 -35
- package/benches/contrib/oss-skill-followup/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-skill-followup/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-skill-followup/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-skill-independent/README.md +0 -61
- package/benches/contrib/oss-skill-independent/bench.json +0 -79
- package/benches/contrib/oss-skill-independent/provenance.json +0 -1903
- package/benches/contrib/oss-skill-independent/task-specs.json +0 -63
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/Readme.md +0 -1015
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/esm.mjs +0 -15
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/index.js +0 -27
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/argument.js +0 -147
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/command.js +0 -1944
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/error.js +0 -45
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/help.js +0 -396
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/option.js +0 -208
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/suggestSimilar.js +0 -100
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/package.json +0 -63
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/typings/index.d.ts +0 -774
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/typings/index.test-d.ts +0 -416
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/upstream-package.json +0 -69
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/Readme.md +0 -1015
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/esm.mjs +0 -15
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/index.js +0 -27
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/argument.js +0 -147
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/command.js +0 -1948
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/error.js +0 -45
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/help.js +0 -396
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/option.js +0 -208
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/suggestSimilar.js +0 -100
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/package.json +0 -63
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/typings/index.d.ts +0 -774
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/typings/index.test-d.ts +0 -416
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/upstream-package.json +0 -69
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/Readme.md +0 -1149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/esm.mjs +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/index.js +0 -24
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/argument.js +0 -149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/command.js +0 -2662
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/error.js +0 -39
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/help.js +0 -713
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/option.js +0 -367
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/suggestSimilar.js +0 -101
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/package.json +0 -71
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/esm.d.mts +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/index.d.ts +0 -1045
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/index.test-d.ts +0 -737
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/upstream-package.json +0 -82
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/Readme.md +0 -1149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/esm.mjs +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/index.js +0 -24
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/argument.js +0 -149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/command.js +0 -2666
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/error.js +0 -39
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/help.js +0 -713
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/option.js +0 -367
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/suggestSimilar.js +0 -101
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/package.json +0 -71
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/esm.d.mts +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/index.d.ts +0 -1045
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/index.test-d.ts +0 -737
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/upstream-package.json +0 -82
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/index.d.ts +0 -40
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/index.js +0 -68
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/package.json +0 -54
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/readme.md +0 -99
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/upstream-package.json +0 -54
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/index.js +0 -67
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/package.json +0 -46
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/async-hooks-stub.js +0 -15
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/index.d.ts +0 -40
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/index.js +0 -71
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/package.json +0 -61
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/readme.md +0 -99
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/regression.test.mjs +0 -6
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/upstream-package.json +0 -54
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/index.js +0 -67
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/package.json +0 -46
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/index.js +0 -132
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/package.json +0 -57
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/readme.md +0 -181
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/upstream-package.json +0 -58
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/index.js +0 -84
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/index.js +0 -148
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/package.json +0 -57
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/readme.md +0 -181
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/upstream-package.json +0 -58
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/index.js +0 -84
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/index.js +0 -116
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/readme.md +0 -170
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/upstream-package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/index.js +0 -121
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/readme.md +0 -170
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/regression.test.mjs +0 -6
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/upstream-package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/index.d.ts +0 -149
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/index.js +0 -93
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/readme.md +0 -192
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/upstream-package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/index.d.ts +0 -149
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/index.js +0 -95
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/readme.md +0 -192
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/upstream-package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/index.js +0 -114
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/readme.md +0 -158
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/upstream-package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/index.js +0 -114
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/readme.md +0 -158
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/upstream-package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/index.js +0 -122
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/upstream-package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/index.js +0 -122
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/upstream-package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/verifiers/cases.mjs +0 -197
- package/benches/contrib/oss-skill-independent/verifiers/grade.mjs +0 -48
- package/benches/contrib/oss-skill-independent/verifiers/probe.mjs +0 -16
- package/benches/contrib/oss-skill-independent/verifiers/regression-evidence.mjs +0 -105
- package/benches/contrib/oss-skill-independent/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-skill-validation/README.md +0 -33
- package/benches/contrib/oss-skill-validation/bench.json +0 -79
- package/benches/contrib/oss-skill-validation/provenance.json +0 -119
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/index.js +0 -281
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/readme.md +0 -169
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/index.js +0 -281
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/readme.md +0 -169
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/index.js +0 -661
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/readme.md +0 -404
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/index.js +0 -663
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/readme.md +0 -404
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/index.js +0 -288
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/index.js +0 -293
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/index.js +0 -283
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/index.js +0 -284
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/index.js +0 -300
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-close/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/index.js +0 -310
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-close/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/index.js +0 -293
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-error/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/index.js +0 -292
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-error/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/index.js +0 -261
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/index.js +0 -265
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/index.js +0 -261
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/index.js +0 -261
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/upstream/async-concurrency.patch +0 -77
- package/benches/contrib/oss-skill-validation/upstream/cold-thenable.patch +0 -162
- package/benches/contrib/oss-skill-validation/upstream/consumer-stop.patch +0 -217
- package/benches/contrib/oss-skill-validation/upstream/mapper-index.patch +0 -48
- package/benches/contrib/oss-skill-validation/upstream/source-close.patch +0 -179
- package/benches/contrib/oss-skill-validation/upstream/source-error.patch +0 -132
- package/benches/contrib/oss-skill-validation/upstream/ttl-duration.patch +0 -73
- package/benches/contrib/oss-skill-validation/upstream/ttl-refresh.patch +0 -41
- package/benches/contrib/oss-skill-validation/verifiers/cases.mjs +0 -111
- package/benches/contrib/oss-skill-validation/verifiers/grade.mjs +0 -35
- package/benches/contrib/oss-skill-validation/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-skill-validation/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-skill-validation/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/waza-behavior/LICENSE.upstream +0 -21
- package/benches/contrib/waza-behavior/README.md +0 -36
- package/benches/contrib/waza-behavior/bench.json +0 -34
- package/benches/contrib/waza-behavior/tasks/explicit-hold/fixture/README.md +0 -1
- package/benches/contrib/waza-behavior/tasks/explicit-hold/fixture/notes.txt +0 -1
- package/benches/contrib/waza-behavior/tasks/explicit-hold/prompt.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/README.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/docs/guide.md +0 -2
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/notes.txt +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/scripts/check-links.mjs +0 -16
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/validation-receipt.json +0 -10
- package/benches/contrib/waza-behavior/tasks/receipt-current/prompt.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/README.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/docs/guide.md +0 -3
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/notes.txt +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/scripts/check-links.mjs +0 -16
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/validation-receipt.json +0 -10
- package/benches/contrib/waza-behavior/tasks/receipt-stale/prompt.md +0 -1
- package/benches/contrib/waza-behavior/verifiers/behavior.mjs +0 -59
- package/benches/contrib/waza-behavior/verifiers/oracle.mjs +0 -24
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { SAVED_FORMATS } from
|
|
2
|
-
import { parseMeasurementScope, requestedClaimFor, assertBenchClaimSupported } from "../measurement/scope.js";
|
|
1
|
+
import { SAVED_FORMATS } from "./formats.js";
|
|
2
|
+
import { parseMeasurementScope, requestedClaimFor, assertBenchClaimSupported, } from "../measurement/scope.js";
|
|
3
3
|
import { parseModelIdentities } from "../../agents/observation/model-identity.js";
|
|
4
4
|
import { verdictFor } from "../measurement/report.js";
|
|
5
5
|
import { mcnemarExactP } from "../measurement/statistics.js";
|
|
6
6
|
import { validateSkillInstallDir } from "../targets/skill.js";
|
|
7
|
-
import { assertCostTotals, COST_METRICS } from "../measurement/costs.js";
|
|
7
|
+
import { assertCostTotals, COST_METRICS, } from "../measurement/costs.js";
|
|
8
8
|
import { parseInvocationCosts } from "../measurement/invocation-costs.js";
|
|
9
9
|
/** A diagnostic for the legacy zero-mass pattern, not proof of a record's provenance. */
|
|
10
10
|
export class RecordedStatisticsNumericError extends Error {
|
|
11
11
|
details;
|
|
12
|
-
code =
|
|
12
|
+
code = "RECORDED_STATISTICS_NUMERIC_ERROR";
|
|
13
13
|
constructor(details) {
|
|
14
14
|
super(`RECORDED_STATISTICS_NUMERIC_ERROR: recorded McNemar p=${details.recorded.mcnemarP} (${details.recorded.verdict}) is consistent with legacy numerical underflow, but stable recomputation gives p=${details.computed.mcnemarP} (${details.computed.verdict}). Preserve the original record and pinned runtime; save corrections separately. No adoption is authorized.`);
|
|
15
15
|
this.details = details;
|
|
16
|
-
this.name =
|
|
16
|
+
this.name = "RecordedStatisticsNumericError";
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
function object(value, label) {
|
|
20
|
-
if (typeof value !==
|
|
20
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
21
21
|
throw new Error(`${label} must be an object`);
|
|
22
22
|
}
|
|
23
23
|
return value;
|
|
24
24
|
}
|
|
25
25
|
function string(value, label) {
|
|
26
|
-
if (typeof value !==
|
|
26
|
+
if (typeof value !== "string" || value.trim() === "")
|
|
27
27
|
throw new Error(`${label} must be a non-empty string`);
|
|
28
28
|
return value;
|
|
29
29
|
}
|
|
30
30
|
function number(value, label, min = -Infinity, max = Infinity) {
|
|
31
|
-
if (typeof value !==
|
|
31
|
+
if (typeof value !== "number" || !Number.isFinite(value) || value < min || value > max) {
|
|
32
32
|
throw new Error(`${label} must be a finite number between ${min} and ${max}`);
|
|
33
33
|
}
|
|
34
34
|
return value;
|
|
@@ -46,7 +46,7 @@ function hash(value, label) {
|
|
|
46
46
|
return result;
|
|
47
47
|
}
|
|
48
48
|
function verdict(value, label) {
|
|
49
|
-
if (value !==
|
|
49
|
+
if (value !== "effective" && value !== "ineffective" && value !== "inconclusive") {
|
|
50
50
|
throw new Error(`${label} must be effective, ineffective, or inconclusive`);
|
|
51
51
|
}
|
|
52
52
|
return value;
|
|
@@ -54,56 +54,76 @@ function verdict(value, label) {
|
|
|
54
54
|
function experiment(value) {
|
|
55
55
|
if (value === undefined)
|
|
56
56
|
return null;
|
|
57
|
-
const item = object(value,
|
|
58
|
-
if (item[
|
|
59
|
-
throw new Error(
|
|
60
|
-
const status = item[
|
|
61
|
-
if (status !==
|
|
62
|
-
throw new Error(
|
|
63
|
-
const plannedCalls = integer(item[
|
|
64
|
-
const maxCalls = integer(item[
|
|
65
|
-
const callsStarted = integer(item[
|
|
66
|
-
const callsFinished = integer(item[
|
|
67
|
-
const stopReason = item[
|
|
68
|
-
if (item[
|
|
69
|
-
|
|
57
|
+
const item = object(value, "experiment");
|
|
58
|
+
if (item["schemaVersion"] !== 1)
|
|
59
|
+
throw new Error("experiment.schemaVersion must be 1");
|
|
60
|
+
const status = item["status"];
|
|
61
|
+
if (status !== "completed" && status !== "stopped" && status !== "incomplete")
|
|
62
|
+
throw new Error("experiment.status must be completed, stopped, or incomplete");
|
|
63
|
+
const plannedCalls = integer(item["plannedCalls"], "experiment.plannedCalls", 1);
|
|
64
|
+
const maxCalls = integer(item["maxCalls"], "experiment.maxCalls", 1);
|
|
65
|
+
const callsStarted = integer(item["callsStarted"], "experiment.callsStarted");
|
|
66
|
+
const callsFinished = integer(item["callsFinished"], "experiment.callsFinished");
|
|
67
|
+
const stopReason = item["stopReason"] === null ? null : string(item["stopReason"], "experiment.stopReason");
|
|
68
|
+
if (item["stopCode"] !== undefined &&
|
|
69
|
+
!["EXECUTION_FAILED", "FINAL_USAGE_MISSING", "SPENDING_BUDGET_REACHED"].includes(String(item["stopCode"])))
|
|
70
|
+
throw new Error("Invalid experiment.stopCode");
|
|
70
71
|
if (![plannedCalls, maxCalls, callsStarted, callsFinished].every(Number.isSafeInteger) ||
|
|
71
|
-
maxCalls < plannedCalls ||
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
(status ===
|
|
75
|
-
|
|
72
|
+
maxCalls < plannedCalls ||
|
|
73
|
+
callsStarted > plannedCalls ||
|
|
74
|
+
callsFinished > callsStarted ||
|
|
75
|
+
(status === "completed" && (stopReason !== null || callsFinished !== plannedCalls)) ||
|
|
76
|
+
(status === "stopped" && stopReason === null) ||
|
|
77
|
+
(status === "incomplete" && (stopReason !== null || callsFinished === plannedCalls))) {
|
|
78
|
+
throw new Error("experiment status, call counts, ceiling, and stop reason contradict each other");
|
|
76
79
|
}
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
return {
|
|
81
|
+
schemaVersion: 1,
|
|
82
|
+
status,
|
|
83
|
+
plannedCalls,
|
|
84
|
+
maxCalls,
|
|
85
|
+
callsStarted,
|
|
86
|
+
callsFinished,
|
|
87
|
+
stopReason,
|
|
88
|
+
planSha256: hash(item["planSha256"], "experiment.planSha256"),
|
|
89
|
+
...(item["stopCode"] === undefined
|
|
90
|
+
? {}
|
|
91
|
+
: { stopCode: item["stopCode"] }),
|
|
92
|
+
};
|
|
80
93
|
}
|
|
81
94
|
function counts(value, label) {
|
|
82
95
|
const item = object(value, label);
|
|
83
|
-
const passes = integer(item[
|
|
84
|
-
const trials = integer(item[
|
|
85
|
-
const errors = integer(item[
|
|
96
|
+
const passes = integer(item["passes"], `${label}.passes`);
|
|
97
|
+
const trials = integer(item["trials"], `${label}.trials`);
|
|
98
|
+
const errors = integer(item["errors"], `${label}.errors`);
|
|
86
99
|
if (passes > trials)
|
|
87
100
|
throw new Error(`${label}.passes cannot exceed trials`);
|
|
88
|
-
const meanScore = item[
|
|
89
|
-
? null
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
const meanScore = item["meanScore"] === undefined || item["meanScore"] === null
|
|
102
|
+
? null
|
|
103
|
+
: number(item["meanScore"], `${label}.meanScore`, 0, 1);
|
|
104
|
+
const rawTokens = item["tokens"] === undefined || item["tokens"] === null
|
|
105
|
+
? null
|
|
106
|
+
: object(item["tokens"], `${label}.tokens`);
|
|
107
|
+
const tokens = rawTokens === null
|
|
108
|
+
? null
|
|
109
|
+
: {
|
|
110
|
+
input: number(rawTokens["input"], `${label}.tokens.input`, 0),
|
|
111
|
+
output: number(rawTokens["output"], `${label}.tokens.output`, 0),
|
|
112
|
+
};
|
|
113
|
+
const rawCoverage = item["tokenCoverage"] === undefined
|
|
114
|
+
? null
|
|
115
|
+
: object(item["tokenCoverage"], `${label}.tokenCoverage`);
|
|
116
|
+
const tokenCoverage = rawCoverage === null
|
|
117
|
+
? null
|
|
118
|
+
: {
|
|
119
|
+
input: integer(rawCoverage["input"], `${label}.tokenCoverage.input`),
|
|
120
|
+
output: integer(rawCoverage["output"], `${label}.tokenCoverage.output`),
|
|
121
|
+
};
|
|
102
122
|
if (tokenCoverage && (tokenCoverage.input > trials || tokenCoverage.output > trials)) {
|
|
103
123
|
throw new Error(`${label}.tokenCoverage cannot exceed graded trials`);
|
|
104
124
|
}
|
|
105
125
|
if (tokenCoverage) {
|
|
106
|
-
for (const field of [
|
|
126
|
+
for (const field of ["input", "output"]) {
|
|
107
127
|
if ((tokenCoverage[field] > 0 && tokens === null) ||
|
|
108
128
|
(tokenCoverage[field] === 0 && tokens !== null && tokens[field] !== 0)) {
|
|
109
129
|
throw new Error(`${label}.tokenCoverage contradicts its recorded tokens`);
|
|
@@ -112,12 +132,14 @@ function counts(value, label) {
|
|
|
112
132
|
}
|
|
113
133
|
if (meanScore !== null && trials === 0)
|
|
114
134
|
throw new Error(`${label}.meanScore requires graded trials`);
|
|
115
|
-
const rawReads = item[
|
|
116
|
-
const skillReads = rawReads === null
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
135
|
+
const rawReads = item["skillReads"] === undefined ? null : object(item["skillReads"], `${label}.skillReads`);
|
|
136
|
+
const skillReads = rawReads === null
|
|
137
|
+
? null
|
|
138
|
+
: {
|
|
139
|
+
observed: integer(rawReads["observed"], `${label}.skillReads.observed`),
|
|
140
|
+
unobserved: integer(rawReads["unobserved"], `${label}.skillReads.unobserved`),
|
|
141
|
+
unknown: integer(rawReads["unknown"], `${label}.skillReads.unknown`),
|
|
142
|
+
};
|
|
121
143
|
if (skillReads && skillReads.observed + skillReads.unobserved + skillReads.unknown !== trials) {
|
|
122
144
|
throw new Error(`${label}.skillReads must total the surviving graded trials`);
|
|
123
145
|
}
|
|
@@ -131,59 +153,60 @@ function facets(value, label) {
|
|
|
131
153
|
return value.map((raw, index) => {
|
|
132
154
|
const item = object(raw, `${label}[${index}]`);
|
|
133
155
|
return {
|
|
134
|
-
name: string(item[
|
|
135
|
-
baselinePassRate: number(item[
|
|
136
|
-
treatmentPassRate: number(item[
|
|
137
|
-
baselineTrials: integer(item[
|
|
138
|
-
treatmentTrials: integer(item[
|
|
156
|
+
name: string(item["name"], `${label}[${index}].name`),
|
|
157
|
+
baselinePassRate: number(item["baselinePassRate"], `${label}[${index}].baselinePassRate`, 0, 1),
|
|
158
|
+
treatmentPassRate: number(item["treatmentPassRate"], `${label}[${index}].treatmentPassRate`, 0, 1),
|
|
159
|
+
baselineTrials: integer(item["baselineTrials"], `${label}[${index}].baselineTrials`),
|
|
160
|
+
treatmentTrials: integer(item["treatmentTrials"], `${label}[${index}].treatmentTrials`),
|
|
139
161
|
};
|
|
140
162
|
});
|
|
141
163
|
}
|
|
142
164
|
function row(value, label, id) {
|
|
143
165
|
const item = object(value, label);
|
|
144
|
-
const conditions = object(item[
|
|
166
|
+
const conditions = object(item["conditions"], `${label}.conditions`);
|
|
145
167
|
return {
|
|
146
|
-
costs: item[
|
|
168
|
+
costs: item["costs"] === undefined ? null : parseCosts(item["costs"], `${label}.costs`),
|
|
147
169
|
id,
|
|
148
|
-
baseline: counts(conditions[
|
|
149
|
-
treatment: counts(conditions[
|
|
150
|
-
deltaPassRate: number(item[
|
|
151
|
-
verdict: verdict(item[
|
|
152
|
-
scoreDelta: item[
|
|
153
|
-
? null
|
|
154
|
-
|
|
170
|
+
baseline: counts(conditions["baseline"], `${label}.conditions.baseline`),
|
|
171
|
+
treatment: counts(conditions["treatment"], `${label}.conditions.treatment`),
|
|
172
|
+
deltaPassRate: number(item["deltaPassRate"], `${label}.deltaPassRate`, -1, 1),
|
|
173
|
+
verdict: verdict(item["verdict"], `${label}.verdict`),
|
|
174
|
+
scoreDelta: item["scoreDelta"] === undefined || item["scoreDelta"] === null
|
|
175
|
+
? null
|
|
176
|
+
: number(item["scoreDelta"], `${label}.scoreDelta`, -1, 1),
|
|
177
|
+
facets: facets(item["facets"], `${label}.facets`),
|
|
155
178
|
};
|
|
156
179
|
}
|
|
157
180
|
function parseCosts(value, label) {
|
|
158
181
|
const item = object(value, label);
|
|
159
|
-
if (item[
|
|
182
|
+
if (item["schemaVersion"] !== 1)
|
|
160
183
|
throw new Error(`${label}.schemaVersion must be 1`);
|
|
161
184
|
const scope = (name) => {
|
|
162
185
|
const arms = object(item[name], `${label}.${name}`);
|
|
163
186
|
const population = (arm) => {
|
|
164
187
|
const path = `${label}.${name}.${arm}`;
|
|
165
188
|
const raw = object(arms[arm], path);
|
|
166
|
-
const runs = integer(raw[
|
|
167
|
-
const passes = integer(raw[
|
|
189
|
+
const runs = integer(raw["runs"], `${path}.runs`);
|
|
190
|
+
const passes = integer(raw["passes"], `${path}.passes`);
|
|
168
191
|
if (passes > runs)
|
|
169
192
|
throw new Error(`${path}.passes cannot exceed runs`);
|
|
170
|
-
const rawMetrics = object(raw[
|
|
171
|
-
const metrics = Object.fromEntries(COST_METRICS.map(metric => {
|
|
193
|
+
const rawMetrics = object(raw["metrics"], `${path}.metrics`);
|
|
194
|
+
const metrics = Object.fromEntries(COST_METRICS.map((metric) => {
|
|
172
195
|
const measure = object(rawMetrics[metric], `${path}.metrics.${metric}`);
|
|
173
|
-
const coverage = object(measure[
|
|
196
|
+
const coverage = object(measure["coverage"], `${path}.metrics.${metric}.coverage`);
|
|
174
197
|
const parsed = {
|
|
175
|
-
knownTotal: number(measure[
|
|
198
|
+
knownTotal: number(measure["knownTotal"], `${path}.metrics.${metric}.knownTotal`, 0),
|
|
176
199
|
coverage: {
|
|
177
|
-
final: integer(coverage[
|
|
178
|
-
partial: integer(coverage[
|
|
179
|
-
unknown: integer(coverage[
|
|
200
|
+
final: integer(coverage["final"], `${path}.metrics.${metric}.coverage.final`),
|
|
201
|
+
partial: integer(coverage["partial"], `${path}.metrics.${metric}.coverage.partial`),
|
|
202
|
+
unknown: integer(coverage["unknown"], `${path}.metrics.${metric}.coverage.unknown`),
|
|
180
203
|
},
|
|
181
204
|
};
|
|
182
205
|
const c = parsed.coverage;
|
|
183
206
|
if (c.final + c.partial + c.unknown !== runs ||
|
|
184
207
|
(c.final + c.partial === 0 && parsed.knownTotal !== 0))
|
|
185
208
|
throw new Error(`${path}.metrics.${metric} contradicts coverage`);
|
|
186
|
-
if (metric ===
|
|
209
|
+
if (metric === "durationSeconds" && (c.partial !== 0 || c.unknown !== 0))
|
|
187
210
|
throw new Error(`${path} elapsed time must cover every invocation`);
|
|
188
211
|
return [metric, parsed];
|
|
189
212
|
}));
|
|
@@ -191,39 +214,48 @@ function parseCosts(value, label) {
|
|
|
191
214
|
const uncached = metrics.uncachedInput;
|
|
192
215
|
if (JSON.stringify(cache.coverage) !== JSON.stringify(uncached.coverage))
|
|
193
216
|
throw new Error(`${path} cache partition coverage must match`);
|
|
194
|
-
if (cache.coverage.final + cache.coverage.partial >
|
|
217
|
+
if (cache.coverage.final + cache.coverage.partial >
|
|
218
|
+
metrics.input.coverage.final + metrics.input.coverage.partial ||
|
|
195
219
|
cache.coverage.final > metrics.input.coverage.final ||
|
|
196
220
|
cache.knownTotal + uncached.knownTotal > metrics.input.knownTotal + 1e-6)
|
|
197
221
|
throw new Error(`${path} cache partition contradicts input`);
|
|
198
|
-
if (cache.coverage.final + cache.coverage.partial ===
|
|
222
|
+
if (cache.coverage.final + cache.coverage.partial ===
|
|
223
|
+
metrics.input.coverage.final + metrics.input.coverage.partial &&
|
|
199
224
|
Math.abs(cache.knownTotal + uncached.knownTotal - metrics.input.knownTotal) > 1e-6)
|
|
200
225
|
throw new Error(`${path} cache partition disagrees with input`);
|
|
201
226
|
return { runs, passes, metrics };
|
|
202
227
|
};
|
|
203
|
-
return { baseline: population(
|
|
228
|
+
return { baseline: population("baseline"), treatment: population("treatment") };
|
|
229
|
+
};
|
|
230
|
+
const notInvoked = object(item["notInvoked"], `${label}.notInvoked`);
|
|
231
|
+
return {
|
|
232
|
+
schemaVersion: 1,
|
|
233
|
+
paired: scope("paired"),
|
|
234
|
+
attempts: scope("attempts"),
|
|
235
|
+
notInvoked: {
|
|
236
|
+
baseline: integer(notInvoked["baseline"], `${label}.notInvoked.baseline`),
|
|
237
|
+
treatment: integer(notInvoked["treatment"], `${label}.notInvoked.treatment`),
|
|
238
|
+
},
|
|
204
239
|
};
|
|
205
|
-
const notInvoked = object(item['notInvoked'], `${label}.notInvoked`);
|
|
206
|
-
return { schemaVersion: 1, paired: scope('paired'), attempts: scope('attempts'), notInvoked: {
|
|
207
|
-
baseline: integer(notInvoked['baseline'], `${label}.notInvoked.baseline`),
|
|
208
|
-
treatment: integer(notInvoked['treatment'], `${label}.notInvoked.treatment`),
|
|
209
|
-
} };
|
|
210
240
|
}
|
|
211
241
|
function checkCostCounts(row, declaredRuns, label) {
|
|
212
242
|
const costs = row.costs;
|
|
213
243
|
if (!costs)
|
|
214
244
|
return;
|
|
215
|
-
for (const arm of [
|
|
245
|
+
for (const arm of ["baseline", "treatment"]) {
|
|
216
246
|
const paired = costs.paired[arm];
|
|
217
247
|
const attempts = costs.attempts[arm];
|
|
218
|
-
if (paired.runs !== row[arm].trials ||
|
|
248
|
+
if (paired.runs !== row[arm].trials ||
|
|
249
|
+
paired.passes !== row[arm].passes ||
|
|
219
250
|
attempts.runs + costs.notInvoked[arm] !== declaredRuns ||
|
|
220
|
-
paired.runs > attempts.runs ||
|
|
251
|
+
paired.runs > attempts.runs ||
|
|
252
|
+
paired.passes > attempts.passes ||
|
|
221
253
|
attempts.passes - paired.passes > attempts.runs - paired.runs)
|
|
222
254
|
throw new Error(`${label}.costs disagree with declared/graded counts`);
|
|
223
255
|
for (const metric of COST_METRICS) {
|
|
224
256
|
if (paired.metrics[metric].knownTotal > attempts.metrics[metric].knownTotal + 1e-6)
|
|
225
257
|
throw new Error(`${label}.costs paired spending exceeds all invocations`);
|
|
226
|
-
for (const status of [
|
|
258
|
+
for (const status of ["final", "partial", "unknown"]) {
|
|
227
259
|
if (paired.metrics[metric].coverage[status] > attempts.metrics[metric].coverage[status])
|
|
228
260
|
throw new Error(`${label}.costs paired coverage exceeds all invocations`);
|
|
229
261
|
}
|
|
@@ -239,10 +271,11 @@ function checkDelta(value, label) {
|
|
|
239
271
|
if (seen.has(facet.name))
|
|
240
272
|
throw new Error(`${label}.facets contains a duplicate check name`);
|
|
241
273
|
seen.add(facet.name);
|
|
242
|
-
for (const condition of [
|
|
243
|
-
const trials = condition ===
|
|
244
|
-
const rate = condition ===
|
|
245
|
-
if (trials > value[condition].trials ||
|
|
274
|
+
for (const condition of ["baseline", "treatment"]) {
|
|
275
|
+
const trials = condition === "baseline" ? facet.baselineTrials : facet.treatmentTrials;
|
|
276
|
+
const rate = condition === "baseline" ? facet.baselinePassRate : facet.treatmentPassRate;
|
|
277
|
+
if (trials > value[condition].trials ||
|
|
278
|
+
(trials === 0 && rate !== 0) ||
|
|
246
279
|
Math.abs(rate * trials - Math.round(rate * trials)) > 1e-9) {
|
|
247
280
|
throw new Error(`${label}.facets has an invalid ${condition} check denominator or rate`);
|
|
248
281
|
}
|
|
@@ -253,131 +286,147 @@ function checkDelta(value, label) {
|
|
|
253
286
|
if (Math.abs(value.deltaPassRate - expected) > 1e-9) {
|
|
254
287
|
throw new Error(`${label}.deltaPassRate disagrees with its pass counts`);
|
|
255
288
|
}
|
|
256
|
-
if (value.baseline.meanScore !== null &&
|
|
257
|
-
value.
|
|
258
|
-
|
|
289
|
+
if (value.baseline.meanScore !== null &&
|
|
290
|
+
value.treatment.meanScore !== null &&
|
|
291
|
+
value.scoreDelta !== null &&
|
|
292
|
+
Math.abs(value.scoreDelta - (value.treatment.meanScore - value.baseline.meanScore)) > 1e-9 &&
|
|
293
|
+
label !== "overall") {
|
|
259
294
|
throw new Error(`${label}.scoreDelta disagrees with its mean scores`);
|
|
260
295
|
}
|
|
261
|
-
if (value.scoreDelta !== null &&
|
|
296
|
+
if (value.scoreDelta !== null &&
|
|
297
|
+
(value.baseline.meanScore === null || value.treatment.meanScore === null)) {
|
|
262
298
|
throw new Error(`${label}.scoreDelta requires graded scores in both conditions`);
|
|
263
299
|
}
|
|
264
300
|
}
|
|
265
301
|
/** Read only the v4 fields the Markdown report actually uses. Never reinterpret older metrics. */
|
|
266
302
|
export function parseEvalReport(value) {
|
|
267
|
-
const manifest = object(value,
|
|
268
|
-
if (manifest[
|
|
269
|
-
throw new Error(`Only evaluation manifest schemaVersion 4 can be rendered (found ${JSON.stringify(manifest[
|
|
303
|
+
const manifest = object(value, "Manifest");
|
|
304
|
+
if (manifest["schemaVersion"] !== SAVED_FORMATS.evaluations.paired.summaryVersion) {
|
|
305
|
+
throw new Error(`Only evaluation manifest schemaVersion 4 can be rendered (found ${JSON.stringify(manifest["schemaVersion"])})`);
|
|
270
306
|
}
|
|
271
|
-
const target = object(manifest[
|
|
272
|
-
const kind = string(target[
|
|
273
|
-
if (![
|
|
274
|
-
throw new Error(
|
|
275
|
-
const bench = object(manifest[
|
|
276
|
-
const executor = object(manifest[
|
|
277
|
-
const inputMode = manifest[
|
|
278
|
-
if (inputMode !== undefined && inputMode !==
|
|
279
|
-
throw new Error(
|
|
307
|
+
const target = object(manifest["target"], "target");
|
|
308
|
+
const kind = string(target["kind"], "target.kind");
|
|
309
|
+
if (!["skill", "rules", "mcp"].includes(kind))
|
|
310
|
+
throw new Error("target.kind must be skill, rules, or mcp");
|
|
311
|
+
const bench = object(manifest["bench"], "bench");
|
|
312
|
+
const executor = object(manifest["executor"], "executor");
|
|
313
|
+
const inputMode = manifest["inputMode"];
|
|
314
|
+
if (inputMode !== undefined && inputMode !== "snapshot" && inputMode !== "workspace") {
|
|
315
|
+
throw new Error("inputMode must be snapshot or workspace");
|
|
280
316
|
}
|
|
281
317
|
let skillDelivery = null;
|
|
282
|
-
if (manifest[
|
|
283
|
-
const delivery = object(manifest[
|
|
284
|
-
if (delivery[
|
|
285
|
-
throw new Error(
|
|
318
|
+
if (manifest["skillDelivery"] !== undefined) {
|
|
319
|
+
const delivery = object(manifest["skillDelivery"], "skillDelivery");
|
|
320
|
+
if (delivery["mode"] !== "installed" || kind !== "skill" || inputMode !== "workspace") {
|
|
321
|
+
throw new Error("skillDelivery requires installed mode, a Skill target and workspace input");
|
|
286
322
|
}
|
|
287
|
-
const installDir = string(delivery[
|
|
323
|
+
const installDir = string(delivery["installDir"], "skillDelivery.installDir");
|
|
288
324
|
validateSkillInstallDir(installDir);
|
|
289
|
-
if (!Array.isArray(target[
|
|
290
|
-
target[
|
|
291
|
-
|
|
325
|
+
if (!Array.isArray(target["files"]) ||
|
|
326
|
+
!target["files"].includes("SKILL.md") ||
|
|
327
|
+
target["files"].some((file) => typeof file !== "string" || !file)) {
|
|
328
|
+
throw new Error("Installed Skill target.files must list the complete resources including SKILL.md");
|
|
292
329
|
}
|
|
293
|
-
skillDelivery = { mode:
|
|
330
|
+
skillDelivery = { mode: "installed", installDir };
|
|
294
331
|
}
|
|
295
332
|
let baselineTarget = null;
|
|
296
|
-
if (manifest[
|
|
297
|
-
const previous = object(manifest[
|
|
298
|
-
if (!skillDelivery || previous[
|
|
299
|
-
throw new Error(
|
|
333
|
+
if (manifest["baselineTarget"] !== undefined) {
|
|
334
|
+
const previous = object(manifest["baselineTarget"], "baselineTarget");
|
|
335
|
+
if (!skillDelivery || previous["kind"] !== "skill") {
|
|
336
|
+
throw new Error("baselineTarget requires two installed Skill versions.");
|
|
300
337
|
}
|
|
301
|
-
const name = string(previous[
|
|
302
|
-
if (name !== target[
|
|
303
|
-
throw new Error(
|
|
304
|
-
const sha256 = hash(previous[
|
|
305
|
-
if (sha256.toLowerCase() === hash(target[
|
|
306
|
-
throw new Error(
|
|
338
|
+
const name = string(previous["name"], "baselineTarget.name");
|
|
339
|
+
if (name !== target["name"])
|
|
340
|
+
throw new Error("baselineTarget.name must match the target Skill name.");
|
|
341
|
+
const sha256 = hash(previous["bundleSha256"], "baselineTarget.bundleSha256");
|
|
342
|
+
if (sha256.toLowerCase() === hash(target["bundleSha256"], "target.bundleSha256").toLowerCase()) {
|
|
343
|
+
throw new Error("baselineTarget and target must have different complete-resource fingerprints.");
|
|
307
344
|
}
|
|
308
|
-
string(previous[
|
|
309
|
-
if (!Array.isArray(previous[
|
|
310
|
-
previous[
|
|
311
|
-
|
|
345
|
+
string(previous["sourceDir"], "baselineTarget.sourceDir");
|
|
346
|
+
if (!Array.isArray(previous["files"]) ||
|
|
347
|
+
!previous["files"].includes("SKILL.md") ||
|
|
348
|
+
previous["files"].some((file) => typeof file !== "string" || !file)) {
|
|
349
|
+
throw new Error("baselineTarget.files must list the complete resources including SKILL.md.");
|
|
312
350
|
}
|
|
313
351
|
baselineTarget = { name, sha256 };
|
|
314
352
|
}
|
|
315
|
-
const rawTasks = manifest[
|
|
353
|
+
const rawTasks = manifest["tasks"];
|
|
316
354
|
if (!Array.isArray(rawTasks))
|
|
317
|
-
throw new Error(
|
|
355
|
+
throw new Error("tasks must be an array");
|
|
318
356
|
const tasks = rawTasks.map((task, index) => {
|
|
319
357
|
const item = object(task, `tasks[${index}]`);
|
|
320
|
-
return row(item, `tasks[${index}]`, string(item[
|
|
358
|
+
return row(item, `tasks[${index}]`, string(item["id"], `tasks[${index}].id`));
|
|
321
359
|
});
|
|
322
|
-
const overall = object(manifest[
|
|
323
|
-
const stats = object(overall[
|
|
324
|
-
const discordant = object(stats[
|
|
325
|
-
const rawCi = stats[
|
|
326
|
-
const ci = rawCi === null ? null : object(rawCi,
|
|
327
|
-
const warnings = manifest[
|
|
328
|
-
if (!Array.isArray(warnings) || warnings.some((item) => typeof item !==
|
|
329
|
-
throw new Error(
|
|
360
|
+
const overall = object(manifest["overall"], "overall");
|
|
361
|
+
const stats = object(overall["stats"], "overall.stats");
|
|
362
|
+
const discordant = object(stats["discordant"], "overall.stats.discordant");
|
|
363
|
+
const rawCi = stats["deltaCi"];
|
|
364
|
+
const ci = rawCi === null ? null : object(rawCi, "overall.stats.deltaCi");
|
|
365
|
+
const warnings = manifest["warnings"];
|
|
366
|
+
if (!Array.isArray(warnings) || warnings.some((item) => typeof item !== "string")) {
|
|
367
|
+
throw new Error("warnings must be an array of strings");
|
|
330
368
|
}
|
|
331
|
-
const createdAt = string(manifest[
|
|
369
|
+
const createdAt = string(manifest["createdAt"], "createdAt");
|
|
332
370
|
if (!Number.isFinite(Date.parse(createdAt)))
|
|
333
|
-
throw new Error(
|
|
334
|
-
const taskCount = integer(bench[
|
|
371
|
+
throw new Error("createdAt must be a date-time");
|
|
372
|
+
const taskCount = integer(bench["taskCount"], "bench.taskCount");
|
|
335
373
|
if (tasks.length !== taskCount)
|
|
336
|
-
throw new Error(
|
|
337
|
-
const ciValue = ci === null
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
374
|
+
throw new Error("bench.taskCount must match tasks.length");
|
|
375
|
+
const ciValue = ci === null
|
|
376
|
+
? null
|
|
377
|
+
: {
|
|
378
|
+
lo: number(ci["lo"], "overall.stats.deltaCi.lo", -1, 1),
|
|
379
|
+
hi: number(ci["hi"], "overall.stats.deltaCi.hi", -1, 1),
|
|
380
|
+
resamples: integer(ci["resamples"], "overall.stats.deltaCi.resamples", 1),
|
|
381
|
+
};
|
|
342
382
|
if (ciValue && ciValue.lo > ciValue.hi)
|
|
343
|
-
throw new Error(
|
|
344
|
-
const rawScoreCi = stats[
|
|
345
|
-
const scoreCi = rawScoreCi === undefined || rawScoreCi === null
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
383
|
+
throw new Error("overall.stats.deltaCi.lo cannot exceed hi");
|
|
384
|
+
const rawScoreCi = stats["scoreDeltaCi"];
|
|
385
|
+
const scoreCi = rawScoreCi === undefined || rawScoreCi === null
|
|
386
|
+
? null
|
|
387
|
+
: object(rawScoreCi, "overall.stats.scoreDeltaCi");
|
|
388
|
+
const scoreDeltaCi = scoreCi === null
|
|
389
|
+
? null
|
|
390
|
+
: {
|
|
391
|
+
lo: number(scoreCi["lo"], "overall.stats.scoreDeltaCi.lo", -1, 1),
|
|
392
|
+
hi: number(scoreCi["hi"], "overall.stats.scoreDeltaCi.hi", -1, 1),
|
|
393
|
+
resamples: integer(scoreCi["resamples"], "overall.stats.scoreDeltaCi.resamples", 1),
|
|
394
|
+
};
|
|
352
395
|
if (scoreDeltaCi && scoreDeltaCi.lo > scoreDeltaCi.hi)
|
|
353
|
-
throw new Error(
|
|
354
|
-
const overallRow = row(overall,
|
|
355
|
-
const declaredTrials = integer(manifest[
|
|
396
|
+
throw new Error("overall.stats.scoreDeltaCi.lo cannot exceed hi");
|
|
397
|
+
const overallRow = row(overall, "overall", "Overall");
|
|
398
|
+
const declaredTrials = integer(manifest["trials"], "trials", 1);
|
|
356
399
|
for (const [index, task] of tasks.entries())
|
|
357
400
|
checkCostCounts(task, declaredTrials, `tasks[${index}]`);
|
|
358
|
-
checkCostCounts(overallRow, declaredTrials * tasks.length,
|
|
401
|
+
checkCostCounts(overallRow, declaredTrials * tasks.length, "overall");
|
|
359
402
|
if (overallRow.costs) {
|
|
360
|
-
if (tasks.some(t => !t.costs))
|
|
361
|
-
throw new Error(
|
|
362
|
-
assertCostTotals(overallRow.costs, tasks.map(t => t.costs));
|
|
403
|
+
if (tasks.some((t) => !t.costs))
|
|
404
|
+
throw new Error("overall.costs requires costs for every task");
|
|
405
|
+
assertCostTotals(overallRow.costs, tasks.map((t) => t.costs));
|
|
363
406
|
}
|
|
364
|
-
else if (tasks.some(t => t.costs))
|
|
365
|
-
throw new Error(
|
|
407
|
+
else if (tasks.some((t) => t.costs))
|
|
408
|
+
throw new Error("Task costs require corresponding overall costs");
|
|
366
409
|
for (const [index, task] of tasks.entries())
|
|
367
410
|
checkDelta(task, `tasks[${index}]`);
|
|
368
|
-
checkDelta(overallRow,
|
|
411
|
+
checkDelta(overallRow, "overall");
|
|
369
412
|
if (scoreDeltaCi) {
|
|
370
|
-
if (overallRow.scoreDelta === null ||
|
|
371
|
-
overallRow.
|
|
372
|
-
|
|
373
|
-
|
|
413
|
+
if (overallRow.scoreDelta === null ||
|
|
414
|
+
overallRow.baseline.meanScore === null ||
|
|
415
|
+
overallRow.treatment.meanScore === null ||
|
|
416
|
+
!tasks.some((t) => t.baseline.trials > 0 &&
|
|
417
|
+
t.baseline.meanScore !== null &&
|
|
418
|
+
t.treatment.meanScore !== null &&
|
|
419
|
+
t.scoreDelta !== null)) {
|
|
420
|
+
throw new Error("overall.stats.scoreDeltaCi requires paired graded score observations and overall scoreDelta");
|
|
374
421
|
}
|
|
375
|
-
if (scoreCi[
|
|
376
|
-
|
|
422
|
+
if (scoreCi["point"] !== undefined &&
|
|
423
|
+
Math.abs(number(scoreCi["point"], "overall.stats.scoreDeltaCi.point", -1, 1) -
|
|
424
|
+
overallRow.scoreDelta) > 1e-9) {
|
|
425
|
+
throw new Error("overall.stats.scoreDeltaCi.point disagrees with overall.scoreDelta");
|
|
377
426
|
}
|
|
378
427
|
}
|
|
379
|
-
for (const condition of [
|
|
380
|
-
for (const field of [
|
|
428
|
+
for (const condition of ["baseline", "treatment"]) {
|
|
429
|
+
for (const field of ["passes", "trials", "errors"]) {
|
|
381
430
|
const total = tasks.reduce((sum, task) => sum + task[condition][field], 0);
|
|
382
431
|
if (total !== overallRow[condition][field]) {
|
|
383
432
|
throw new Error(`overall.conditions.${condition}.${field} disagrees with task totals`);
|
|
@@ -385,21 +434,22 @@ export function parseEvalReport(value) {
|
|
|
385
434
|
}
|
|
386
435
|
const aggregate = overallRow[condition];
|
|
387
436
|
if (aggregate.skillReads) {
|
|
388
|
-
if (!skillDelivery || tasks.some(t => t[condition].skillReads === null))
|
|
389
|
-
throw new Error(
|
|
390
|
-
for (const field of [
|
|
391
|
-
if (aggregate.skillReads[field] !==
|
|
437
|
+
if (!skillDelivery || tasks.some((t) => t[condition].skillReads === null))
|
|
438
|
+
throw new Error("skillReads requires installed delivery and recorded observations for every task");
|
|
439
|
+
for (const field of ["observed", "unobserved", "unknown"]) {
|
|
440
|
+
if (aggregate.skillReads[field] !==
|
|
441
|
+
tasks.reduce((sum, t) => sum + t[condition].skillReads[field], 0)) {
|
|
392
442
|
throw new Error(`overall.conditions.${condition}.skillReads.${field} disagrees with task totals`);
|
|
393
443
|
}
|
|
394
444
|
}
|
|
395
445
|
}
|
|
396
|
-
else if (tasks.some(t => t[condition].skillReads !== null))
|
|
397
|
-
throw new Error(
|
|
446
|
+
else if (tasks.some((t) => t[condition].skillReads !== null))
|
|
447
|
+
throw new Error("Task skillReads requires corresponding overall observations");
|
|
398
448
|
if (aggregate.tokenCoverage) {
|
|
399
|
-
if (tasks.some(t => t[condition].tokenCoverage === null)) {
|
|
449
|
+
if (tasks.some((t) => t[condition].tokenCoverage === null)) {
|
|
400
450
|
throw new Error(`overall.conditions.${condition}.tokenCoverage requires recorded coverage for every task`);
|
|
401
451
|
}
|
|
402
|
-
for (const field of [
|
|
452
|
+
for (const field of ["input", "output"]) {
|
|
403
453
|
const coverage = tasks.reduce((sum, t) => sum + t[condition].tokenCoverage[field], 0);
|
|
404
454
|
if (coverage !== aggregate.tokenCoverage[field]) {
|
|
405
455
|
throw new Error(`overall.conditions.${condition}.tokenCoverage.${field} disagrees with task totals`);
|
|
@@ -411,77 +461,106 @@ export function parseEvalReport(value) {
|
|
|
411
461
|
}
|
|
412
462
|
}
|
|
413
463
|
}
|
|
414
|
-
const improved = integer(discordant[
|
|
415
|
-
const regressed = integer(discordant[
|
|
464
|
+
const improved = integer(discordant["improved"], "overall.stats.discordant.improved");
|
|
465
|
+
const regressed = integer(discordant["regressed"], "overall.stats.discordant.regressed");
|
|
416
466
|
if (improved + regressed > overallRow.baseline.trials) {
|
|
417
|
-
throw new Error(
|
|
467
|
+
throw new Error("overall.stats.discordant exceeds the number of paired trials");
|
|
418
468
|
}
|
|
419
469
|
if (improved - regressed !== overallRow.treatment.passes - overallRow.baseline.passes) {
|
|
420
|
-
throw new Error(
|
|
470
|
+
throw new Error("overall.stats.discordant.improved - regressed disagrees with treatment.passes - baseline.passes");
|
|
421
471
|
}
|
|
422
472
|
const sharedSuccess = overallRow.baseline.passes - regressed;
|
|
423
473
|
if (sharedSuccess < 0) {
|
|
424
|
-
throw new Error(
|
|
474
|
+
throw new Error("overall.stats.discordant implies a negative shared success count");
|
|
425
475
|
}
|
|
426
476
|
const sharedFailure = overallRow.baseline.trials - improved - regressed - sharedSuccess;
|
|
427
477
|
if (sharedFailure < 0) {
|
|
428
|
-
throw new Error(
|
|
478
|
+
throw new Error("overall.stats.discordant implies a negative shared failure count");
|
|
429
479
|
}
|
|
430
|
-
const mcnemarP = number(stats[
|
|
480
|
+
const mcnemarP = number(stats["mcnemarP"], "overall.stats.mcnemarP", 0, 1);
|
|
431
481
|
const computedP = mcnemarExactP(improved, regressed);
|
|
432
|
-
const expectedVerdict = verdictFor({
|
|
482
|
+
const expectedVerdict = verdictFor({
|
|
483
|
+
improved,
|
|
484
|
+
regressed,
|
|
485
|
+
deltaPassRate: overallRow.deltaPassRate,
|
|
486
|
+
}).verdict;
|
|
433
487
|
const pMismatch = Math.abs(mcnemarP - computedP) > 1e-9;
|
|
434
488
|
const verdictMismatch = overallRow.verdict !== expectedVerdict;
|
|
435
489
|
// Binary64 rounds 2^-n to zero starting at 1075. Keep the ordinary validation
|
|
436
490
|
// errors for other inconsistencies; this pattern never grants legacy validity.
|
|
437
|
-
const legacyVerdict = overallRow.deltaPassRate === 0
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
491
|
+
const legacyVerdict = overallRow.deltaPassRate === 0
|
|
492
|
+
? "inconclusive"
|
|
493
|
+
: overallRow.deltaPassRate > 0
|
|
494
|
+
? "effective"
|
|
495
|
+
: "ineffective";
|
|
496
|
+
if (improved + regressed >= 1075 &&
|
|
497
|
+
mcnemarP === 0 &&
|
|
498
|
+
overallRow.verdict === legacyVerdict &&
|
|
499
|
+
(computedP !== 0 || verdictMismatch)) {
|
|
500
|
+
throw new RecordedStatisticsNumericError({
|
|
501
|
+
discordant: { improved, regressed },
|
|
502
|
+
recorded: { mcnemarP, verdict: overallRow.verdict },
|
|
503
|
+
computed: { mcnemarP: computedP, verdict: expectedVerdict },
|
|
504
|
+
});
|
|
442
505
|
}
|
|
443
506
|
if (pMismatch) {
|
|
444
|
-
throw new Error(
|
|
507
|
+
throw new Error("overall.stats.mcnemarP disagrees with discordant counts");
|
|
445
508
|
}
|
|
446
509
|
if (verdictMismatch)
|
|
447
|
-
throw new Error(
|
|
510
|
+
throw new Error("overall.verdict disagrees with the metrics protocol");
|
|
448
511
|
const scope = parseMeasurementScope(manifest.measurementScope);
|
|
449
512
|
if (scope) {
|
|
450
|
-
if (JSON.stringify(scope.taskClaims.map(t => t.taskId)) !==
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
if (scope.requestedClaim
|
|
456
|
-
|
|
513
|
+
if (JSON.stringify(scope.taskClaims.map((t) => t.taskId)) !==
|
|
514
|
+
JSON.stringify(tasks.map((t) => t.id)))
|
|
515
|
+
throw new Error("measurementScope task IDs/order differ from the selected tasks.");
|
|
516
|
+
const policy = manifest.component
|
|
517
|
+
?.policy;
|
|
518
|
+
if (scope.requestedClaim !== null &&
|
|
519
|
+
scope.requestedClaim !== requestedClaimFor("paired", policy))
|
|
520
|
+
throw new Error("measurementScope requestedClaim contradicts the paired mode/policy.");
|
|
521
|
+
if (scope.requestedClaim === null && executor.kind !== "mock")
|
|
522
|
+
throw new Error("measurementScope diagnostic-only paired summaries require a mock executor.");
|
|
457
523
|
assertBenchClaimSupported(scope);
|
|
458
524
|
}
|
|
459
|
-
const managed = experiment(manifest[
|
|
460
|
-
if (managed &&
|
|
461
|
-
|
|
525
|
+
const managed = experiment(manifest["experiment"]);
|
|
526
|
+
if (managed &&
|
|
527
|
+
managed.plannedCalls !==
|
|
528
|
+
taskCount * integer(manifest["trials"], "trials", 1) * (manifest["judge"] == null ? 2 : 4)) {
|
|
529
|
+
throw new Error("experiment.plannedCalls contradicts the declared tasks, trials, conditions, and judge");
|
|
462
530
|
}
|
|
463
531
|
return {
|
|
464
532
|
...(scope ? { measurementScope: scope } : {}),
|
|
465
|
-
...(manifest[
|
|
466
|
-
|
|
467
|
-
|
|
533
|
+
...(manifest["modelIdentities"] === undefined
|
|
534
|
+
? {}
|
|
535
|
+
: { modelIdentities: parseModelIdentities(manifest["modelIdentities"]) }),
|
|
536
|
+
runGroup: string(manifest["runGroup"], "runGroup"),
|
|
537
|
+
...(manifest["invocationCosts"] === undefined
|
|
538
|
+
? {}
|
|
539
|
+
: { invocationCosts: parseInvocationCosts(manifest["invocationCosts"]) }),
|
|
468
540
|
createdAt,
|
|
469
|
-
target: {
|
|
541
|
+
target: {
|
|
542
|
+
kind,
|
|
543
|
+
name: string(target["name"], "target.name"),
|
|
544
|
+
sha256: hash(target["bundleSha256"], "target.bundleSha256"),
|
|
545
|
+
},
|
|
470
546
|
baselineTarget,
|
|
471
547
|
bench: {
|
|
472
|
-
name: string(bench[
|
|
473
|
-
sha256: hash(bench[
|
|
548
|
+
name: string(bench["name"], "bench.name"),
|
|
549
|
+
sha256: hash(bench["contentSha256"], "bench.contentSha256"),
|
|
474
550
|
taskCount,
|
|
475
551
|
},
|
|
476
|
-
executor: {
|
|
477
|
-
|
|
552
|
+
executor: {
|
|
553
|
+
kind: string(executor["kind"], "executor.kind"),
|
|
554
|
+
model: string(executor["model"], "executor.model"),
|
|
555
|
+
},
|
|
556
|
+
trials: integer(manifest["trials"], "trials", 1),
|
|
478
557
|
inputMode: inputMode ?? null,
|
|
479
558
|
skillDelivery,
|
|
480
559
|
experiment: managed,
|
|
481
560
|
tasks,
|
|
482
561
|
overall: {
|
|
483
562
|
...overallRow,
|
|
484
|
-
verdictReason: string(overall[
|
|
563
|
+
verdictReason: string(overall["verdictReason"], "overall.verdictReason"),
|
|
485
564
|
improved,
|
|
486
565
|
regressed,
|
|
487
566
|
mcnemarP,
|