scienxlab / redflag

Safety net for machine learning pipelines. Plays nice with sklearn and pandas.
https://scienxlab.org/redflag
Apache License 2.0
21 stars 6 forks source link

NumPy dtype selection failing on Windows #96

Closed kwinkunks closed 9 months ago

kwinkunks commented 9 months ago

Just started running tests on Windows and Mac as well as Linux. A lot of doctests fail with dtype=int32 (instead of 64-bit) or dtype=int64 (instead of nothing, eg in array([3]). E.g. see this CI run https://github.com/scienxlab/redflag/actions/runs/7151756788/job/19476373327

This is only really a problem because I'm using doctest.

kwinkunks commented 9 months ago

Added tests/conftest.py with custom doctest checker, runs on Windows only.

Bit of flailing with regex as usual... fixed by 0d24093f01afe33aa5b7c54195bbcb9dfcfaa63d