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

OK Grader receiving additional floating point values from Python data science package tables #1419

Open
bbean02 opened this issue Sep 14, 2022 · 0 comments

Comments

@bbean02
Copy link

bbean02 commented Sep 14, 2022

While using OK Grader via Otter Grader and data science tables, the OK grader client-side tests are receiving additional floating point values from Python. In one specific Data 8 Lab, values are passed from a table column after sorting and while the table output shows 4-5 points of precision, the output for one of the three array range values randomly add 9 additional points of precision and a 5 (64.4455000000000005, vise 64.445500, which OK grader expects).

Attempts to rectify this coercing the set_format formatter on the problem column does not work. Changing the format of the input file to eliminate encoding issues does not work. There seems to be no way to eliminate the floating point precision issue.

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