mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 20:58:39 +08:00
Second review round for numeric_equivalent and its web port:
- Without a proven separator convention, also try cross readings so
"12.500" vs "12,500" is ambiguous rather than a final "incorrect".
- A percent answer that only matches a bare key at x100 ("50%" for
"50") is left undecided, so "0.5%" is no longer accepted for "0.5".
- Apply the percent scale to an answer's decimals for fraction keys
("33.80%" no longer passes for "1/3").
- Never drop a unit word next to a currency ("5 kg" vs "5 €"), accept
letters only in units (no "m²"), and cap denominators at 15 digits.
Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>