{"id":"cx-refund-totals-by-reason-exclude-tests","audience":"analysts","category":"support-work","technique":"verification","track":"support","level":"intermediate","title":"Total refunds by reason after removing test refunds","free":false,"task":"Output a table with the header \"Reason | Count | Total\" with one row per reason, sorted by total from highest to lowest, then a last line \"All: N refunds, $T\". Exclude refunds marked as tests. Plain text, under 60 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"REFUND LOG (week of Nov 2)\nR1 | Damaged | $40\nR2 | Late | $25\nR3 | Damaged | $60\nR4 | Wrong item | $30\nR5 | Late | $15 | note: test refund by trainee\nR6 | Late | $35\nR7 | Wrong item | $20\nR8 | Damaged | $25 | note: test refund, sandbox\n\nNOTES\nTest refunds were never paid out. Amounts are in dollars; no cents. The log covers refunds issued by the support team only; refunds issued by the finance team directly are in a separate sheet and are not part of this report. The week runs Monday to Sunday and the log was exported on Monday morning, Nov 9.","rules":[{"type":"plainText"},{"type":"maxWords","max":60}],"mistakes":[{"title":"Including the test refunds","why":"The AI counts R5 and R8.","fix":"Say: \"Exclude refunds marked as tests.\"","checks":["r1","r2"]},{"title":"Not sorting","why":"The AI keeps the log order.","fix":"Say: \"Sort by total, highest first.\"","checks":["r0"]},{"title":"Missing the summary line","why":"The AI stops at the table.","fix":"Give the last-line format.","checks":["r2"]},{"title":"Getting markdown back","why":"AI adds bold and headings by default, which show up as stray symbols where this is pasted.","fix":"Say \"plain text, no bold, no headings, no asterisks\".","checks":["plainText"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and usually runs long, so a vague \"keep it short\" lands well over the limit.","fix":"Cap each part instead of the total, for example \"each line under 15 words\".","checks":["maxWords"]}],"promptHints":[{"label":"Gives the header","patterns":["reason \\| count \\| total"]},{"label":"Excludes tests","patterns":["exclude","test"]},{"label":"Sorts by total","patterns":["sorted","highest to lowest","highest first"]},{"label":"Asks for plain text","patterns":["plain","no bold","no markdown","no formatting","no headings"]},{"label":"Sets a length limit","patterns":["\\d+\\s*words","word (limit|count)","under \\d+"]}],"hint":"Give the header, say to exclude tests and how to sort, and give the last line.","rubricLabels":["The first row is \"Reason | Count | Total\" and the rows are sorted Damaged, Late, Wrong item","Damaged is 2 and $100, Late is 2 and $60, and Wrong item is 2 and $50 (test refunds R5 and R8 excluded)","The last line is exactly \"All: 6 refunds, $210\""]}