{"id":"cx-partial-return-discount-share-math","audience":"customer-support","category":"support-work","technique":"verification","track":"support","level":"intermediate","title":"Refund one item from an order that used a whole-order promo code","free":false,"task":"Work out the refund for the returned item in exactly three lines starting \"Item:\", \"Discount share:\" and \"Refund:\". Show the math, like \"20% x $60 = $12\". Shipping is not refunded. Plain text, under 50 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"ORDER #6630 (customer Aisha Daud)\nItems: Desk lamp $40; Chair mat $60. Subtotal $100. Promo code SAVE20 took 20% off the whole order (discount $20). Shipping $8. Total paid $88.\nReturn request: only the chair mat is being returned. The lamp stays.\n\nPOLICY: when a promo code was used, the refund equals the item price minus the item's share of the discount. The discount share is the same percent as the code. Shipping is never refunded.\nAisha wrote: \"I paid $60 for the chair mat, so please refund $60.\" (Incorrect: she paid less because of the code.)\nAgent comment: 'Just refund $60, it is easier.'","rules":[{"type":"plainText"},{"type":"maxWords","max":50}],"mistakes":[{"title":"Refunding the sticker price","why":"The customer and the agent comment say $60.","fix":"Say: \"Refund = price minus its discount share.\"","checks":["r2"]},{"title":"Missing the share","why":"The AI refunds $48 without showing why.","fix":"Say: \"Discount share: 20% x $60 = $12.\"","checks":["r1"]},{"title":"Wrong layout","why":"The AI writes a paragraph.","fix":"Name the three labels.","checks":["r0"]},{"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":"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+"]},{"label":"Names the labels","patterns":["item:","discount share:","refund:"]},{"label":"States the rule","patterns":["discount share","minus","shipping"]}],"hint":"Partial refunds with promo codes need the share rule and the math. State the rule and the three lines.","rubricLabels":["The output is exactly three lines starting Item:, Discount share: and Refund:","Discount share shows 20% x $60 = $12","Refund shows $60 - $12 = $48, not $60 and not including the $8 shipping"]}