Advertisement
Data Processing

Parse Failure Rate: 105 of 1,020 Amounts Refused to Become Numbers

What should a money column do with a value that declines to be a number? The question sounds like a riddle, yet every finance export, price list, and...

What should a money column do with a value that declines to be a number? The question sounds like a riddle, yet every finance export, price list, and payment sheet eventually asks it in earnest. Somewhere down the column, among the tidy figures, sits a word, a placeholder, a punctuation tangle, or a cell somebody left blank because the answer was not known yet. Software that expects arithmetic cannot add a word. A person reading the sheet, however, often understands the word perfectly well, because the word was carrying business meaning that a figure could not express. The tension between those two readers, the calculating machine and the interpreting person, is where this measurement lives.

Parse Failure Rate: 105 of 1,020 Amounts Refused to Become Numbers

What Parse Failure Rate means

Parse Failure Rate is the share of values in a money column that a deterministic parser cannot convert to a number, broken down by cause. Every part of the definition carries weight. The parser is deterministic, meaning the same input always earns the same verdict, so the rate describes the data under a stated rule rather than the mood of whoever cleaned it. The unit is the value, not the row or the file, because money columns fail one cell at a time. And the breakdown by cause is not decoration. It is what separates a rate that merely alarms from a rate that instructs.

The numbers

The test column began with values in 1,020 (Source: measured run R6, SmartDataAI lab, 2026-11-23). Its construction mixed legitimate variety with deliberate breakage in stated proportions. A set of 900 amounts was written in 5 styles, namely $1,234.56 with dollar sign and thousands comma, 1,234.56 USD with suffix, plain 1234.56, USD prefix, and whole-dollar 1,234 (Source: measured run R6, SmartDataAI lab, 2026-11-23). Mixed into that set were 120 deliberately broken values (Source: measured run R6, SmartDataAI lab, 2026-11-23). The broken group comprised empty strings, TBD, "free", a lone dash, malformed strings such as 12,34,56 and 1.2.3, a lone $, and abc123 (Source: measured run R6, SmartDataAI lab, 2026-11-23).

The parser followed a stated sequence. It stripped currency markers and thousands separators, then attempted a float conversion (Source: measured run R6, SmartDataAI lab, 2026-11-23). That sequence explains both its generosity and its limits. Stripping markers first means a value is not refused merely for wearing its currency on the outside, in either position, nor for grouping its digits with commas in the conventional way. Attempting conversion only afterward means whatever survives stripping must genuinely behave like a number. Text that survives stripping as text, punctuation tangles that survive as tangles, and emptiness that survives as emptiness all meet the same honest refusal at the conversion step.

Outcomes were parsed 915, which is 89.7% (Source: measured run R6, SmartDataAI lab, 2026-11-23). The refusal side recorded failed 105, which is 10.3% (Source: measured run R6, SmartDataAI lab, 2026-11-23). All 5 legitimate styles parsed (Source: measured run R6, SmartDataAI lab, 2026-11-23). As with any constructed test, the figures describe this column under this parser. They should not be carried over as an expectation for an unrelated ledger, where the mix of writing habits and breakage will differ. What transfers is the method: state the accepted styles, state the parser steps, preserve the refusals, and report the split.

One nuance in the results deserves emphasis, because it changes how the failure count should be treated. Not every failure is damage. Values like "free" and "TBD" are meaningful business states that should be routed to a status column rather than forced to zero (Source: measured run R6, SmartDataAI lab, 2026-11-23). A price recorded as free is a deliberate commercial fact, not a missing amount, and an amount awaiting determination is a workflow state, not a defect in arithmetic. Routing such values to a status home preserves their meaning and simultaneously purifies the numeric column, which afterward contains only values that genuinely claim to be amounts. The failure pile, read carefully, is partly a sorting opportunity.

The remaining guidance concerns the most dangerous shortcut in amount cleaning. Never let a parser write 0 for an unparseable amount; a zero is a false fact, while a blank with a reason code is an honest one (Source: measured run R6, SmartDataAI lab, 2026-11-23). A zero enters sums, averages, and thresholds as if somebody had recorded that nothing was charged, owed, or paid. Downstream readers cannot distinguish that invented zero from a real one, so the falsification propagates invisibly. A blank accompanied by a reason code behaves oppositely: it withdraws from arithmetic while announcing why, inviting review instead of corrupting totals.

Questions, answered

Why preserve the original text of a value the parser refused?

Because the original is the only evidence from which a reviewer can assign the right cause and destination. Once the text is overwritten by a blank, a zero, or a guess, nobody can tell whether the value was a status word, a malformed figure worth repairing at the source, or a placeholder awaiting real information.

Are the broken values in a column best fixed by editing them in place?

Usually not. Malformed figures point back to an entry or export habit that will keep producing them, statuses point to a column design that needs a separate home, and placeholders point to an unfinished process. Editing the visible pile treats symptoms while the causes continue supplying fresh failures.

What makes a refusal trustworthy rather than just strict?

A stated rule, applied identically to every value, with the refused set kept available for inspection. Trust grows when the accepted styles are named in advance, the parser steps are described, and anyone can re-examine the exact strings that were turned away and challenge the verdict on any of them.

Summary

Run R6 fed 1,020 amount values to a deterministic parser and recorded 915 parsed, or 89.7%, against 105 failed, a Parse Failure Rate of 10.3%. Every one of the 5 legitimate writing styles converted, so the refusals concentrated in the deliberately broken group, from malformed strings to empty cells. Some refusals, notably status words, carry meaning that belongs in a status column rather than in arithmetic. Above all, no refusal should be rewritten as zero, because an honest blank with a reason protects every total the column feeds.

Sources

Know someone who needs this? Share it.

Advertisement