Case File: The Summary With the Wrong Figure
The assistant summarised the weekly report, the summary read smoothly, and one of its figures was not in the report. A cheap first check finds every number in the summary and tests whether the source contains it. Split the text into words, strip punctuation and percent signs from both ends, remove commas inside, and accept digits with at most one decimal point; compare by value (12.0 is 12). A summary is clean, wrong (some number is not in the source) or has no numbers. Run it on summaries that you cannot see. The reports are generated for you alone.
Case File: The Summary With the Wrong Figure
The assistant summarised the weekly report, the summary read smoothly, and one of its figures was not in the report. A cheap first check finds every number in the summary and tests whether the source contains it. Split the text into words, strip punctuation and percent signs from both ends, remove commas inside, and accept digits with at most one decimal point; compare by value (12.0 is 12). A summary is clean, wrong (some number is not in the source) or has no numbers. Run it on summaries that you cannot see. The reports are generated for you alone.
In this lesson:
- ai
- hallucination
- verification
- numbers
- case-file
- python
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans