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

[CRASH REPORT] targeted_long_with_budget is flaking. #150

Open
sentilesdal opened this issue Jun 21, 2024 · 0 comments
Open

[CRASH REPORT] targeted_long_with_budget is flaking. #150

sentilesdal opened this issue Jun 21, 2024 · 0 comments

Comments

@sentilesdal
Copy link
Contributor

Crash Report

Description

The test for targeted_long_with_budget is flaking with some pretty large errors w.r.t. to the limit set in the test.

---- long::targeted::tests::test_calculate_targeted_long_with_budget stdout ----
thread 'long::targeted::tests::test_calculate_targeted_long_with_budget' panicked at crates/hyperdrive-math/src/long/targeted.rs:513:17:
target_rate was 0.012070337217259815, realized rate is 0.012090982675932314. abs_error=0.000020645458672499 was not <= 0.000000100000000000.

Expected Behavior

Should be less than the expected error.

Actual Behavior

Large error.

Steps to Reproduce

Run the test enough times, it will flake.

Possible Solution

Not sure what the issue is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant