Repository navigation
Update corpus driver fixtures for shape statistics preflight - #334
Merged
Merged
Conversation
284km
commented
Nov 26, 2026
284km
left a comment
Owner
Author
There was a problem hiding this comment.
Review of 8a29f72d. No findings.
This repairs the two driver-fixture checks that #322's new run_corpus.sh preflight (the sh_cls_var / sh_cls_cap row bound and iv_door_check.sh) left stopping early. The synthetic interpreters now answer the MERE_RUBY_STORE_STATS=1 probe, the IV-door stub sits beside the other guard stubs, and the run count goes from 5 to 6. The new negative controls (a missing row, a row at 301) check the exact messages run_corpus.sh prints (holds no row keys / holds 301 keys) and that the reference pass never starts. Only test files change; there is no runtime delta.
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.
The corpus preflight now requires sh_cls_var/sh_cls_cap statistics and the IV-door source guard. Its two driver-test fixtures did not provide them, so unittest-harness and runtime-load-path CI stopped before exercising their intended checks.
Update the synthetic interpreters to answer the new probe, add the IV-door stub beside existing guard stubs, and account for the additional invocation. The load-path test checks that the statistics probe receives the same library ordering; new negative controls verify that either missing statistics row or either row exceeding 300 stops the driver before reference corpus execution.
Compared with main
8e757236; measured sourcef4751983e8f98a6f427b3ef11ad24426491ab302. The diff is the two Python check files and these records. Runtime/corpus inputs have no delta. Clean Ruby 4.0.10 throughtools/ref_ruby.sh, revision a704b7cd95a42cc0cf5f307137bf3aac0285b915, no extras, Prism 1.8.2. Ordinary O2 compiler 9dec2ff6, mgz 661a01d8.Peak process-family RSS, KiB, all three samples:
Samples vary; no memory improvement is claimed. These are driver fixtures, so the related checks above take the place of a CRuby/Rails test selection. Digests, UTC times and the full paired results are in
unittest/records/ci-shape-stat-fixtures.json.