{"id":"acct-three-way-match-tolerance-table","audience":"accounting","category":"finance-work","track":"finance","technique":"constraints","level":"intermediate","title":"Apply a 2 percent price tolerance and quantity rule to five invoices","free":false,"task":"You're running the three-way match on five invoices. Write a prompt for a markdown table with columns Invoice, Price variance %, Quantity ok and Result, in the listed order. Price variance % is the billed price minus the PO price, divided by the PO price, shown as an absolute percent with one decimal. Quantity ok is Yes only if received quantity is at least the billed quantity. Result is Pass only if the price variance is at most 2.0% and Quantity ok is Yes; otherwise Hold. Under 110 words.","materialLabel":"Source material (attached to your prompt automatically)","material":"THREE-WAY MATCH - batch of Nov 6, 2026\n\nINV-1: PO 100 units at $10.00; received 100; billed 100 at $10.15\nINV-2: PO 50 units at $20.00; received 50; billed 50 at $20.50\nINV-3: PO 200 units at $5.00; received 180; billed 200 at $5.00\nINV-4: PO 80 units at $12.50; received 80; billed 80 at $12.25\nINV-5: PO 10 units at $300.00; received 10; billed 10 at $306.00\n\nNotes: The receiving clerk says the 20 missing units on INV-3 are \"on the next truck\", but nothing is recorded in the receiving system. The AP supervisor reviews held invoices each Friday.","rules":[{"type":"maxWords","max":110}],"promptHints":[{"label":"Names the columns","patterns":["invoice","price variance","quantity ok","result"]},{"label":"States the tolerance","patterns":["2\\.0%","at most","tolerance"]},{"label":"Uses absolute variance","patterns":["absolute","either direction"]},{"label":"Defines quantity ok","patterns":["received","at least","billed quantity"]},{"label":"Caps length","patterns":["\\d+\\s*words","under \\d+"]}],"mistakes":[{"title":"Excluding the lower price","why":"The AI treats the INV-4 discount as fine without testing it.","fix":"Say: \"Use the absolute variance; a lower price is still measured.\"","checks":["r0"]},{"title":"Counting the next truck","why":"The AI passes INV-3 because the units are coming.","fix":"Add: \"Quantity ok uses recorded received quantity only.\"","checks":["r1"]},{"title":"Boundary error","why":"The AI holds the invoices at exactly 2.0%.","fix":"Add: \"At most 2.0% passes.\"","checks":["r2"]},{"title":"Wrong table shape","why":"The AI changes the columns.","fix":"Add: \"Columns Invoice, Price variance %, Quantity ok, Result.\"","checks":["r0"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and runs past word limits.","fix":"Ask for fewer words than the real cap and keep each part short.","checks":["maxWords"]}],"hint":"Define the formula and both pass tests, including the boundary and the direction of the variance.","rubricLabels":["The table has columns Invoice, Price variance %, Quantity ok, Result; Price variance % shows 1.5, 2.5, 0.0, 2.0 and 2.0 (absolute, one decimal) for INV-1 to INV-5","Quantity ok shows Yes for all except INV-3, which is No (received 180 vs billed 200)","Result shows Pass, Hold, Hold, Pass, Pass, with INV-4 and INV-5 passing at exactly 2.0%"]}