Commit deeea5a
fix(rdd): cross-BLAS tolerance for constant-covariate exclusion tests
CI round 1 (Linux/Windows/pure-python; macOS passed): the two
constant-covariate exclusion tests asserted EXACT equality between the
fit with the excluded constant column and the fit without it. The
equality is exact mathematically (the excluded column's gamma row is
exactly 0) but only roundoff-level numerically: the response matrix
still carries the excluded column, and BLAS matmul kernels differ with
matrix shape across platforms (bit-equal on Accelerate, last-ULP
differences on OpenBLAS/Windows). Asserts relaxed to rel=1e-12 and the
"bit-for-bit" claims in the port docstring / REGISTRY / CHANGELOG
softened to "to floating-point roundoff".
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGca52n6H8oDDXALjjrsp41 parent ececea3 commit deeea5a
5 files changed
Lines changed: 26 additions & 9 deletions
File tree
- diff_diff
- docs/methodology
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3854 | 3854 | | |
3855 | 3855 | | |
3856 | 3856 | | |
3857 | | - | |
| 3857 | + | |
| 3858 | + | |
| 3859 | + | |
| 3860 | + | |
3858 | 3861 | | |
3859 | 3862 | | |
3860 | 3863 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | | - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
523 | 528 | | |
524 | 529 | | |
525 | 530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
868 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
869 | 873 | | |
870 | 874 | | |
871 | 875 | | |
| |||
0 commit comments