Skip to content
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

Flaky test_run_conv_model #212

Closed
Syzygianinfern0 opened this issue Jun 4, 2021 · 1 comment · Fixed by #234
Closed

Flaky test_run_conv_model #212

Syzygianinfern0 opened this issue Jun 4, 2021 · 1 comment · Fixed by #234
Labels
good first issue Good for newcomers tests

Comments

@Syzygianinfern0
Copy link
Member

Description

The test_run_conv_model test is flaky

def test_run_conv_model(get_clients: Callable[[int], List[Any]]):

How to Reproduce

Run the test a bunch of times 😛.

Expected Behavior

The test must pass reliably.

Additional Context

  • Fixing the atol parameter is usually sufficient if the values are really close.
  • Sometimes, the methods used in the underlying calculations have parameters that trade-off between speed and accuracy of the approximation. Those can be tweaked to give reliable results.

Note: @SyMPC, a reliable test must pass 30 times in a row.

@gmuraru
Copy link
Member

gmuraru commented Jun 11, 2021

Made a PR to unblock development since this test (and some other ones) are creating more failures than normally.
I created a new issue for increasing the tolerance and check which underlying approximations gives bad results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants