feat(bench): harden PowerPlan and final benchmark gate - #18
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Separate benchmark power planning from final holdout evaluation and make both stages deterministic, digest-bound, and fail-closed.
Calibration observations now produce an immutable PowerPlan before the final schedule is frozen. The final gate accepts only the exact scheduled holdout identities and suppresses economic statistics whenever the campaign, plan, schedule, observations, or quality contract is invalid.
Closes #7.
Implementation
Add an offline
experiment power-planentry point that:FrontierDirect/NeedleMisspairs;needle.power-plan/2artifact with canonical input and artifact digests.Bind the PowerPlan to the frozen corpus and campaign commitment, and bind the final schedule to the exact serialized plan and required pair count for each route.
Harden
experiment final-reportso that it:Add deterministic synthetic calibration and final-observation fixtures for both built-in routes, plus adversarial coverage for incomplete pairs, duplicated identities, stale artifacts, campaign mismatches, schedule count changes, calibration leakage, invalid costs, and failed evidence.
Update the public synthetic campaign, schedule, manifest, PowerPlan, benchmark documentation, and project status.
This changes the PowerPlan schema from v1 to v2 and the machine-readable final-gate report to v3. Existing checked-in fixtures were migrated accordingly.
Validation
No provider calls or paid benchmark observations were executed.
Risks/limitations
The checked-in PowerPlan and observations are intentionally synthetic and remain ineligible for an economic claim. This change validates the benchmark protocol but does not establish real provider-backed savings.
A production claim still requires private calibration and holdout material, a production-sealed PowerPlan, an approved provider budget, and a complete provider run.
The aggregate workspace test run observed one isolated cache-hit failure outside the changed benchmark files. Its focused rerun passed, but the aggregate run was not fully green.
Bootstrap work and observation inputs are bounded, and statistical work begins only after the complete frozen contract validates.
Documentation/evidence
Updated:
docs/BENCHMARKING.mdbenchmarks/README.mdPROJECT_STATUS.mdThe synthetic fixtures are protocol-validation evidence only and are not published economic evidence.
AI assistance and human verification
Ownership checklist
PROJECT_STATUS.mdare updated when applicable.