{"id":"revops-idle-opportunities-csv-sorted-by-amount","audience":"revops","category":"sales-work","technique":"format","track":"sales","level":"intermediate","title":"List idle opportunities in a CSV sorted by amount","free":false,"task":"Produce one fenced CSV with header opp,amount_k,days_idle and one row for each opportunity with no activity for 14 days or more (14 counts), sorted by amount from largest to smallest. days_idle is the days from the last activity to today, Nov 6 2026. At most 8 words outside the code block.","materialLabel":"Open opportunities (attached to your prompt automatically)","material":"Open opportunities (today Fri Nov 6 2026):\n\nOpp | Amount ($K) | Last activity\nO-101 | 120 | Oct 30\nO-102 | 90 | Oct 20\nO-103 | 200 | Oct 23\nO-104 | 50 | Oct 1\nO-105 | 75 | Oct 24\nO-106 | 60 | Sep 20\n\nHelper (days idle): O-101 = 7; O-102 = 17; O-103 = 14; O-104 = 36; O-105 = 13; O-106 = 47.\nRule: include opportunities idle 14 days or more. Sort by amount, largest first.\nA manager asked to include O-105 'because it's almost 14'. Apply the rule.","rules":[{"type":"codeBlocks","count":1},{"type":"maxProseWords","max":8}],"mistakes":[{"title":"Including O-105","why":"The AI follows the manager.","fix":"Add: \"14 days or more only.\"","checks":["r2"]},{"title":"Sorting by days idle","why":"The AI sorts by days_idle.","fix":"Add: \"Sort by amount, largest first.\"","checks":["r1"]},{"title":"Excluding exactly 14","why":"The AI leaves out O-103.","fix":"Add: \"Exactly 14 days counts.\"","checks":["r1"]},{"title":"Extra text","why":"The AI adds a table and commentary.","fix":"Add: \"One code block, at most 8 words outside it.\"","checks":["r0","codeBlocks","maxProseWords"]}],"promptHints":[{"label":"Names the header","patterns":["opp,amount_k,days_idle","csv"]},{"label":"States the threshold","patterns":["14 days or more","14 counts"]},{"label":"Sorts by amount","patterns":["largest","sort"]},{"label":"Uses the helper days","patterns":["helper","days idle"]},{"label":"Limits outside text","patterns":["outside","at most \\d+"]}],"hint":"Give the header, the 14-day threshold with its edge and the sort order.","rubricLabels":["The code block has the header opp,amount_k,days_idle and exactly 4 data rows","The rows in order are O-103,200,14 then O-102,90,17 then O-106,60,47 then O-104,50,36","O-101 and O-105 are not included (O-105 is idle 13 days), amounts are plain numbers, and there is one code block"]}