mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 18:07:50 +08:00
A fraction key compared the answer's rounding instead of its own, so at
an exact half the wrong rounding won: "0,12" was correct for 1/8 and
"0,13" only ambiguous. The key is now rounded to the answer's places.
Keys with fewer than two places took their last written digit as the
precision. A key stored through a float ("12.5" from 12.50) accepted
"12,46", while an integer key ("417", "ca. 417 €") rejected "416,67"
with confidence 1. Such keys are now correct only on equality; a finer
answer that rounds to them is ambiguous and goes to the judge.
Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>