mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 20:01:33 +08:00
parse_constant only sees the NaN/Infinity literals; a literal such as 1e999 still parsed to inf and produced a verdict frame browsers cannot JSON.parse. Let the verdict model reject every non-finite number instead of the custom decoder. Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>