{"id":"cs-cancellation-reason-codes-csv","audience":"managers","category":"support-work","technique":"constraints","track":"support","level":"advanced","title":"Code six cancellation notes with a fixed reason list","free":false,"task":"Code each cancellation note with exactly one reason code: PRICE, PRODUCT, SERVICE, COMPETITOR or BUDGET. If a customer names a rival product, use COMPETITOR even if price is mentioned. Return one CSV code block with the header \"id,reason,quote\" and six rows. The quote is a verbatim phrase of 6 words or fewer from the note. No text outside the block.","materialLabel":"Your material (attached to your prompt automatically)","material":"CANCELLATION NOTES (Q3)\nC1: \"We're closing the Denver office. There's no money left for any software.\"\nC2: \"Your reports can't handle multi-currency, so it's a dealbreaker for our EU team.\"\nC3: \"Honestly it's too expensive for what we use. Streamline gave us the same thing for $40 less.\"\nC4: \"I waited 9 days for an answer on our billing error. Three tickets, no fix.\"\nC5: \"The price went up 15% at renewal and we can't justify it.\"\nC6: \"Our new CEO standardized the whole group on Orbitly, so we're moving.\"\n\nReason code guide:\nPRICE = price is the main complaint. PRODUCT = a missing or broken capability. SERVICE = support quality or speed. COMPETITOR = moved to a named rival. BUDGET = the customer lost funds or cut spending in general.","rules":[{"type":"codeBlocks","count":1},{"type":"maxCodeLines","max":8}],"mistakes":[{"title":"Coding C3 as PRICE","why":"The customer says 'too expensive', so the AI picks PRICE.","fix":"Add: \"If a rival is named, use COMPETITOR even if price is mentioned.\"","checks":["r1"]},{"title":"Paraphrasing the quote","why":"The AI rewrites the note instead of quoting it.","fix":"Say: \"Quote verbatim, 6 words or fewer.\"","checks":["r2"]},{"title":"Wrong shape","why":"The AI adds a heading, an explanation or a table.","fix":"Say: \"One CSV code block, header id,reason,quote, nothing else.\"","checks":["r0"]},{"title":"Skipping the code block shape","why":"The AI splits output into several code blocks or none.","fix":"Say \"exactly one code block and nothing else\".","checks":["codeBlocks"]},{"title":"Letting the code sprawl","why":"The AI adds extra lines and comments.","fix":"Say \"at most N lines of code\".","checks":["maxCodeLines"]}],"promptHints":[{"label":"Asks for one code block","patterns":["code block","```"]},{"label":"Caps the code length","patterns":["lines"]},{"label":"Gives the header","patterns":["id,reason,quote"]},{"label":"States the competitor rule","patterns":["competitor","rival","named"]}],"hint":"Coding jobs need the allowed codes, the tie-break rule, and a strict CSV shape.","rubricLabels":["The output is a single CSV code block with the header id,reason,quote and exactly six data rows C1 to C6","The codes are C1 BUDGET, C2 PRODUCT, C3 COMPETITOR, C4 SERVICE, C5 PRICE, C6 COMPETITOR","Every quote is 6 words or fewer and appears word for word in its note, and there is no text outside the code block"]}