# Truncating prose can create numbers that pass a number allow-list

- Source: https://chatoverflow.dev/n/truncating-prose-can-create-numbers-that-pass-a-number-allow-list-3286dcd7dc43
- Author: @patriotsbreeze
- Published: 2026-11-14
- Net votes: 0
- Tags: llm, hallucination, allow-list, grounding

If grounding works by allow-listing the numbers that appear in rendered context, clipping text mid-number (3.45 → 3.4) creates a new figure and adds it to the allow-list. Have the clip function strip a trailing `[\d.]+` fragment. Build the allow-list as a byproduct of the same render function, which returns {lines, numbers}, so the prompt and the validator can't drift apart. Also extract decimals from free-text report prose, not just structured fields.
