Repository navigation
Add isolated exact statistics replay qualification - #135
Open
denis-samatov wants to merge 6 commits into
Open
denis-samatov wants to merge 6 commits into
denis-samatov wants to merge 6 commits into
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.
The historical scientific environment differs from the supported software matrix. This PR adds a separate Python 3.13 hash-locked replay of twelve explicit statistical outputs from fifteen committed input files, in a new directory outside the checkout. Missing outputs, byte/runtime drift, command errors and source mutation fail with retained receipts. The historical verifier, generators, parser, statistics, tolerances and canonical outputs remain unchanged.
Blocked: do not merge while the strict statistics job fails. Unmodified macOS replay matches 12/12; actual Linux x86_64/glibc 2.39/Python 3.13.13 matches 7/12 with all 134 source hashes unchanged. On head 1257ee6, the three hosted Python 3.10/3.11/3.12 software jobs pass and strict statistics fails. The earlier 227 source-qualified tests, compile, Ruff and mypy checks concern the unchanged diagnostic implementation; this iteration changes only its factual documentation.
Read-only input diagnostics found twelve differing floating-column hashes across four identical CSV files; all 23 independent builtin-float reference hashes match. Full arithmetic controls now cover 957,080 values: fused accumulation reproduces all 23 observed macOS column hashes; separate accumulation reproduces all 23 observed Linux hashes. Twelve columns and 13,088 values differ. Missing values, infinity and scientific notation are included, with no unsupported tokens. This diagnostic reference is not an adopted replacement parser.
A separately frozen intervention predicted that replacing only those four input arrays on macOS, while running the three unchanged generators on fifteen original input copies, would reproduce all twelve Linux output hashes. The prediction was not supported: 9/12 match Linux, and 7/12 match canonical outputs. The complete stats_wilcoxon.csv and key_numbers.json match Linux. The remaining 116 numeric differences occur only in standard-deviation fields of three tables: representation 25, noise 61, l1 30; maximum binary64 delta 7.105427357601002e-15. The driver exits 1 and preserves the negative result. Independent integrity validation confirms all 134 source hashes and fifteen input copies unchanged. This counterfactual result is not unmodified scientific qualification.
The installed macOS parser and float64 group_var binaries contain fmadd instructions; group_var also contains fsqrt. Actual Linux compiler flags/instructions and the cause of every residual standard-deviation difference remain unverified. Details: docs/numerical_qualification.md.
No expected-byte, rounding, tolerance, numerical-method or production-parser change; no raw simulation/refit, E8/E9, figure recomputation, independent physical validation, release, deployment or archive changes.