Skip to content

Add isolated exact statistics replay qualification - #135

Open
denis-samatov wants to merge 6 commits into
mainfrom
codex/tbmd-statistics-profile-2026-10-31
Open

denis-samatov wants to merge 6 commits into
mainfrom
codex/tbmd-statistics-profile-2026-10-31

Conversation

@denis-samatov

@denis-samatov denis-samatov commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant