Closed
Description
> I have not seen these transforms are even used by PolyaGamma
Can you try pinning polyagamma to 1.3.6 just to see if the tests fail. I just released 1.3.7 which includes numpy 2.0 support. I suspect this change might be the root cause.
Looking at this output:
E AssertionError:
E Arrays are not almost equal to 6 decimals
E
E Mismatched elements: 14 / 15 (93.3%)
E Max absolute difference: 0.25700269
E Max relative difference: 7.27861386
E x: array([0.175503, 0.304112, 0.32734 , 0.285465, 0.15268 , 0.208075,
E 0.324094, 0.261004, 0.256576, 0.173434, 0.115312, 0.034482,
E 0.121655, 0.047109, 0.358831])
E y: array([0.358831, 0.047109, 0.121655, 0.034482, 0.115312, 0.173434,
E 0.256576, 0.261004, 0.324094, 0.208075, 0.15268 , 0.285465,
E 0.32734 , 0.304112, 0.175503])
It appears that the linked PR leads to values being generated in a reverse order than in v1.3.6....or at at least that's my immediate guess since i'm not quite familiar with the code that is being tested in the CI.
Originally posted by @zoj613 in #7415 (comment)
Possible resolutions:
- Pin PolyaGamma to a fixed version for now
- Update Tests to respect the updated version
- Test that either order is correct???
Metadata
Metadata
Assignees
Labels
No labels