Repository navigation
Commit 897ed45
committed
Compare second-review replays with the bundle tolerance policy
second-review-checks.py asserted exact JSON equality between replayed
and saved probe output, which fails on Python 3.12 and on CPython
builds other than the one that wrote the JSON. It now uses
check.mismatches, the same per-leaf tolerance policy check.py applies
(rel_tol 1e-7 and the named diagnostic bounds), and reports every
mismatch. The independent formula checks are unchanged.
Before: AssertionError at the replay on Python 3.12.16 and 3.14.9.
After: exit 0 on both, with NumPy 2.5.4, SciPy 1.18.1, SymPy 1.14.0.
publication-manifest.json records the new script hash under
publication_files and lists the change. The original_research_artifacts
entry keeps the reviewed hash.
Addresses item 2 of proof review 5907254464 on #11.
Signed-off-by: Orda <342776047+orda-aska@users.noreply.github.com>1 parent 2fd7c77 commit 897ed45
2 files changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
| |||
155 | 167 | | |
156 | 168 | | |
157 | 169 | | |
158 | | - | |
| 170 | + | |
| 171 | + | |
159 | 172 | | |
160 | 173 | | |
161 | 174 | | |
| |||
0 commit comments