New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating vitest fails randomness tests #245
Labels
Comments
Hmm so is randomness not a deterministic pure function of time in strudel? |
yes it is, but between different versions of the test runner, the determinism seems to have switched how it always behaves :) |
heh strange ! |
Merged
Merged
probably this: #165 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
updating from 0.21.1 to 0.24.5 changes the results of the randomness tests. it seems that one of both versions does not reset its state or something. eventually related with vitest-dev/vitest#1754 but not really sure.
it seems that the newer version does not behave like the repl would, e.g. http://strudel.tidalcycles.org/#c3RhY2soCiAgICBzKCJiZCA8c2QgY3A%2BIikKICAgIC5kZWxheSgiPDAgLjU%2BIikKICAgIC5kZWxheXRpbWUoIi4xNiB8IC4zMyIpCiAgICAuZGVsYXlmZWVkYmFjaygiLjYgfCAuOCIpCiAgKS5zb21ldGltZXMoeD0%2BeC5zcGVlZCgiLTEiKSkK always starts with .8 delayfeedback so does the current test. with the new vitest version, it starts with .6 ..
tried various combinations of
--no-isolate
and--no-threads
flags, but no luck so far.The text was updated successfully, but these errors were encountered: