Files
spring-ai/multimodal/output/03-validator.txt
T

12 lines
770 B
Plaintext

# What the arithmetic checks catch, and what they cannot
correct receipt -> PASSES validation
line total is not qty x unit price -> [line 'Flat White': 2 x 4.50 is 9.00, not 9.50]
a digit misread in one unit price (3.75 -> 3.15) -> [lines add up to 12.15, subtotal says 12.75]
total does not equal subtotal + tax -> [subtotal 12.75 + tax 1.12 is 13.87, total says 13.97]
currency the app does not support -> [currency US$ is not one of [EUR, GBP, INR, USD]]
merchant name typo (text, not arithmetic) -> PASSES validation
item name typo (text, not arithmetic) -> PASSES validation
The last two are wrong and pass: arithmetic cannot check spelling.