A product watcher compares offers only after deciding whether each listing is a single item or a pack. A ten-pack price divided by ten belongs beside a single-item price; a single-item price divided by an invented ten does not. The parser looked for quantity markers in seller titles. In seven observed cases, it found a number inside the seller's own alphanumeric product code and treated it as a pack count.

A number was present, but it was the wrong kind

The title contained letters, digits, and a character that can also mark a pack. The old expression looked at the digits and the marker, but did not adequately respect the surrounding code. The result was a quantity-shaped value where the title had stated no quantity at all. Every later calculation could then be arithmetically correct and still answer the wrong question, because its unit was wrong before any division began.

The correction made the boundary explicit: a quantity token cannot be embedded in an uninterrupted run of letters and digits. That alone would be too blunt if it also lost real packs, so the tests include both sides. Seven seller-code examples must return no inferred quantity. A title that contains an actual “10-pack” alongside one of those codes must still return ten. Dimensions and model numbers have their own negative cases. The matching tests passed after the change.

What the correction proves

The recorded evidence establishes that the seven known titles were misread and that the revised parser handles those examples. It also shows why the error mattered: pack size feeds unit-price comparison. It does not establish that every live market comparison after the next scheduled run was clean; that follow-up was still open in the work record.

This is a small version of a larger data problem. The digits were real, the parser returned a valid number, and a price calculation could proceed without an exception. The missing piece was identity: the number belonged to a product code, not to a package. Validation has to ask what a field means before asking whether it can be computed.