-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
The test tests/optimagic/optimizers/test_pounders_integration.py::test_bntr[start_vec3-cg] has started to fail on Linux environments with Python 3.10. It is temporarily skipped in #656, specifically in 83eac8d.
To Reproduce
Run this test in a fresh Python 3.10 environment on Linux
pytest tests/optimagic/optimizers/test_pounders_integration.py::test_bntrOn CI, the test fails with:
FAILED tests/optimagic/optimizers/test_pounders_integration.py::test_bntr[start_vec3-cg] - AssertionError:
Arrays are not almost equal to 3 decimals
Mismatched elements: 3 / 3 (100%)
Max absolute difference among violations: 0.1969519
Max relative difference among violations: 1.03506949
ACTUAL: array([-0.007, 0.003, 0.019])
DESIRED: array([0.19 , 0.006, 0.011])On my local environment, the test fails with:
FAILED tests/optimagic/optimizers/test_pounders_integration.py::test_bntr[start_vec3-cg] - AssertionError:
Arrays are not almost equal to 3 decimals
Mismatched elements: 1 / 3 (33.3%)
Max absolute difference among violations: 0.00179793
Max relative difference among violations: 0.00944892
ACTUAL: array([0.188, 0.006, 0.011])
DESIRED: array([0.19 , 0.006, 0.011])Expected behavior
All five test cases should pass. Currently, only one test case fails.
System
- OS: Linux
- Python version: 3.10
- optimagic version: latest (dev)
timmens
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working