Files
DeepTutor/tests
Benjamin Schwing 37bcb6331a fix(learning): settle numeric rounding only where the key can
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>
2026-11-24 23:35:31 +00:00
..
2026-11-16 02:17:36 +08:00
2026-11-16 02:17:36 +08:00
2026-11-16 02:17:36 +08:00
2026-11-06 01:56:40 +08:00
2026-11-06 01:56:24 +08:00
2026-11-06 01:56:22 +08:00
2026-11-06 01:56:39 +08:00