@velum-labs/routekit-eval-setup 1.3.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/authoring-responses-request.d.ts +5 -0
- package/dist/adapters/authoring-responses-request.js +38 -0
- package/dist/adapters/evaluation-evidence-freshness.d.ts +7 -0
- package/dist/adapters/evaluation-evidence-freshness.js +76 -0
- package/dist/adapters/git-task-history.d.ts +67 -0
- package/dist/adapters/git-task-history.js +171 -0
- package/dist/adapters/integrated-repository-history.d.ts +21 -0
- package/dist/adapters/integrated-repository-history.js +175 -0
- package/dist/adapters/repository-command-diagnostic.d.ts +8 -0
- package/dist/adapters/repository-command-diagnostic.js +46 -0
- package/dist/adapters/repository-command-evidence.d.ts +13 -0
- package/dist/adapters/repository-command-evidence.js +102 -0
- package/dist/adapters/repository-command-runner.d.ts +238 -0
- package/dist/adapters/repository-command-runner.js +1483 -0
- package/dist/adapters/repository-import-context.d.ts +47 -0
- package/dist/adapters/repository-import-context.js +469 -0
- package/dist/adapters/repository-node-test-reporter.d.ts +3 -0
- package/dist/adapters/repository-node-test-reporter.js +27 -0
- package/dist/adapters/repository-review-evidence.d.ts +39 -0
- package/dist/adapters/repository-review-evidence.js +632 -0
- package/dist/adapters/repository-seed-selection.d.ts +7 -0
- package/dist/adapters/repository-seed-selection.js +79 -0
- package/dist/adapters/repository-solution-edits.d.ts +49 -0
- package/dist/adapters/repository-solution-edits.js +136 -0
- package/dist/adapters/repository-vitest-phase-adapter.d.ts +8 -0
- package/dist/adapters/repository-vitest-phase-adapter.js +310 -0
- package/dist/adapters/repository-vitest-reporter.d.ts +24 -0
- package/dist/adapters/repository-vitest-reporter.js +314 -0
- package/dist/adapters/strict-authoring-schema.d.ts +5 -0
- package/dist/adapters/strict-authoring-schema.js +158 -0
- package/dist/adapters/test-discovery.d.ts +30 -0
- package/dist/adapters/test-discovery.js +124 -0
- package/dist/adapters/typescript-repository-index.d.ts +51 -0
- package/dist/adapters/typescript-repository-index.js +226 -0
- package/dist/agentic-capabilities-protocol.d.ts +1373 -0
- package/dist/agentic-capabilities-protocol.js +786 -0
- package/dist/case-checkpoint-store.d.ts +29 -0
- package/dist/case-checkpoint-store.js +133 -0
- package/dist/case-pipeline-protocol-v2.d.ts +184 -0
- package/dist/case-pipeline-protocol-v2.js +193 -0
- package/dist/case-pipeline-protocol.d.ts +2626 -0
- package/dist/case-pipeline-protocol.js +371 -0
- package/dist/effect-api.d.ts +74 -10
- package/dist/effect-api.js +56 -6
- package/dist/errors.d.ts +31 -0
- package/dist/errors.js +10 -0
- package/dist/eval-capability-execution-envelope.d.ts +64 -0
- package/dist/eval-capability-execution-envelope.js +98 -0
- package/dist/eval-capability-policy.d.ts +90 -0
- package/dist/eval-capability-policy.js +107 -0
- package/dist/eval-event-log.d.ts +140 -0
- package/dist/eval-event-log.js +220 -0
- package/dist/evaluation-authoring-policy.d.ts +18 -0
- package/dist/evaluation-authoring-policy.js +19 -0
- package/dist/evaluation-authoring-validation.d.ts +22 -0
- package/dist/evaluation-authoring-validation.js +72 -0
- package/dist/evaluation-evidence.d.ts +20 -0
- package/dist/evaluation-evidence.js +319 -0
- package/dist/evaluation-grader-calibration-protocol.d.ts +108 -0
- package/dist/evaluation-grader-calibration-protocol.js +80 -0
- package/dist/evaluation-grader-calibration.d.ts +18 -0
- package/dist/evaluation-grader-calibration.js +334 -0
- package/dist/evaluation-grading-policy.d.ts +24 -0
- package/dist/evaluation-grading-policy.js +54 -0
- package/dist/evaluation-proposal-policy.d.ts +4 -0
- package/dist/evaluation-proposal-policy.js +91 -0
- package/dist/evaluation-source-retrieval.d.ts +68 -0
- package/dist/evaluation-source-retrieval.js +513 -0
- package/dist/evaluation-structure-policy.d.ts +29 -0
- package/dist/evaluation-structure-policy.js +138 -0
- package/dist/index.d.ts +124 -17
- package/dist/index.js +69 -11
- package/dist/inspection.js +2 -3
- package/dist/project-artifacts.d.ts +7 -2
- package/dist/project-artifacts.js +49 -136
- package/dist/project-authoring.d.ts +66 -5
- package/dist/project-authoring.js +783 -109
- package/dist/project-contracts.d.ts +419 -84
- package/dist/project-contracts.js +160 -52
- package/dist/project-store.js +2 -1
- package/dist/project-workflow.d.ts +5 -4
- package/dist/project-workflow.js +154 -35
- package/dist/repository-adversary-protocol.d.ts +64 -0
- package/dist/repository-adversary-protocol.js +105 -0
- package/dist/repository-behavior-protocol.d.ts +188 -0
- package/dist/repository-behavior-protocol.js +202 -0
- package/dist/repository-benchmark-protocol.d.ts +487 -0
- package/dist/repository-benchmark-protocol.js +96 -0
- package/dist/repository-execution-protocol.d.ts +150 -0
- package/dist/repository-execution-protocol.js +38 -0
- package/dist/repository-fixture-instructions.d.ts +3 -0
- package/dist/repository-fixture-instructions.js +91 -0
- package/dist/repository-fixture-protocol.d.ts +79 -0
- package/dist/repository-fixture-protocol.js +79 -0
- package/dist/repository-foundry-plan-protocol.d.ts +118 -0
- package/dist/repository-foundry-plan-protocol.js +296 -0
- package/dist/repository-foundry-progress-protocol.d.ts +52 -0
- package/dist/repository-foundry-progress-protocol.js +52 -0
- package/dist/repository-improvement-protocol.d.ts +100 -0
- package/dist/repository-improvement-protocol.js +106 -0
- package/dist/repository-language-model-protocol.d.ts +43 -0
- package/dist/repository-language-model-protocol.js +146 -0
- package/dist/repository-oracle-coverage-protocol.d.ts +18 -0
- package/dist/repository-oracle-coverage-protocol.js +39 -0
- package/dist/repository-oracle-execution-binding.d.ts +27 -0
- package/dist/repository-oracle-execution-binding.js +59 -0
- package/dist/repository-oracle-protocol.d.ts +230 -0
- package/dist/repository-oracle-protocol.js +156 -0
- package/dist/repository-oracle-scope-policy.d.ts +22 -0
- package/dist/repository-oracle-scope-policy.js +92 -0
- package/dist/repository-quality-policy.d.ts +15 -0
- package/dist/repository-quality-policy.js +357 -0
- package/dist/repository-routing-benchmark-protocol.d.ts +176 -0
- package/dist/repository-routing-benchmark-protocol.js +103 -0
- package/dist/repository-routing-model-protocol.d.ts +36 -0
- package/dist/repository-routing-model-protocol.js +89 -0
- package/dist/repository-routing-plan-protocol.d.ts +112 -0
- package/dist/repository-routing-plan-protocol.js +58 -0
- package/dist/repository-routing-quality-policy.d.ts +9 -0
- package/dist/repository-routing-quality-policy.js +191 -0
- package/dist/repository-seed-qualification-progress-protocol.d.ts +205 -0
- package/dist/repository-seed-qualification-progress-protocol.js +28 -0
- package/dist/repository-semantic-calibration-protocol.d.ts +768 -0
- package/dist/repository-semantic-calibration-protocol.js +276 -0
- package/dist/repository-semantic-calibration.d.ts +163 -0
- package/dist/repository-semantic-calibration.js +581 -0
- package/dist/repository-specification-contract-facts-protocol.d.ts +224 -0
- package/dist/repository-specification-contract-facts-protocol.js +276 -0
- package/dist/repository-specification-critique-protocol.d.ts +189 -0
- package/dist/repository-specification-critique-protocol.js +103 -0
- package/dist/repository-task-family-protocol.d.ts +24 -0
- package/dist/repository-task-family-protocol.js +37 -0
- package/dist/repository-task-seed-protocol.d.ts +384 -0
- package/dist/repository-task-seed-protocol.js +236 -0
- package/dist/repository-trajectory-protocol.d.ts +20 -0
- package/dist/repository-trajectory-protocol.js +42 -0
- package/dist/service.js +1 -1
- package/dist/services/adversary/service.d.ts +64 -0
- package/dist/services/adversary/service.js +330 -0
- package/dist/services/benchmark-compiler/service.d.ts +450 -0
- package/dist/services/benchmark-compiler/service.js +9 -0
- package/dist/services/budgeted-model/service.d.ts +118 -0
- package/dist/services/budgeted-model/service.js +460 -0
- package/dist/services/case-authoring/service.d.ts +163 -0
- package/dist/services/case-authoring/service.js +1456 -0
- package/dist/services/case-finalization/service.d.ts +283 -0
- package/dist/services/case-finalization/service.js +370 -0
- package/dist/services/case-generation/service.d.ts +619 -0
- package/dist/services/case-generation/service.js +2628 -0
- package/dist/services/case-pipeline/service.d.ts +31 -0
- package/dist/services/case-pipeline/service.js +485 -0
- package/dist/services/case-pipeline-v2/service.d.ts +70 -0
- package/dist/services/case-pipeline-v2/service.js +477 -0
- package/dist/services/command-observability/service.d.ts +13 -0
- package/dist/services/command-observability/service.js +3 -0
- package/dist/services/dimension-labeling/service.d.ts +77 -0
- package/dist/services/dimension-labeling/service.js +188 -0
- package/dist/services/eval-candidate/service.d.ts +208 -0
- package/dist/services/eval-candidate/service.js +64 -0
- package/dist/services/eval-capabilities/service.d.ts +183 -0
- package/dist/services/eval-capabilities/service.js +1433 -0
- package/dist/services/eval-environment/service.d.ts +173 -0
- package/dist/services/eval-environment/service.js +127 -0
- package/dist/services/evidence-reconstruction/service.d.ts +36 -0
- package/dist/services/evidence-reconstruction/service.js +145 -0
- package/dist/services/fixture-builder/service.d.ts +62 -0
- package/dist/services/fixture-builder/service.js +36 -0
- package/dist/services/fixture-validation/service.d.ts +75 -0
- package/dist/services/fixture-validation/service.js +295 -0
- package/dist/services/foundry/service.d.ts +831 -0
- package/dist/services/foundry/service.js +442 -0
- package/dist/services/foundry-progress/service.d.ts +62 -0
- package/dist/services/foundry-progress/service.js +149 -0
- package/dist/services/foundry-v2/service.d.ts +54 -0
- package/dist/services/foundry-v2/service.js +28 -0
- package/dist/services/grounded-authoring/service.d.ts +126 -0
- package/dist/services/grounded-authoring/service.js +822 -0
- package/dist/services/historical-case/service.d.ts +722 -0
- package/dist/services/historical-case/service.js +177 -0
- package/dist/services/improvement-loop/service.d.ts +59 -0
- package/dist/services/improvement-loop/service.js +176 -0
- package/dist/services/language-model/service.d.ts +52 -0
- package/dist/services/language-model/service.js +194 -0
- package/dist/services/oracle-builder/service.d.ts +146 -0
- package/dist/services/oracle-builder/service.js +513 -0
- package/dist/services/oracle-coverage/service.d.ts +28 -0
- package/dist/services/oracle-coverage/service.js +50 -0
- package/dist/services/oracle-coverage-witness/service.d.ts +130 -0
- package/dist/services/oracle-coverage-witness/service.js +538 -0
- package/dist/services/pipeline-challenge/service.d.ts +551 -0
- package/dist/services/pipeline-challenge/service.js +427 -0
- package/dist/services/pipeline-controls/service.d.ts +130 -0
- package/dist/services/pipeline-controls/service.js +483 -0
- package/dist/services/pipeline-oracle/service.d.ts +8 -0
- package/dist/services/pipeline-oracle/service.js +256 -0
- package/dist/services/pipeline-seed/service.d.ts +298 -0
- package/dist/services/pipeline-seed/service.js +428 -0
- package/dist/services/pipeline-spec/service.d.ts +103 -0
- package/dist/services/pipeline-spec/service.js +619 -0
- package/dist/services/pipeline-tournament/service.d.ts +258 -0
- package/dist/services/pipeline-tournament/service.js +476 -0
- package/dist/services/quality-gate/service.d.ts +233 -0
- package/dist/services/quality-gate/service.js +136 -0
- package/dist/services/repository-bundle/service.d.ts +33 -0
- package/dist/services/repository-bundle/service.js +114 -0
- package/dist/services/repository-model/service.d.ts +105 -0
- package/dist/services/repository-model/service.js +250 -0
- package/dist/services/repository-public-artifact/service.d.ts +133 -0
- package/dist/services/repository-public-artifact/service.js +330 -0
- package/dist/services/routing-benchmark/service.d.ts +362 -0
- package/dist/services/routing-benchmark/service.js +96 -0
- package/dist/services/specification-critic/service.d.ts +92 -0
- package/dist/services/specification-critic/service.js +172 -0
- package/dist/services/task-family/service.d.ts +40 -0
- package/dist/services/task-family/service.js +55 -0
- package/dist/services/task-seed/service.d.ts +906 -0
- package/dist/services/task-seed/service.js +1406 -0
- package/dist/services/task-specification/service.d.ts +27 -0
- package/dist/services/task-specification/service.js +40 -0
- package/dist/services/trajectory-policy/service.d.ts +110 -0
- package/dist/services/trajectory-policy/service.js +216 -0
- package/dist/test/agentic-capabilities-protocol.test.d.ts +1 -0
- package/dist/test/agentic-capabilities-protocol.test.js +570 -0
- package/dist/test/agentic-capabilities.test.d.ts +1 -0
- package/dist/test/agentic-capabilities.test.js +1461 -0
- package/dist/test/agentic-environment.test.d.ts +1 -0
- package/dist/test/agentic-environment.test.js +213 -0
- package/dist/test/case-pipeline-foundation.test.d.ts +1 -0
- package/dist/test/case-pipeline-foundation.test.js +535 -0
- package/dist/test/case-pipeline-protocol-v2.test.d.ts +1 -0
- package/dist/test/case-pipeline-protocol-v2.test.js +124 -0
- package/dist/test/case-pipeline-v2.test.d.ts +1 -0
- package/dist/test/case-pipeline-v2.test.js +286 -0
- package/dist/test/case-pipeline.test.d.ts +1 -0
- package/dist/test/case-pipeline.test.js +851 -0
- package/dist/test/eval-capability-policy.test.d.ts +1 -0
- package/dist/test/eval-capability-policy.test.js +50 -0
- package/dist/test/eval-event-log.test.d.ts +1 -0
- package/dist/test/eval-event-log.test.js +125 -0
- package/dist/test/evaluation-evidence-freshness.test.d.ts +1 -0
- package/dist/test/evaluation-evidence-freshness.test.js +44 -0
- package/dist/test/evaluation-evidence.test.d.ts +1 -0
- package/dist/test/evaluation-evidence.test.js +230 -0
- package/dist/test/evaluation-grader-calibration.test.d.ts +1 -0
- package/dist/test/evaluation-grader-calibration.test.js +373 -0
- package/dist/test/evaluation-proposal-digest.test.d.ts +1 -0
- package/dist/test/evaluation-proposal-digest.test.js +187 -0
- package/dist/test/evaluation-source-retrieval.test.d.ts +1 -0
- package/dist/test/evaluation-source-retrieval.test.js +237 -0
- package/dist/test/evaluation-structure-policy.test.d.ts +1 -0
- package/dist/test/evaluation-structure-policy.test.js +196 -0
- package/dist/test/fixtures/repository-resource-panel.d.ts +39 -0
- package/dist/test/fixtures/repository-resource-panel.js +111 -0
- package/dist/test/fixtures/vitest-boundary-panel.d.ts +84 -0
- package/dist/test/fixtures/vitest-boundary-panel.js +120 -0
- package/dist/test/fixtures/vitest-phase-panel.d.ts +135 -0
- package/dist/test/fixtures/vitest-phase-panel.js +213 -0
- package/dist/test/fixtures/vitest-reporter-results.d.ts +76 -0
- package/dist/test/fixtures/vitest-reporter-results.js +94 -0
- package/dist/test/grounded-authoring.test.d.ts +1 -0
- package/dist/test/grounded-authoring.test.js +565 -0
- package/dist/test/integrated-repository-history.test.d.ts +1 -0
- package/dist/test/integrated-repository-history.test.js +227 -0
- package/dist/test/project-authoring.test.js +593 -43
- package/dist/test/project-workflow.test.js +419 -40
- package/dist/test/repository-authoring-artifacts.test.d.ts +1 -0
- package/dist/test/repository-authoring-artifacts.test.js +185 -0
- package/dist/test/repository-bundle.test.d.ts +1 -0
- package/dist/test/repository-bundle.test.js +52 -0
- package/dist/test/repository-case-generation.test.d.ts +1 -0
- package/dist/test/repository-case-generation.test.js +3465 -0
- package/dist/test/repository-command-diagnostic.test.d.ts +1 -0
- package/dist/test/repository-command-diagnostic.test.js +55 -0
- package/dist/test/repository-command-signals.test.d.ts +1 -0
- package/dist/test/repository-command-signals.test.js +124 -0
- package/dist/test/repository-fixture-scope-coverage.test.d.ts +1 -0
- package/dist/test/repository-fixture-scope-coverage.test.js +127 -0
- package/dist/test/repository-fixture-validation.test.d.ts +1 -0
- package/dist/test/repository-fixture-validation.test.js +362 -0
- package/dist/test/repository-foundry-progress.test.d.ts +1 -0
- package/dist/test/repository-foundry-progress.test.js +110 -0
- package/dist/test/repository-foundry-quality.test.d.ts +1 -0
- package/dist/test/repository-foundry-quality.test.js +1138 -0
- package/dist/test/repository-import-context.test.d.ts +1 -0
- package/dist/test/repository-import-context.test.js +354 -0
- package/dist/test/repository-model-authoring.test.d.ts +1 -0
- package/dist/test/repository-model-authoring.test.js +544 -0
- package/dist/test/repository-model.test.d.ts +1 -0
- package/dist/test/repository-model.test.js +2195 -0
- package/dist/test/repository-node-test-reporter.test.d.ts +1 -0
- package/dist/test/repository-node-test-reporter.test.js +104 -0
- package/dist/test/repository-oracle-concurrency.test.d.ts +1 -0
- package/dist/test/repository-oracle-concurrency.test.js +542 -0
- package/dist/test/repository-oracle-coverage-witness.test.d.ts +1 -0
- package/dist/test/repository-oracle-coverage-witness.test.js +511 -0
- package/dist/test/repository-oracle-coverage.test.d.ts +1 -0
- package/dist/test/repository-oracle-coverage.test.js +168 -0
- package/dist/test/repository-oracle-evidence.test.d.ts +1 -0
- package/dist/test/repository-oracle-evidence.test.js +185 -0
- package/dist/test/repository-oracle-plan.test.d.ts +1 -0
- package/dist/test/repository-oracle-plan.test.js +176 -0
- package/dist/test/repository-overlay-isolation.test.d.ts +1 -0
- package/dist/test/repository-overlay-isolation.test.js +85 -0
- package/dist/test/repository-preparation-cache.test.d.ts +1 -0
- package/dist/test/repository-preparation-cache.test.js +414 -0
- package/dist/test/repository-public-artifact.test.d.ts +1 -0
- package/dist/test/repository-public-artifact.test.js +273 -0
- package/dist/test/repository-qualification-diagnostics.test.d.ts +1 -0
- package/dist/test/repository-qualification-diagnostics.test.js +524 -0
- package/dist/test/repository-reference-authoring.test.d.ts +1 -0
- package/dist/test/repository-reference-authoring.test.js +1633 -0
- package/dist/test/repository-review-evidence-v2.test.d.ts +1 -0
- package/dist/test/repository-review-evidence-v2.test.js +183 -0
- package/dist/test/repository-review-evidence.test.d.ts +1 -0
- package/dist/test/repository-review-evidence.test.js +124 -0
- package/dist/test/repository-seed-exclusions.test.d.ts +1 -0
- package/dist/test/repository-seed-exclusions.test.js +96 -0
- package/dist/test/repository-seed-selection.test.d.ts +1 -0
- package/dist/test/repository-seed-selection.test.js +504 -0
- package/dist/test/repository-semantic-calibration.test.d.ts +1 -0
- package/dist/test/repository-semantic-calibration.test.js +688 -0
- package/dist/test/repository-solution-edits.test.d.ts +1 -0
- package/dist/test/repository-solution-edits.test.js +377 -0
- package/dist/test/repository-specification-budget.test.d.ts +1 -0
- package/dist/test/repository-specification-budget.test.js +171 -0
- package/dist/test/repository-specification-contract-checkpoint.test.d.ts +1 -0
- package/dist/test/repository-specification-contract-checkpoint.test.js +228 -0
- package/dist/test/repository-specification-contract-facts.test.d.ts +1 -0
- package/dist/test/repository-specification-contract-facts.test.js +177 -0
- package/dist/test/repository-trajectory-authoring.test.d.ts +1 -0
- package/dist/test/repository-trajectory-authoring.test.js +176 -0
- package/dist/test/repository-valid-control-plan.test.d.ts +1 -0
- package/dist/test/repository-valid-control-plan.test.js +45 -0
- package/dist/test/repository-vitest-phase.test.d.ts +1 -0
- package/dist/test/repository-vitest-phase.test.js +848 -0
- package/dist/test/repository-vitest-reporter.test.d.ts +1 -0
- package/dist/test/repository-vitest-reporter.test.js +158 -0
- package/dist/test/repository-workspace-build.test.d.ts +1 -0
- package/dist/test/repository-workspace-build.test.js +160 -0
- package/dist/test/strict-authoring-schema.test.d.ts +1 -0
- package/dist/test/strict-authoring-schema.test.js +169 -0
- package/package.json +48 -6
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { type AdmitCheckpointV1, type ChallengeCheckpointV1, type PipelineStageRunV1, type PipelineStageInputV1 } from "../../case-pipeline-protocol.js";
|
|
3
|
+
import { RepositoryFoundryError } from "../../errors.js";
|
|
4
|
+
import { RepositoryFoundryLanguageModel } from "../language-model/service.js";
|
|
5
|
+
type MaterializedHeldOut = ChallengeCheckpointV1["heldOut"][number];
|
|
6
|
+
export declare const runPipelineChallengeCapabilityV1: (input: PipelineStageInputV1<ChallengeCheckpointV1> & {
|
|
7
|
+
readonly materialized?: MaterializedHeldOut;
|
|
8
|
+
readonly resumeOracle?: ChallengeCheckpointV1["oracle"];
|
|
9
|
+
readonly onMaterialized?: (solution: MaterializedHeldOut) => Effect.Effect<void>;
|
|
10
|
+
readonly onOracleProgress?: (solution: MaterializedHeldOut, oracle: ChallengeCheckpointV1["oracle"]) => Effect.Effect<void>;
|
|
11
|
+
}) => Effect.Effect<{
|
|
12
|
+
readonly heldOut: readonly {
|
|
13
|
+
readonly kind: "historical-reference" | "independent-valid" | "simplified-valid" | "behavior-preserving-valid" | "historical-defect" | "mutation" | "model-near-miss" | "reward-hacking";
|
|
14
|
+
readonly id: string;
|
|
15
|
+
readonly expectedClass: "valid" | "wrong";
|
|
16
|
+
readonly commit: string;
|
|
17
|
+
readonly family: string;
|
|
18
|
+
readonly fileOverrides?: readonly ({
|
|
19
|
+
readonly path: string;
|
|
20
|
+
readonly content: string;
|
|
21
|
+
} | {
|
|
22
|
+
readonly path: string;
|
|
23
|
+
readonly delete: true;
|
|
24
|
+
})[] | undefined;
|
|
25
|
+
}[];
|
|
26
|
+
readonly adequacy: {
|
|
27
|
+
readonly version: 1;
|
|
28
|
+
readonly caseId: string;
|
|
29
|
+
readonly admitted: boolean;
|
|
30
|
+
readonly validSolutionCount: number;
|
|
31
|
+
readonly wrongSolutionCount: number;
|
|
32
|
+
readonly falseRejectedSolutionIds: readonly string[];
|
|
33
|
+
readonly falseAcceptedSolutionIds: readonly string[];
|
|
34
|
+
readonly unstableSolutionIds: readonly string[];
|
|
35
|
+
readonly unobservedClauseIds: readonly string[];
|
|
36
|
+
readonly insufficientObservationPairs: readonly string[];
|
|
37
|
+
readonly mutationFamilyKills: readonly {
|
|
38
|
+
readonly family: string;
|
|
39
|
+
readonly killed: number;
|
|
40
|
+
readonly total: number;
|
|
41
|
+
}[];
|
|
42
|
+
readonly rejectionReasons: readonly string[];
|
|
43
|
+
};
|
|
44
|
+
readonly oracle: {
|
|
45
|
+
readonly version: 1;
|
|
46
|
+
readonly fixtures: readonly ({
|
|
47
|
+
readonly kind: "historical-regression";
|
|
48
|
+
readonly expectationMode: "changes";
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly description: string;
|
|
51
|
+
readonly expectedBehavior: string;
|
|
52
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
53
|
+
readonly testPath: string;
|
|
54
|
+
} | {
|
|
55
|
+
readonly kind: "boundary";
|
|
56
|
+
readonly expectationMode: "changes" | "preserved";
|
|
57
|
+
readonly id: string;
|
|
58
|
+
readonly description: string;
|
|
59
|
+
readonly expectedBehavior: string;
|
|
60
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
61
|
+
readonly testPath: string;
|
|
62
|
+
} | {
|
|
63
|
+
readonly kind: "counterfactual";
|
|
64
|
+
readonly expectationMode: "changes";
|
|
65
|
+
readonly id: string;
|
|
66
|
+
readonly description: string;
|
|
67
|
+
readonly expectedBehavior: string;
|
|
68
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
69
|
+
readonly testPath: string;
|
|
70
|
+
} | {
|
|
71
|
+
readonly kind: "metamorphic";
|
|
72
|
+
readonly expectationMode: "preserved";
|
|
73
|
+
readonly id: string;
|
|
74
|
+
readonly description: string;
|
|
75
|
+
readonly expectedBehavior: string;
|
|
76
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
77
|
+
readonly testPath: string;
|
|
78
|
+
})[];
|
|
79
|
+
readonly caseId: string;
|
|
80
|
+
readonly hardFailurePolicy: "any-critical-hard-clause-fails";
|
|
81
|
+
readonly clauses: readonly ({
|
|
82
|
+
readonly kind: "candidate-policy";
|
|
83
|
+
readonly policyId: string;
|
|
84
|
+
readonly forbiddenPaths: readonly string[];
|
|
85
|
+
readonly id: string;
|
|
86
|
+
readonly critical: boolean;
|
|
87
|
+
readonly description: string;
|
|
88
|
+
} | {
|
|
89
|
+
readonly kind: "test-command";
|
|
90
|
+
readonly recipeId: string;
|
|
91
|
+
readonly expectedExitCode: number;
|
|
92
|
+
readonly fixtureIds: readonly string[];
|
|
93
|
+
readonly id: string;
|
|
94
|
+
readonly critical: boolean;
|
|
95
|
+
readonly description: string;
|
|
96
|
+
} | {
|
|
97
|
+
readonly kind: "json-field";
|
|
98
|
+
readonly id: string;
|
|
99
|
+
readonly description: string;
|
|
100
|
+
readonly critical: boolean;
|
|
101
|
+
readonly operator: "equals" | "present" | "absent";
|
|
102
|
+
readonly pointer: string;
|
|
103
|
+
readonly expectedJson?: string | undefined;
|
|
104
|
+
} | {
|
|
105
|
+
readonly kind: "ordered-events";
|
|
106
|
+
readonly id: string;
|
|
107
|
+
readonly description: string;
|
|
108
|
+
readonly critical: boolean;
|
|
109
|
+
readonly eventTypes: readonly string[];
|
|
110
|
+
readonly terminalEvent?: string | undefined;
|
|
111
|
+
} | {
|
|
112
|
+
readonly kind: "property";
|
|
113
|
+
readonly propertyId: string;
|
|
114
|
+
readonly fixtureIds: readonly string[];
|
|
115
|
+
readonly id: string;
|
|
116
|
+
readonly critical: boolean;
|
|
117
|
+
readonly description: string;
|
|
118
|
+
} | {
|
|
119
|
+
readonly kind: "differential";
|
|
120
|
+
readonly implementationIds: readonly string[];
|
|
121
|
+
readonly fixtureIds: readonly string[];
|
|
122
|
+
readonly id: string;
|
|
123
|
+
readonly critical: boolean;
|
|
124
|
+
readonly description: string;
|
|
125
|
+
} | {
|
|
126
|
+
readonly kind: "architecture";
|
|
127
|
+
readonly ruleId: string;
|
|
128
|
+
readonly expectedPaths: readonly string[];
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly critical: boolean;
|
|
131
|
+
readonly description: string;
|
|
132
|
+
} | {
|
|
133
|
+
readonly kind: "transformation-completeness";
|
|
134
|
+
readonly ruleId: string;
|
|
135
|
+
readonly forbiddenLegacyPaths: readonly string[];
|
|
136
|
+
readonly requiredNewPaths: readonly string[];
|
|
137
|
+
readonly id: string;
|
|
138
|
+
readonly critical: boolean;
|
|
139
|
+
readonly description: string;
|
|
140
|
+
} | {
|
|
141
|
+
readonly kind: "semantic-residual";
|
|
142
|
+
readonly criterion: string;
|
|
143
|
+
readonly id: string;
|
|
144
|
+
readonly critical: boolean;
|
|
145
|
+
readonly description: string;
|
|
146
|
+
})[];
|
|
147
|
+
readonly solutions: readonly {
|
|
148
|
+
readonly kind: "historical-reference" | "independent-valid" | "simplified-valid" | "behavior-preserving-valid" | "historical-defect" | "mutation" | "model-near-miss" | "reward-hacking";
|
|
149
|
+
readonly id: string;
|
|
150
|
+
readonly expectedClass: "valid" | "wrong";
|
|
151
|
+
readonly family: string;
|
|
152
|
+
readonly commit?: string | undefined;
|
|
153
|
+
}[];
|
|
154
|
+
readonly observations: readonly {
|
|
155
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
156
|
+
readonly solutionId: string;
|
|
157
|
+
readonly clauseId: string;
|
|
158
|
+
readonly repetition: number;
|
|
159
|
+
readonly detail: string;
|
|
160
|
+
readonly inconclusiveReason?: "unattributed-test-failure" | undefined;
|
|
161
|
+
}[];
|
|
162
|
+
readonly knownLimitations: readonly string[];
|
|
163
|
+
readonly executionBindingDigest?: string | undefined;
|
|
164
|
+
readonly executionRepetitions?: number | undefined;
|
|
165
|
+
};
|
|
166
|
+
readonly verdict: "passed" | "failed";
|
|
167
|
+
readonly fold: number;
|
|
168
|
+
readonly version: 1;
|
|
169
|
+
readonly stage: "challenge";
|
|
170
|
+
readonly parentDigest: string;
|
|
171
|
+
readonly createdAt: string;
|
|
172
|
+
}, RepositoryFoundryError | import("../../case-pipeline-protocol.js").PipelineBudgetExhaustedError, RepositoryFoundryLanguageModel>;
|
|
173
|
+
export declare const runPipelineAdmitStageV1: PipelineStageRunV1<AdmitCheckpointV1>;
|
|
174
|
+
export declare const runPipelineChallengeStageV1: PipelineStageRunV1<ChallengeCheckpointV1>;
|
|
175
|
+
export declare const runPipelineChallengeV1: PipelineStageRunV1<{
|
|
176
|
+
readonly heldOut: readonly {
|
|
177
|
+
readonly kind: "historical-reference" | "independent-valid" | "simplified-valid" | "behavior-preserving-valid" | "historical-defect" | "mutation" | "model-near-miss" | "reward-hacking";
|
|
178
|
+
readonly id: string;
|
|
179
|
+
readonly expectedClass: "valid" | "wrong";
|
|
180
|
+
readonly commit: string;
|
|
181
|
+
readonly family: string;
|
|
182
|
+
readonly fileOverrides?: readonly ({
|
|
183
|
+
readonly path: string;
|
|
184
|
+
readonly content: string;
|
|
185
|
+
} | {
|
|
186
|
+
readonly path: string;
|
|
187
|
+
readonly delete: true;
|
|
188
|
+
})[] | undefined;
|
|
189
|
+
}[];
|
|
190
|
+
readonly adequacy: {
|
|
191
|
+
readonly version: 1;
|
|
192
|
+
readonly caseId: string;
|
|
193
|
+
readonly admitted: boolean;
|
|
194
|
+
readonly validSolutionCount: number;
|
|
195
|
+
readonly wrongSolutionCount: number;
|
|
196
|
+
readonly falseRejectedSolutionIds: readonly string[];
|
|
197
|
+
readonly falseAcceptedSolutionIds: readonly string[];
|
|
198
|
+
readonly unstableSolutionIds: readonly string[];
|
|
199
|
+
readonly unobservedClauseIds: readonly string[];
|
|
200
|
+
readonly insufficientObservationPairs: readonly string[];
|
|
201
|
+
readonly mutationFamilyKills: readonly {
|
|
202
|
+
readonly family: string;
|
|
203
|
+
readonly killed: number;
|
|
204
|
+
readonly total: number;
|
|
205
|
+
}[];
|
|
206
|
+
readonly rejectionReasons: readonly string[];
|
|
207
|
+
};
|
|
208
|
+
readonly oracle: {
|
|
209
|
+
readonly version: 1;
|
|
210
|
+
readonly fixtures: readonly ({
|
|
211
|
+
readonly kind: "historical-regression";
|
|
212
|
+
readonly expectationMode: "changes";
|
|
213
|
+
readonly id: string;
|
|
214
|
+
readonly description: string;
|
|
215
|
+
readonly expectedBehavior: string;
|
|
216
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
217
|
+
readonly testPath: string;
|
|
218
|
+
} | {
|
|
219
|
+
readonly kind: "boundary";
|
|
220
|
+
readonly expectationMode: "changes" | "preserved";
|
|
221
|
+
readonly id: string;
|
|
222
|
+
readonly description: string;
|
|
223
|
+
readonly expectedBehavior: string;
|
|
224
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
225
|
+
readonly testPath: string;
|
|
226
|
+
} | {
|
|
227
|
+
readonly kind: "counterfactual";
|
|
228
|
+
readonly expectationMode: "changes";
|
|
229
|
+
readonly id: string;
|
|
230
|
+
readonly description: string;
|
|
231
|
+
readonly expectedBehavior: string;
|
|
232
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
233
|
+
readonly testPath: string;
|
|
234
|
+
} | {
|
|
235
|
+
readonly kind: "metamorphic";
|
|
236
|
+
readonly expectationMode: "preserved";
|
|
237
|
+
readonly id: string;
|
|
238
|
+
readonly description: string;
|
|
239
|
+
readonly expectedBehavior: string;
|
|
240
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
241
|
+
readonly testPath: string;
|
|
242
|
+
})[];
|
|
243
|
+
readonly caseId: string;
|
|
244
|
+
readonly hardFailurePolicy: "any-critical-hard-clause-fails";
|
|
245
|
+
readonly clauses: readonly ({
|
|
246
|
+
readonly kind: "candidate-policy";
|
|
247
|
+
readonly policyId: string;
|
|
248
|
+
readonly forbiddenPaths: readonly string[];
|
|
249
|
+
readonly id: string;
|
|
250
|
+
readonly critical: boolean;
|
|
251
|
+
readonly description: string;
|
|
252
|
+
} | {
|
|
253
|
+
readonly kind: "test-command";
|
|
254
|
+
readonly recipeId: string;
|
|
255
|
+
readonly expectedExitCode: number;
|
|
256
|
+
readonly fixtureIds: readonly string[];
|
|
257
|
+
readonly id: string;
|
|
258
|
+
readonly critical: boolean;
|
|
259
|
+
readonly description: string;
|
|
260
|
+
} | {
|
|
261
|
+
readonly kind: "json-field";
|
|
262
|
+
readonly id: string;
|
|
263
|
+
readonly description: string;
|
|
264
|
+
readonly critical: boolean;
|
|
265
|
+
readonly operator: "equals" | "present" | "absent";
|
|
266
|
+
readonly pointer: string;
|
|
267
|
+
readonly expectedJson?: string | undefined;
|
|
268
|
+
} | {
|
|
269
|
+
readonly kind: "ordered-events";
|
|
270
|
+
readonly id: string;
|
|
271
|
+
readonly description: string;
|
|
272
|
+
readonly critical: boolean;
|
|
273
|
+
readonly eventTypes: readonly string[];
|
|
274
|
+
readonly terminalEvent?: string | undefined;
|
|
275
|
+
} | {
|
|
276
|
+
readonly kind: "property";
|
|
277
|
+
readonly propertyId: string;
|
|
278
|
+
readonly fixtureIds: readonly string[];
|
|
279
|
+
readonly id: string;
|
|
280
|
+
readonly critical: boolean;
|
|
281
|
+
readonly description: string;
|
|
282
|
+
} | {
|
|
283
|
+
readonly kind: "differential";
|
|
284
|
+
readonly implementationIds: readonly string[];
|
|
285
|
+
readonly fixtureIds: readonly string[];
|
|
286
|
+
readonly id: string;
|
|
287
|
+
readonly critical: boolean;
|
|
288
|
+
readonly description: string;
|
|
289
|
+
} | {
|
|
290
|
+
readonly kind: "architecture";
|
|
291
|
+
readonly ruleId: string;
|
|
292
|
+
readonly expectedPaths: readonly string[];
|
|
293
|
+
readonly id: string;
|
|
294
|
+
readonly critical: boolean;
|
|
295
|
+
readonly description: string;
|
|
296
|
+
} | {
|
|
297
|
+
readonly kind: "transformation-completeness";
|
|
298
|
+
readonly ruleId: string;
|
|
299
|
+
readonly forbiddenLegacyPaths: readonly string[];
|
|
300
|
+
readonly requiredNewPaths: readonly string[];
|
|
301
|
+
readonly id: string;
|
|
302
|
+
readonly critical: boolean;
|
|
303
|
+
readonly description: string;
|
|
304
|
+
} | {
|
|
305
|
+
readonly kind: "semantic-residual";
|
|
306
|
+
readonly criterion: string;
|
|
307
|
+
readonly id: string;
|
|
308
|
+
readonly critical: boolean;
|
|
309
|
+
readonly description: string;
|
|
310
|
+
})[];
|
|
311
|
+
readonly solutions: readonly {
|
|
312
|
+
readonly kind: "historical-reference" | "independent-valid" | "simplified-valid" | "behavior-preserving-valid" | "historical-defect" | "mutation" | "model-near-miss" | "reward-hacking";
|
|
313
|
+
readonly id: string;
|
|
314
|
+
readonly expectedClass: "valid" | "wrong";
|
|
315
|
+
readonly family: string;
|
|
316
|
+
readonly commit?: string | undefined;
|
|
317
|
+
}[];
|
|
318
|
+
readonly observations: readonly {
|
|
319
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
320
|
+
readonly solutionId: string;
|
|
321
|
+
readonly clauseId: string;
|
|
322
|
+
readonly repetition: number;
|
|
323
|
+
readonly detail: string;
|
|
324
|
+
readonly inconclusiveReason?: "unattributed-test-failure" | undefined;
|
|
325
|
+
}[];
|
|
326
|
+
readonly knownLimitations: readonly string[];
|
|
327
|
+
readonly executionBindingDigest?: string | undefined;
|
|
328
|
+
readonly executionRepetitions?: number | undefined;
|
|
329
|
+
};
|
|
330
|
+
readonly verdict: "passed" | "failed";
|
|
331
|
+
readonly fold: number;
|
|
332
|
+
readonly version: 1;
|
|
333
|
+
readonly stage: "challenge";
|
|
334
|
+
readonly parentDigest: string;
|
|
335
|
+
readonly createdAt: string;
|
|
336
|
+
}>;
|
|
337
|
+
export declare const runPipelineAdmitV1: PipelineStageRunV1<{
|
|
338
|
+
readonly benchmarkCase: {
|
|
339
|
+
readonly id: string;
|
|
340
|
+
readonly version: 1;
|
|
341
|
+
readonly rejectionReasons: readonly string[];
|
|
342
|
+
readonly status: "rejected" | "valid-library" | "routing-eligible" | "routing-active";
|
|
343
|
+
readonly seedId: string;
|
|
344
|
+
readonly lane: "request" | "repository-agent";
|
|
345
|
+
readonly qualityFindings: readonly {
|
|
346
|
+
readonly axis: "coverage" | "stability" | "authenticity" | "specification-sufficiency" | "oracle-adequacy" | "distinctness" | "realism" | "leakage" | "triviality";
|
|
347
|
+
readonly outcome: "pass" | "fail" | "review-required";
|
|
348
|
+
readonly detail: string;
|
|
349
|
+
readonly evidence: readonly {
|
|
350
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
351
|
+
readonly id: string;
|
|
352
|
+
readonly path?: string | undefined;
|
|
353
|
+
}[];
|
|
354
|
+
readonly evidenceIds: readonly string[];
|
|
355
|
+
}[];
|
|
356
|
+
readonly capabilityId: string;
|
|
357
|
+
readonly familyId: string;
|
|
358
|
+
readonly visible: {
|
|
359
|
+
readonly lane: "request";
|
|
360
|
+
readonly id: string;
|
|
361
|
+
readonly request: {
|
|
362
|
+
readonly endpoint: "chat" | "responses" | "anthropic";
|
|
363
|
+
readonly method: "POST";
|
|
364
|
+
readonly path: string;
|
|
365
|
+
readonly headers: readonly {
|
|
366
|
+
readonly name: string;
|
|
367
|
+
readonly value: string;
|
|
368
|
+
}[];
|
|
369
|
+
readonly bodyJson: string;
|
|
370
|
+
};
|
|
371
|
+
} | {
|
|
372
|
+
readonly lane: "repository-agent";
|
|
373
|
+
readonly id: string;
|
|
374
|
+
readonly requestText: string;
|
|
375
|
+
readonly checkoutCommit: string;
|
|
376
|
+
readonly allowedTools: readonly ("test" | "read" | "search" | "edit" | "shell")[];
|
|
377
|
+
readonly constraints: readonly string[];
|
|
378
|
+
};
|
|
379
|
+
readonly hidden: {
|
|
380
|
+
readonly version: 1;
|
|
381
|
+
readonly fixtures: readonly ({
|
|
382
|
+
readonly kind: "historical-regression";
|
|
383
|
+
readonly expectationMode: "changes";
|
|
384
|
+
readonly id: string;
|
|
385
|
+
readonly description: string;
|
|
386
|
+
readonly expectedBehavior: string;
|
|
387
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
388
|
+
readonly testPath: string;
|
|
389
|
+
} | {
|
|
390
|
+
readonly kind: "boundary";
|
|
391
|
+
readonly expectationMode: "changes" | "preserved";
|
|
392
|
+
readonly id: string;
|
|
393
|
+
readonly description: string;
|
|
394
|
+
readonly expectedBehavior: string;
|
|
395
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
396
|
+
readonly testPath: string;
|
|
397
|
+
} | {
|
|
398
|
+
readonly kind: "counterfactual";
|
|
399
|
+
readonly expectationMode: "changes";
|
|
400
|
+
readonly id: string;
|
|
401
|
+
readonly description: string;
|
|
402
|
+
readonly expectedBehavior: string;
|
|
403
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
404
|
+
readonly testPath: string;
|
|
405
|
+
} | {
|
|
406
|
+
readonly kind: "metamorphic";
|
|
407
|
+
readonly expectationMode: "preserved";
|
|
408
|
+
readonly id: string;
|
|
409
|
+
readonly description: string;
|
|
410
|
+
readonly expectedBehavior: string;
|
|
411
|
+
readonly source: "historical" | "generated" | "reviewed";
|
|
412
|
+
readonly testPath: string;
|
|
413
|
+
})[];
|
|
414
|
+
readonly caseId: string;
|
|
415
|
+
readonly hardFailurePolicy: "any-critical-hard-clause-fails";
|
|
416
|
+
readonly clauses: readonly ({
|
|
417
|
+
readonly kind: "candidate-policy";
|
|
418
|
+
readonly policyId: string;
|
|
419
|
+
readonly forbiddenPaths: readonly string[];
|
|
420
|
+
readonly id: string;
|
|
421
|
+
readonly critical: boolean;
|
|
422
|
+
readonly description: string;
|
|
423
|
+
} | {
|
|
424
|
+
readonly kind: "test-command";
|
|
425
|
+
readonly recipeId: string;
|
|
426
|
+
readonly expectedExitCode: number;
|
|
427
|
+
readonly fixtureIds: readonly string[];
|
|
428
|
+
readonly id: string;
|
|
429
|
+
readonly critical: boolean;
|
|
430
|
+
readonly description: string;
|
|
431
|
+
} | {
|
|
432
|
+
readonly kind: "json-field";
|
|
433
|
+
readonly id: string;
|
|
434
|
+
readonly description: string;
|
|
435
|
+
readonly critical: boolean;
|
|
436
|
+
readonly operator: "equals" | "present" | "absent";
|
|
437
|
+
readonly pointer: string;
|
|
438
|
+
readonly expectedJson?: string | undefined;
|
|
439
|
+
} | {
|
|
440
|
+
readonly kind: "ordered-events";
|
|
441
|
+
readonly id: string;
|
|
442
|
+
readonly description: string;
|
|
443
|
+
readonly critical: boolean;
|
|
444
|
+
readonly eventTypes: readonly string[];
|
|
445
|
+
readonly terminalEvent?: string | undefined;
|
|
446
|
+
} | {
|
|
447
|
+
readonly kind: "property";
|
|
448
|
+
readonly propertyId: string;
|
|
449
|
+
readonly fixtureIds: readonly string[];
|
|
450
|
+
readonly id: string;
|
|
451
|
+
readonly critical: boolean;
|
|
452
|
+
readonly description: string;
|
|
453
|
+
} | {
|
|
454
|
+
readonly kind: "differential";
|
|
455
|
+
readonly implementationIds: readonly string[];
|
|
456
|
+
readonly fixtureIds: readonly string[];
|
|
457
|
+
readonly id: string;
|
|
458
|
+
readonly critical: boolean;
|
|
459
|
+
readonly description: string;
|
|
460
|
+
} | {
|
|
461
|
+
readonly kind: "architecture";
|
|
462
|
+
readonly ruleId: string;
|
|
463
|
+
readonly expectedPaths: readonly string[];
|
|
464
|
+
readonly id: string;
|
|
465
|
+
readonly critical: boolean;
|
|
466
|
+
readonly description: string;
|
|
467
|
+
} | {
|
|
468
|
+
readonly kind: "transformation-completeness";
|
|
469
|
+
readonly ruleId: string;
|
|
470
|
+
readonly forbiddenLegacyPaths: readonly string[];
|
|
471
|
+
readonly requiredNewPaths: readonly string[];
|
|
472
|
+
readonly id: string;
|
|
473
|
+
readonly critical: boolean;
|
|
474
|
+
readonly description: string;
|
|
475
|
+
} | {
|
|
476
|
+
readonly kind: "semantic-residual";
|
|
477
|
+
readonly criterion: string;
|
|
478
|
+
readonly id: string;
|
|
479
|
+
readonly critical: boolean;
|
|
480
|
+
readonly description: string;
|
|
481
|
+
})[];
|
|
482
|
+
readonly solutions: readonly {
|
|
483
|
+
readonly kind: "historical-reference" | "independent-valid" | "simplified-valid" | "behavior-preserving-valid" | "historical-defect" | "mutation" | "model-near-miss" | "reward-hacking";
|
|
484
|
+
readonly id: string;
|
|
485
|
+
readonly expectedClass: "valid" | "wrong";
|
|
486
|
+
readonly family: string;
|
|
487
|
+
readonly commit?: string | undefined;
|
|
488
|
+
}[];
|
|
489
|
+
readonly observations: readonly {
|
|
490
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
491
|
+
readonly solutionId: string;
|
|
492
|
+
readonly clauseId: string;
|
|
493
|
+
readonly repetition: number;
|
|
494
|
+
readonly detail: string;
|
|
495
|
+
readonly inconclusiveReason?: "unattributed-test-failure" | undefined;
|
|
496
|
+
}[];
|
|
497
|
+
readonly knownLimitations: readonly string[];
|
|
498
|
+
readonly executionBindingDigest?: string | undefined;
|
|
499
|
+
readonly executionRepetitions?: number | undefined;
|
|
500
|
+
};
|
|
501
|
+
readonly adequacy: {
|
|
502
|
+
readonly version: 1;
|
|
503
|
+
readonly caseId: string;
|
|
504
|
+
readonly admitted: boolean;
|
|
505
|
+
readonly validSolutionCount: number;
|
|
506
|
+
readonly wrongSolutionCount: number;
|
|
507
|
+
readonly falseRejectedSolutionIds: readonly string[];
|
|
508
|
+
readonly falseAcceptedSolutionIds: readonly string[];
|
|
509
|
+
readonly unstableSolutionIds: readonly string[];
|
|
510
|
+
readonly unobservedClauseIds: readonly string[];
|
|
511
|
+
readonly insufficientObservationPairs: readonly string[];
|
|
512
|
+
readonly mutationFamilyKills: readonly {
|
|
513
|
+
readonly family: string;
|
|
514
|
+
readonly killed: number;
|
|
515
|
+
readonly total: number;
|
|
516
|
+
}[];
|
|
517
|
+
readonly rejectionReasons: readonly string[];
|
|
518
|
+
};
|
|
519
|
+
readonly behavioralFingerprint: string;
|
|
520
|
+
readonly trajectoryPolicy?: {
|
|
521
|
+
readonly version: 1;
|
|
522
|
+
readonly caseId: string;
|
|
523
|
+
readonly purpose: "routing-signal";
|
|
524
|
+
readonly validationRecipeIds: readonly string[];
|
|
525
|
+
readonly protectedPaths: readonly string[];
|
|
526
|
+
readonly thresholds: {
|
|
527
|
+
readonly maximumToolCalls: number;
|
|
528
|
+
readonly maximumFailedToolCalls: number;
|
|
529
|
+
readonly maximumRepeatedFailedActions: number;
|
|
530
|
+
};
|
|
531
|
+
readonly requirements: {
|
|
532
|
+
readonly passingValidationAfterLastMutation: boolean;
|
|
533
|
+
readonly noProtectedPathMutations: boolean;
|
|
534
|
+
};
|
|
535
|
+
readonly rationale: string;
|
|
536
|
+
} | undefined;
|
|
537
|
+
};
|
|
538
|
+
readonly verdict: "admitted" | "rejected";
|
|
539
|
+
readonly reasons: readonly string[];
|
|
540
|
+
readonly evidence: {
|
|
541
|
+
readonly validCount: number;
|
|
542
|
+
readonly wrongCount: number;
|
|
543
|
+
readonly heldOutWrongCount: number;
|
|
544
|
+
readonly semanticKills: readonly string[];
|
|
545
|
+
};
|
|
546
|
+
readonly version: 1;
|
|
547
|
+
readonly stage: "admit";
|
|
548
|
+
readonly parentDigest: string;
|
|
549
|
+
readonly createdAt: string;
|
|
550
|
+
}>;
|
|
551
|
+
export {};
|