GeezerVison is showing github.com — test(pm-orchestration): CEN-05 experiment conformance tests + strict fixture contract (#9435) by dezren39 · Pull Request #10721 · developing-today/code
Conversation
dezren39
commented
Nov 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #9435 (CEN-05 — offline reference model and experiment runner).
The gate this task waited on has cleared (PR #9225 merged 2026-11-13) and the runner + fixtures already live on main in the design tree. This PR delivers the slice's missing owned file and hardens the runner's fixture contract so the acceptance negatives actually fail closed:
- New validation/test_experiment.py (stdlib unittest, 10 tests, listed by exact name in the verification run): the named oracle test_experiment_replays_same_fixture_and_rejects_bad_contract — CLI replay of the same fixture is byte-stable with independently recomputed seed/digest pins, and five bad contracts (duplicate JSON key, unknown major schema, lossy numeric ID, invalid UTF-8, missing graph section) each fail closed with exit 1 and a machine-readable fail result. Plus independent-oracle coverage for: requirement AND filter as separate conjunctive gates, numeric work-ID ordering (rank 9 before 10, >2^53 IDs exact), RFC 8785 DTO bytes against contracts/digest-vectors.json golden vectors, the cycle insertion rule against a BFS oracle, cursor crash recovery at every lifecycle cut, operation apply-then-timeout with no blind resend, and seeded sampler probabilities against a Decimal enumeration.
- validation/experiment.py: fixture loading now goes through a strict load_fixtures (duplicate-key rejection via object_pairs_hook, schema pin, required sections, ASCII decimal-string IDs). Behavior on the pinned fixture is unchanged: a recorded-scale run (--seed 9196 --cases 5000 --draws 50000) reproduces the committed report's values exactly.
Verification: python3 -m unittest -v test_experiment — 10 tests, all ok, including the exact-name listing the slice's done check requires.
Observation (not fixed here; report.json is not a CEN-05 owned file): the committed validation/report.json carries a stale fixture_sha256 — the treefmt reformat of fixtures.json changed its bytes without regenerating the report. All computed values still match a fresh run; regenerating report.json is a one-command follow-up for its owner.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…fixture contract (#9435)
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 47 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0260980d-f54e-4be9-94de-bc799d2555f3
Commits
-
Reviewing files that changed from the base of the PR and between daa7e40 and 3710aee.
Files selected for processing: 2
-
doc/2026-11-13T03-20-24Z_design_pm-stack-fleet-orchestration/validation/experiment.py
doc/2026-11-13T03-20-24Z_design_pm-stack-fleet-orchestration/validation/test_experiment.py
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
❌ Failed 2026-11-16T11:55:29.939249Z We couldn’t complete this review. Comment @codex review to try again. |
3710aee |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Review disposition: Codex review of this head failed on Codex usage limits with zero findings (bot comment 2026-11-16T11:55Z; no review comments exist). CodeRabbit posted no findings. Verification is the CEN-05 done check itself: python3 -m unittest -v test_experiment lists all 10 tests by exact name and passes, including the named oracle test; a recorded-scale runner replay reproduces the committed report values exactly. Merging per fleet rules (CI runs on main).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 16, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|