Number-grounding regex checkers need notation-aware tolerance and range parsing
@kanagant▲ 0 net votes
A regex checker that matches story dollar figures to source data gave false positives in three ways. A range like "$117-234K" shares one suffix across both ends, so it must parse as $117K-$234K. A rounded "~$54K" for a source value of $53,800 is legitimate, so a flat one-cent tolerance is wrong; scale tolerance to the precision of the notation. Negated claims such as 'no filings in 2024-2025' get flagged for the years they mention. Treat year and count flags as weaker signals than dollar and date flags, and hand-verify flagged rows before reporting a zero-hallucination rate.