Open zm711 opened 1 month ago
Another random failure in python 3.9 on Windows. From https://github.com/SpikeInterface/spikeinterface/actions/runs/9897996103/job/27343788820?pr=3180
FAILED src/spikeinterface/preprocessing/tests/test_silence.py::test_silence - AssertionError: assert 0.1109969 < 0.1
+ where 0.1109969 = <built-in method sum of numpy.ndarray object at 0x000002B600FB4E70>()
+ where <built-in method sum of numpy.ndarray object at 0x000002B600FB4E70> = array([0.08974379, 0.02125311], dtype=float32).sum
+ where array([0.08974379, 0.02125311], dtype=float32) = <ufunc 'absolute'>((array([0.90464187, 0.9732841 ], dtype=float32) - array([0.99438566, 0.99453723], dtype=float32)))
+ where <ufunc 'absolute'> = np.abs
+ and array([0.90464187, 0.9732841 ], dtype=float32) = <function std at 0x000002B64658BBF0>(array([[-0.11603655, -0.73109096],\n [ 0.8392864 , -0.5543756 ],\n [ 0.3452874 , 0.68456554],\n ...,\n [-1.1869012 , -0.74847776],\n [-0.66878515, -0.20611839],\n [-0.93528956, 1.155699 ]], dtype=float32), axis=0)
+ where <function std at 0x000002B64658BBF0> = np.std
= 1 failed, 2269 passed, 42 skipped, 749 deselected, 54 warnings in 114.73s (0:01:54) =
c'est terrible!
@h-mayorquin, @JoeZiminski , @chrishalcrow,
As briefly mentioned in #3189. We can leave this open and if you see a test failure that appears to be due to a seeding issue/randomly fails put it here. We can track them and make sure that it really is just seeding and not due to a deeper bug when we have more data.
c'est terrible!
le ci a besoin de ton anniversaire pour fonctionner. C'est fondamental pour le generator.
héhé
If we set the seed it won't fail. I rather open another issue if somebody wants to improve this test or search for where it was failing. Otherwise, I am afraid this will remain open forever : P
This only failed on one OS/one python version. Not sure if this is a problem in generate_sorting_to_inject which can cause some failures. We can leave this issue open to monitor if this problem happens multiple times.
From action: https://github.com/SpikeInterface/spikeinterface/actions/runs/9898102287/job/27344129816?pr=3185