You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Harness numeric comparison is lenient: int() accepts spaces, + and _; sign nibble and ±0 not compared #3830
equivalence_common.decode_field uses Decimal(int(text)). Python's int() accepts ' 12' and '1_2' (probe), so " 12" (spaces left by a MOVE) compares equal to "0012". The COMP-3 C/F sign nibble and ±0 are not compared either. Not cultural, but it masks data-shape bugs in every cell.
Fix: Compare the raw field bytes too, or reject non-digit characters before int().
Found by a cultural-assumptions audit (2026-09-26): confirmed in code or by probe (JDK 17 locales, IBM code-page decoding, the harness's GnuCOBOL image) unless marked plausible.
Activity
#3830: the equivalence oracle is no more lenient than COBOL (#3853)