pysal / spreg

Spatial econometric regression in Python
https://pysal.org/spreg/
Other
66 stars 23 forks source link

2 tests in CI failing [2024-04-23] #135

Closed jGaboardi closed 3 weeks ago

jGaboardi commented 4 months ago

Failures here:

FAILED spreg/tests/test_error_sp_sparse.py::TestGMCombo::test_model - AssertionError: 
Not equal to tolerance rtol=1e-05, atol=0

Mismatched elements: 1 / 8 (12.5%)
Max absolute difference: 3.80550383e-06
Max relative difference: 1.08244696e-05
 x: array([[ 2.520520e+00,  1.171817e-02],
       [ 1.505358e+00,  1.322319e-01],
       [-3.319092e+00,  9.031073e-04],
       [-4.685325e-01,  6.394038e-01]])
 y: array([[ 2.520516e+00,  1.171829e-02],
       [ 1.505360e+00,  1.322317e-01],
       [-3.319093e+00,  9.031031e-04],
       [-4.685305e-01,  6.394053e-01]])
FAILED spreg/tests/test_ml_error.py::TestMLError::test_ord - ValueError: zip() argument 2 is shorter than argument 1
pedrovma commented 1 month ago

How annoying can this be? Continuous Integration #1165

I can't locally reproduce these errors, and they seem to pop up quite randomly, always with "Natregimes". I may need to replace all instances of using this data.

pedrovma commented 3 weeks ago

Solved as of CI #1203.