skillfit 0.15.0 → 0.15.1
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 +50 -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 +187 -88
- 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,119 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"role": "Independent validation; no candidate outcomes used in task selection",
|
|
4
|
-
"selection": "Six asynchronous mapping and two expiration defects across two repositories, separate from minipass development. Outcomes cannot support general debugging claims outside this task mix.",
|
|
5
|
-
"tasks": [
|
|
6
|
-
{
|
|
7
|
-
"task": "mapper-index",
|
|
8
|
-
"repository": "p-map",
|
|
9
|
-
"commit": "1af51b57534b284ead73cca65f26b56bb9390768",
|
|
10
|
-
"parent": "65aaa8f4d7e757a5254a146c4c39403efa9e2139",
|
|
11
|
-
"url": "https://github.com/sindresorhus/p-map/commit/1af51b57534b284ead73cca65f26b56bb9390768",
|
|
12
|
-
"beforeSourceSha256": "26bed8e9161d2a1215cf8ab12950ca3c00991f27e00e81e7122c0181d86d0de1",
|
|
13
|
-
"fixedSourceSha256": "c1e5b90ea5de621dcce97ebdfdc89e88bdcef9f639e6dae32d00b732af05d851",
|
|
14
|
-
"adaptations": [
|
|
15
|
-
"byte-identical source and upstream documentation",
|
|
16
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
17
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"task": "async-concurrency",
|
|
22
|
-
"repository": "p-map",
|
|
23
|
-
"commit": "82b8cdc26d9910c1a9abe6813ddad5f3a55f88b2",
|
|
24
|
-
"parent": "2ba3a002acac080c60c47ca1dfa2fad3e17f5b7c",
|
|
25
|
-
"url": "https://github.com/sindresorhus/p-map/commit/82b8cdc26d9910c1a9abe6813ddad5f3a55f88b2",
|
|
26
|
-
"beforeSourceSha256": "2c042fab32a7f151eb7dd959de1d417581ffc5d7cbd9f2f98015c2f28889aed3",
|
|
27
|
-
"fixedSourceSha256": "4592763c1650a0d028b425c25fad95cbf2c4e1bcade5e12272f754d10597803f",
|
|
28
|
-
"adaptations": [
|
|
29
|
-
"byte-identical source and upstream documentation",
|
|
30
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
31
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"task": "consumer-stop",
|
|
36
|
-
"repository": "p-map",
|
|
37
|
-
"commit": "6194e492706ced044d0b409536de417ffb852b05",
|
|
38
|
-
"parent": "22dda61ea29037ba85af25e84bc5efba77e62f44",
|
|
39
|
-
"url": "https://github.com/sindresorhus/p-map/commit/6194e492706ced044d0b409536de417ffb852b05",
|
|
40
|
-
"beforeSourceSha256": "068232b3902aef129b0686228481b1560e64e20b71ef00f9453390d8f72d43e2",
|
|
41
|
-
"fixedSourceSha256": "904a38f4a42fd457c22e8df6738a072b8fbb2f81be117fdf1db393a035929d60",
|
|
42
|
-
"adaptations": [
|
|
43
|
-
"byte-identical source and upstream documentation",
|
|
44
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
45
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"task": "source-close",
|
|
50
|
-
"repository": "p-map",
|
|
51
|
-
"commit": "c82bd07b4e15e207086ccdbb87bbd7d57776e163",
|
|
52
|
-
"parent": "e7c2ecb113e8988165a6798630e4e9c2cdeb9d1b",
|
|
53
|
-
"url": "https://github.com/sindresorhus/p-map/commit/c82bd07b4e15e207086ccdbb87bbd7d57776e163",
|
|
54
|
-
"beforeSourceSha256": "f43b207ff859f2bc3ab5fdfcc0053e9775ea198609ad27c6941dd8f1da44cafb",
|
|
55
|
-
"fixedSourceSha256": "c7e54fdc26af2bee97211aea1eac4b6207044624eb321bc637ddfc32437409bf",
|
|
56
|
-
"adaptations": [
|
|
57
|
-
"byte-identical source and upstream documentation",
|
|
58
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
59
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"task": "source-error",
|
|
64
|
-
"repository": "p-map",
|
|
65
|
-
"commit": "9c48f07c38e6f8e9ed2e09884ed21a2536d4f4ef",
|
|
66
|
-
"parent": "6194e492706ced044d0b409536de417ffb852b05",
|
|
67
|
-
"url": "https://github.com/sindresorhus/p-map/commit/9c48f07c38e6f8e9ed2e09884ed21a2536d4f4ef",
|
|
68
|
-
"beforeSourceSha256": "904a38f4a42fd457c22e8df6738a072b8fbb2f81be117fdf1db393a035929d60",
|
|
69
|
-
"fixedSourceSha256": "bf012b76f1ea74c131940deb490bc5112f8be18da53c9ff28f17b997599bb5e0",
|
|
70
|
-
"adaptations": [
|
|
71
|
-
"byte-identical source and upstream documentation",
|
|
72
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
73
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"task": "cold-thenable",
|
|
78
|
-
"repository": "p-map",
|
|
79
|
-
"commit": "1dc1d1f97512f69daabfcd917dc5802a5d79914e",
|
|
80
|
-
"parent": "1051ec70aa1b0f5e7cafe15c85311729386370c6",
|
|
81
|
-
"url": "https://github.com/sindresorhus/p-map/commit/1dc1d1f97512f69daabfcd917dc5802a5d79914e",
|
|
82
|
-
"beforeSourceSha256": "8d330b4a65013bfb44cb11001801417f1e5d6dcc1d14cd2ae9b0bfaad859e8ba",
|
|
83
|
-
"fixedSourceSha256": "cc7f3717cef13b84dd673c6eea25346b6fbb047840b77ff835e718ed87adc3a4",
|
|
84
|
-
"adaptations": [
|
|
85
|
-
"byte-identical source and upstream documentation",
|
|
86
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
87
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"task": "ttl-refresh",
|
|
92
|
-
"repository": "quick-lru",
|
|
93
|
-
"commit": "6033bb74f4262e6784232ddf9c117a02d376e02f",
|
|
94
|
-
"parent": "ccf759386369a4ee36c36167ded243f7287d425a",
|
|
95
|
-
"url": "https://github.com/sindresorhus/quick-lru/commit/6033bb74f4262e6784232ddf9c117a02d376e02f",
|
|
96
|
-
"beforeSourceSha256": "2809e4747f4568d805a6558d1d1a9de0ca5375a79d56963b9114a5615f675105",
|
|
97
|
-
"fixedSourceSha256": "b846b478e0501f1e7350ff8f4b51d2216b5a32ad51001217999efa17aa45032d",
|
|
98
|
-
"adaptations": [
|
|
99
|
-
"byte-identical source and upstream documentation",
|
|
100
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
101
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"task": "ttl-duration",
|
|
106
|
-
"repository": "quick-lru",
|
|
107
|
-
"commit": "6a9c875c93ae7e149f0e39c14690e41fd26a1129",
|
|
108
|
-
"parent": "6ee4b6e9a7391f4536324ea1df909839d5d2734d",
|
|
109
|
-
"url": "https://github.com/sindresorhus/quick-lru/commit/6a9c875c93ae7e149f0e39c14690e41fd26a1129",
|
|
110
|
-
"beforeSourceSha256": "b846b478e0501f1e7350ff8f4b51d2216b5a32ad51001217999efa17aa45032d",
|
|
111
|
-
"fixedSourceSha256": "fd3bceda3d76754434bcfce98ae41f182d3c0d0641058241ffd468e1a2e2eba9",
|
|
112
|
-
"adaptations": [
|
|
113
|
-
"byte-identical source and upstream documentation",
|
|
114
|
-
"original metadata retained separately; node:test replaces upstream dev tooling",
|
|
115
|
-
"deterministic public behavior tests derived from independently published defects; no Skill-derived process scores"
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
}
|
package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/UPSTREAM.package.json
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "p-map",
|
|
3
|
-
"version": "7.0.3",
|
|
4
|
-
"description": "Map over promises concurrently",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/p-map",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"type": "module",
|
|
14
|
-
"exports": {
|
|
15
|
-
"types": "./index.d.ts",
|
|
16
|
-
"default": "./index.js"
|
|
17
|
-
},
|
|
18
|
-
"sideEffects": false,
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=18"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"test": "xo && ava && tsd"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"index.js",
|
|
27
|
-
"index.d.ts"
|
|
28
|
-
],
|
|
29
|
-
"keywords": [
|
|
30
|
-
"promise",
|
|
31
|
-
"map",
|
|
32
|
-
"resolved",
|
|
33
|
-
"wait",
|
|
34
|
-
"collection",
|
|
35
|
-
"iterable",
|
|
36
|
-
"iterator",
|
|
37
|
-
"race",
|
|
38
|
-
"fulfilled",
|
|
39
|
-
"async",
|
|
40
|
-
"await",
|
|
41
|
-
"promises",
|
|
42
|
-
"concurrently",
|
|
43
|
-
"concurrency",
|
|
44
|
-
"parallel",
|
|
45
|
-
"bluebird"
|
|
46
|
-
],
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"ava": "^5.2.0",
|
|
49
|
-
"chalk": "^5.3.0",
|
|
50
|
-
"delay": "^6.0.0",
|
|
51
|
-
"in-range": "^3.0.0",
|
|
52
|
-
"random-int": "^3.0.0",
|
|
53
|
-
"time-span": "^5.1.0",
|
|
54
|
-
"tsd": "^0.29.0",
|
|
55
|
-
"xo": "^0.56.0"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
export default async function pMap(
|
|
2
|
-
iterable,
|
|
3
|
-
mapper,
|
|
4
|
-
{
|
|
5
|
-
concurrency = Number.POSITIVE_INFINITY,
|
|
6
|
-
stopOnError = true,
|
|
7
|
-
signal,
|
|
8
|
-
} = {},
|
|
9
|
-
) {
|
|
10
|
-
return new Promise((resolve_, reject_) => {
|
|
11
|
-
if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {
|
|
12
|
-
throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
if (typeof mapper !== 'function') {
|
|
16
|
-
throw new TypeError('Mapper function is required');
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
if (!((Number.isSafeInteger(concurrency) && concurrency >= 1) || concurrency === Number.POSITIVE_INFINITY)) {
|
|
20
|
-
throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const result = [];
|
|
24
|
-
const errors = [];
|
|
25
|
-
const skippedIndexesMap = new Map();
|
|
26
|
-
let isRejected = false;
|
|
27
|
-
let isResolved = false;
|
|
28
|
-
let isIterableDone = false;
|
|
29
|
-
let resolvingCount = 0;
|
|
30
|
-
let currentIndex = 0;
|
|
31
|
-
const iterator = iterable[Symbol.iterator] === undefined ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();
|
|
32
|
-
|
|
33
|
-
const signalListener = () => {
|
|
34
|
-
reject(signal.reason);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
const cleanup = () => {
|
|
38
|
-
signal?.removeEventListener('abort', signalListener);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
const resolve = value => {
|
|
42
|
-
resolve_(value);
|
|
43
|
-
cleanup();
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const reject = reason => {
|
|
47
|
-
isRejected = true;
|
|
48
|
-
isResolved = true;
|
|
49
|
-
reject_(reason);
|
|
50
|
-
cleanup();
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
if (signal) {
|
|
54
|
-
if (signal.aborted) {
|
|
55
|
-
reject(signal.reason);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
signal.addEventListener('abort', signalListener, {once: true});
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const next = async () => {
|
|
62
|
-
if (isResolved) {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const nextItem = await iterator.next();
|
|
67
|
-
|
|
68
|
-
const index = currentIndex;
|
|
69
|
-
currentIndex++;
|
|
70
|
-
|
|
71
|
-
// Note: `iterator.next()` can be called many times in parallel.
|
|
72
|
-
// This can cause multiple calls to this `next()` function to
|
|
73
|
-
// receive a `nextItem` with `done === true`.
|
|
74
|
-
// The shutdown logic that rejects/resolves must be protected
|
|
75
|
-
// so it runs only one time as the `skippedIndex` logic is
|
|
76
|
-
// non-idempotent.
|
|
77
|
-
if (nextItem.done) {
|
|
78
|
-
isIterableDone = true;
|
|
79
|
-
|
|
80
|
-
if (resolvingCount === 0 && !isResolved) {
|
|
81
|
-
if (!stopOnError && errors.length > 0) {
|
|
82
|
-
reject(new AggregateError(errors)); // eslint-disable-line unicorn/error-message
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
isResolved = true;
|
|
87
|
-
|
|
88
|
-
if (skippedIndexesMap.size === 0) {
|
|
89
|
-
resolve(result);
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
const pureResult = [];
|
|
94
|
-
|
|
95
|
-
// Support multiple `pMapSkip`'s.
|
|
96
|
-
for (const [index, value] of result.entries()) {
|
|
97
|
-
if (skippedIndexesMap.get(index) === pMapSkip) {
|
|
98
|
-
continue;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
pureResult.push(value);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
resolve(pureResult);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
resolvingCount++;
|
|
111
|
-
|
|
112
|
-
// Intentionally detached
|
|
113
|
-
(async () => {
|
|
114
|
-
try {
|
|
115
|
-
const element = await nextItem.value;
|
|
116
|
-
|
|
117
|
-
if (isResolved) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
const value = await mapper(element, index);
|
|
122
|
-
|
|
123
|
-
// Use Map to stage the index of the element.
|
|
124
|
-
if (value === pMapSkip) {
|
|
125
|
-
skippedIndexesMap.set(index, value);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
result[index] = value;
|
|
129
|
-
|
|
130
|
-
resolvingCount--;
|
|
131
|
-
await next();
|
|
132
|
-
} catch (error) {
|
|
133
|
-
if (stopOnError) {
|
|
134
|
-
reject(error);
|
|
135
|
-
} else {
|
|
136
|
-
errors.push(error);
|
|
137
|
-
resolvingCount--;
|
|
138
|
-
|
|
139
|
-
// In that case we can't really continue regardless of `stopOnError` state
|
|
140
|
-
// since an iterable is likely to continue throwing after it throws once.
|
|
141
|
-
// If we continue calling `next()` indefinitely we will likely end up
|
|
142
|
-
// in an infinite loop of failed iteration.
|
|
143
|
-
try {
|
|
144
|
-
await next();
|
|
145
|
-
} catch (error) {
|
|
146
|
-
reject(error);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
})();
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
// Create the concurrent runners in a detached (non-awaited)
|
|
154
|
-
// promise. We need this so we can await the `next()` calls
|
|
155
|
-
// to stop creating runners before hitting the concurrency limit
|
|
156
|
-
// if the iterable has already been marked as done.
|
|
157
|
-
// NOTE: We *must* do this for async iterators otherwise we'll spin up
|
|
158
|
-
// infinite `next()` calls by default and never start the event loop.
|
|
159
|
-
(async () => {
|
|
160
|
-
for (let index = 0; index < concurrency; index++) {
|
|
161
|
-
try {
|
|
162
|
-
// eslint-disable-next-line no-await-in-loop
|
|
163
|
-
await next();
|
|
164
|
-
} catch (error) {
|
|
165
|
-
reject(error);
|
|
166
|
-
break;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
if (isIterableDone || isRejected) {
|
|
170
|
-
break;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
})();
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export function pMapIterable(
|
|
178
|
-
iterable,
|
|
179
|
-
mapper,
|
|
180
|
-
{
|
|
181
|
-
concurrency = Number.POSITIVE_INFINITY,
|
|
182
|
-
backpressure = concurrency,
|
|
183
|
-
} = {},
|
|
184
|
-
) {
|
|
185
|
-
if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {
|
|
186
|
-
throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
if (typeof mapper !== 'function') {
|
|
190
|
-
throw new TypeError('Mapper function is required');
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
if (!((Number.isSafeInteger(concurrency) && concurrency >= 1) || concurrency === Number.POSITIVE_INFINITY)) {
|
|
194
|
-
throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
if (!((Number.isSafeInteger(backpressure) && backpressure >= concurrency) || backpressure === Number.POSITIVE_INFINITY)) {
|
|
198
|
-
throw new TypeError(`Expected \`backpressure\` to be an integer from \`concurrency\` (${concurrency}) and up or \`Infinity\`, got \`${backpressure}\` (${typeof backpressure})`);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
return {
|
|
202
|
-
async * [Symbol.asyncIterator]() {
|
|
203
|
-
const iterator = iterable[Symbol.asyncIterator] === undefined ? iterable[Symbol.iterator]() : iterable[Symbol.asyncIterator]();
|
|
204
|
-
|
|
205
|
-
const promises = [];
|
|
206
|
-
let runningMappersCount = 0;
|
|
207
|
-
let isDone = false;
|
|
208
|
-
let index = 0;
|
|
209
|
-
|
|
210
|
-
function trySpawn() {
|
|
211
|
-
if (isDone || !(runningMappersCount < concurrency && promises.length < backpressure)) {
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
const promise = (async () => {
|
|
216
|
-
const {done, value} = await iterator.next();
|
|
217
|
-
|
|
218
|
-
if (done) {
|
|
219
|
-
return {done: true};
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
runningMappersCount++;
|
|
223
|
-
|
|
224
|
-
// Spawn if still below concurrency and backpressure limit
|
|
225
|
-
trySpawn();
|
|
226
|
-
|
|
227
|
-
try {
|
|
228
|
-
const returnValue = await mapper(await value, index++);
|
|
229
|
-
|
|
230
|
-
runningMappersCount--;
|
|
231
|
-
|
|
232
|
-
if (returnValue === pMapSkip) {
|
|
233
|
-
const index = promises.indexOf(promise);
|
|
234
|
-
|
|
235
|
-
if (index > 0) {
|
|
236
|
-
promises.splice(index, 1);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
// Spawn if still below backpressure limit and just dropped below concurrency limit
|
|
241
|
-
trySpawn();
|
|
242
|
-
|
|
243
|
-
return {done: false, value: returnValue};
|
|
244
|
-
} catch (error) {
|
|
245
|
-
isDone = true;
|
|
246
|
-
return {error};
|
|
247
|
-
}
|
|
248
|
-
})();
|
|
249
|
-
|
|
250
|
-
promises.push(promise);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
trySpawn();
|
|
254
|
-
|
|
255
|
-
while (promises.length > 0) {
|
|
256
|
-
const {error, done, value} = await promises[0]; // eslint-disable-line no-await-in-loop
|
|
257
|
-
|
|
258
|
-
promises.shift();
|
|
259
|
-
|
|
260
|
-
if (error) {
|
|
261
|
-
throw error;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
if (done) {
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// Spawn if just dropped below backpressure limit and below the concurrency limit
|
|
269
|
-
trySpawn();
|
|
270
|
-
|
|
271
|
-
if (value === pMapSkip) {
|
|
272
|
-
continue;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
yield value;
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
};
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
export const pMapSkip = Symbol('skip');
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# p-map
|
|
2
|
-
|
|
3
|
-
> Map over promises concurrently
|
|
4
|
-
|
|
5
|
-
Useful when you need to run promise-returning & async functions multiple times with different inputs concurrently.
|
|
6
|
-
|
|
7
|
-
This is different from `Promise.all()` in that you can control the concurrency and also decide whether or not to stop iterating when there's an error.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install p-map
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import pMap from 'p-map';
|
|
19
|
-
import got from 'got';
|
|
20
|
-
|
|
21
|
-
const sites = [
|
|
22
|
-
getWebsiteFromUsername('sindresorhus'), //=> Promise
|
|
23
|
-
'https://avajs.dev',
|
|
24
|
-
'https://github.com'
|
|
25
|
-
];
|
|
26
|
-
|
|
27
|
-
const mapper = async site => {
|
|
28
|
-
const {requestUrl} = await got.head(site);
|
|
29
|
-
return requestUrl;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const result = await pMap(sites, mapper, {concurrency: 2});
|
|
33
|
-
|
|
34
|
-
console.log(result);
|
|
35
|
-
//=> ['https://sindresorhus.com/', 'https://avajs.dev/', 'https://github.com/']
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## API
|
|
39
|
-
|
|
40
|
-
### pMap(input, mapper, options?)
|
|
41
|
-
|
|
42
|
-
Returns a `Promise` that is fulfilled when all promises in `input` and ones returned from `mapper` are fulfilled, or rejects if any of the promises reject. The fulfilled value is an `Array` of the fulfilled values returned from `mapper` in `input` order.
|
|
43
|
-
|
|
44
|
-
### pMapIterable(input, mapper, options?)
|
|
45
|
-
|
|
46
|
-
Returns an async iterable that streams each return value from `mapper` in order.
|
|
47
|
-
|
|
48
|
-
```js
|
|
49
|
-
import {pMapIterable} from 'p-map';
|
|
50
|
-
|
|
51
|
-
// Multiple posts are fetched concurrently, with limited concurrency and backpressure
|
|
52
|
-
for await (const post of pMapIterable(postIds, getPostMetadata, {concurrency: 8})) {
|
|
53
|
-
console.log(post);
|
|
54
|
-
};
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
#### input
|
|
58
|
-
|
|
59
|
-
Type: `AsyncIterable<Promise<unknown> | unknown> | Iterable<Promise<unknown> | unknown>`
|
|
60
|
-
|
|
61
|
-
Synchronous or asynchronous iterable that is iterated over concurrently, calling the `mapper` function for each element. Each iterated item is `await`'d before the `mapper` is invoked so the iterable may return a `Promise` that resolves to an item.
|
|
62
|
-
|
|
63
|
-
Asynchronous iterables (different from synchronous iterables that return `Promise` that resolves to an item) can be used when the next item may not be ready without waiting for an asynchronous process to complete and/or the end of the iterable may be reached after the asynchronous process completes. For example, reading from a remote queue when the queue has reached empty, or reading lines from a stream.
|
|
64
|
-
|
|
65
|
-
#### mapper(element, index)
|
|
66
|
-
|
|
67
|
-
Type: `Function`
|
|
68
|
-
|
|
69
|
-
Expected to return a `Promise` or value.
|
|
70
|
-
|
|
71
|
-
#### options
|
|
72
|
-
|
|
73
|
-
Type: `object`
|
|
74
|
-
|
|
75
|
-
##### concurrency
|
|
76
|
-
|
|
77
|
-
Type: `number` *(Integer)*\
|
|
78
|
-
Default: `Infinity`\
|
|
79
|
-
Minimum: `1`
|
|
80
|
-
|
|
81
|
-
Number of concurrently pending promises returned by `mapper`.
|
|
82
|
-
|
|
83
|
-
##### backpressure
|
|
84
|
-
|
|
85
|
-
**Only for `pMapIterable`**
|
|
86
|
-
|
|
87
|
-
Type: `number` *(Integer)*\
|
|
88
|
-
Default: `options.concurrency`\
|
|
89
|
-
Minimum: `options.concurrency`
|
|
90
|
-
|
|
91
|
-
Maximum number of promises returned by `mapper` that have resolved but not yet collected by the consumer of the async iterable. Calls to `mapper` will be limited so that there is never too much backpressure.
|
|
92
|
-
|
|
93
|
-
Useful whenever you are consuming the iterable slower than what the mapper function can produce concurrently. For example, to avoid making an overwhelming number of HTTP requests if you are saving each of the results to a database.
|
|
94
|
-
|
|
95
|
-
##### stopOnError
|
|
96
|
-
|
|
97
|
-
**Only for `pMap`**
|
|
98
|
-
|
|
99
|
-
Type: `boolean`\
|
|
100
|
-
Default: `true`
|
|
101
|
-
|
|
102
|
-
When `true`, the first mapper rejection will be rejected back to the consumer.
|
|
103
|
-
|
|
104
|
-
When `false`, instead of stopping when a promise rejects, it will wait for all the promises to settle and then reject with an [`AggregateError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) containing all the errors from the rejected promises.
|
|
105
|
-
|
|
106
|
-
Caveat: When `true`, any already-started async mappers will continue to run until they resolve or reject. In the case of infinite concurrency with sync iterables, *all* mappers are invoked on startup and will continue after the first rejection. [Issue #51](https://github.com/sindresorhus/p-map/issues/51) can be implemented for abort control.
|
|
107
|
-
|
|
108
|
-
##### signal
|
|
109
|
-
|
|
110
|
-
**Only for `pMap`**
|
|
111
|
-
|
|
112
|
-
Type: [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal)
|
|
113
|
-
|
|
114
|
-
You can abort the promises using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
|
|
115
|
-
|
|
116
|
-
```js
|
|
117
|
-
import pMap from 'p-map';
|
|
118
|
-
import delay from 'delay';
|
|
119
|
-
|
|
120
|
-
const abortController = new AbortController();
|
|
121
|
-
|
|
122
|
-
setTimeout(() => {
|
|
123
|
-
abortController.abort();
|
|
124
|
-
}, 500);
|
|
125
|
-
|
|
126
|
-
const mapper = async value => value;
|
|
127
|
-
|
|
128
|
-
await pMap([delay(1000), delay(1000)], mapper, {signal: abortController.signal});
|
|
129
|
-
// Throws AbortError (DOMException) after 500 ms.
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### pMapSkip
|
|
133
|
-
|
|
134
|
-
Return this value from a `mapper` function to skip including the value in the returned array.
|
|
135
|
-
|
|
136
|
-
```js
|
|
137
|
-
import pMap, {pMapSkip} from 'p-map';
|
|
138
|
-
import got from 'got';
|
|
139
|
-
|
|
140
|
-
const sites = [
|
|
141
|
-
getWebsiteFromUsername('sindresorhus'), //=> Promise
|
|
142
|
-
'https://avajs.dev',
|
|
143
|
-
'https://example.invalid',
|
|
144
|
-
'https://github.com'
|
|
145
|
-
];
|
|
146
|
-
|
|
147
|
-
const mapper = async site => {
|
|
148
|
-
try {
|
|
149
|
-
const {requestUrl} = await got.head(site);
|
|
150
|
-
return requestUrl;
|
|
151
|
-
} catch {
|
|
152
|
-
return pMapSkip;
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
const result = await pMap(sites, mapper, {concurrency: 2});
|
|
157
|
-
|
|
158
|
-
console.log(result);
|
|
159
|
-
//=> ['https://sindresorhus.com/', 'https://avajs.dev/', 'https://github.com/']
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
## Related
|
|
163
|
-
|
|
164
|
-
- [p-all](https://github.com/sindresorhus/p-all) - Run promise-returning & async functions concurrently with optional limited concurrency
|
|
165
|
-
- [p-filter](https://github.com/sindresorhus/p-filter) - Filter promises concurrently
|
|
166
|
-
- [p-times](https://github.com/sindresorhus/p-times) - Run promise-returning & async functions a specific number of times concurrently
|
|
167
|
-
- [p-props](https://github.com/sindresorhus/p-props) - Like `Promise.all()` but for `Map` and `Object`
|
|
168
|
-
- [p-map-series](https://github.com/sindresorhus/p-map-series) - Map over promises serially
|
|
169
|
-
- [More…](https://github.com/sindresorhus/promise-fun)
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import test from 'node:test';
|
|
2
|
-
import assert from 'node:assert/strict';
|
|
3
|
-
import pMap,{pMapIterable,pMapSkip} from './index.js';
|
|
4
|
-
test('ordinary map and iterable keep input order',async()=>{assert.deepEqual(await pMap([1,2,3],value=>value*2),[2,4,6]);const values=[];for await(const value of pMapIterable([1,2,3],value=>value*2)) values.push(value);assert.deepEqual(values,[2,4,6]);});
|
|
5
|
-
test('skip remains distinct from an ordinary value',async()=>{assert.deepEqual(await pMap([0,1,2],value=>value===1?pMapSkip:value),[0,2]);});
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
pMapIterable with an asynchronous input source starts too many mappers when backpressure is larger than concurrency. Diagnose and repair the concurrency limit without disabling supported backpressure or changing output order.
|
|
2
|
-
|
|
3
|
-
This is pinned historical upstream source. It has no runtime package dependencies; npm test uses only Node. Change index.js and add a new executable *.test.mjs regression using node:test and the public API. Keep supplied tests, metadata and documentation unchanged. Explain the cause and checks actually run. Do not fetch upstream fixes or use the network.
|