-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
Tests for exercise rational-numbers
are flaky
#2823
Comments
Hi, |
stamatisn
added a commit
to stamatisn/java
that referenced
this issue
Dec 28, 2024
Fixed the bug in (exercism#2823) issue
This was referenced Jan 1, 2025
kahgoh
pushed a commit
that referenced
this issue
Jan 3, 2025
It has been reported that original tolerance was perhaps too strict, possibly preventing valid solutions from passing the test. Adjusting the tolerance to allow other valid solutions. The new tolerance value was copied from the Python implementation. Fixes #2823. [no important files changed]
kahgoh
changed the title
[Java track] Tests for exercise
Tests for exercise Jan 3, 2025
rational-numbers
are flakyrational-numbers
are flaky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Track: Java
Exercise rational-numbers
Problem: The one or more tests for the exercise are flaky/non-deterministic
The test case
testRaiseARealNumberToAPositiveRationalNumber
, fails when I run it locally but passes when submitted to the exercism build servers.The implementation is the same as pretty much everyone else have submitted
I have been banging my head against the table for quite at while due to this and needless to say, that is no fun. I do not have any solution for this but I suggest that the tests are rewritten to eliminate the current inherent unreliability.
Given the current amount of submissions for the exercise on the track I would be quite surprised if no one but me has encountered the issue.
To be fair, a member already pointed this out while solving the exercise at https://exercism.org/tracks/java/exercises/rational-numbers/solutions/nunoguedelha
The text was updated successfully, but these errors were encountered: