{"id":"ops-downtime-log-pareto-table","audience":"operations","category":"operations-work","track":"operations","technique":"format","level":"intermediate","title":"Total a downtime log by cause and show each cause's share","free":false,"task":"Write a prompt for a markdown table with columns Cause, Minutes and Share, sorted from largest to smallest, followed by one line: \"Top two causes: X + Y = N%\". Treat conveyor jam, belt jam and transfer jam as one cause called Jam. Add up the minutes yourself and show each total as a sum in the Minutes column. Shares are whole percents of the total. Under 100 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"LINE 3 DOWNTIME LOG - Monday to Friday (minutes)\n\nMon  06:20  Conveyor jam - 40\nMon  09:05  Material wait (resin late) - 60\nTue  07:15  Changeover to SKU 440 - 45\nTue  13:30  Belt jam - 30\nWed  08:40  Break overrun - 25\nWed  10:10  Sensor fault - 30\nThu  06:45  Changeover to SKU 512 - 30\nThu  14:05  Transfer jam - 20\nFri  12:30  Break overrun - 20\n\nNotes: The line lead says \"jams are killing us,\" the planner says it's changeovers. Total logged downtime is not given in the log. Shares are of the total logged downtime.","rules":[{"type":"maxWords","max":100}],"promptHints":[{"label":"Merges the jam entries","patterns":["one cause","jam","combine","merge"]},{"label":"Names the columns","patterns":["cause.*minutes.*share","table"]},{"label":"Shows the sums","patterns":["show the sum","40 \\+ 30","add"]},{"label":"Gives the last line","patterns":["top two causes"]},{"label":"Sets a length limit","patterns":["\\d+\\s*words","word (limit|count)","under \\d+"]}],"mistakes":[{"title":"Keeping three jam rows","why":"The AI lists conveyor, belt and transfer jams separately.","fix":"Say: \"Count conveyor, belt and transfer jams as one cause named Jam.\"","checks":["r1"]},{"title":"Totals with no sums","why":"The AI shows totals only, so mistakes hide.","fix":"Say: \"Show the sum in the Minutes column.\"","checks":["r1"]},{"title":"Wrong shares or last line","why":"The AI computes shares of the wrong total or skips the final line.","fix":"Say: \"Share = cause minutes / total minutes; end with Top two causes: X + Y = N%.\"","checks":["r2"]},{"title":"No table","why":"The AI writes bullets.","fix":"Name the three columns and the sort order.","checks":["r0"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and usually runs long, so a vague \"keep it short\" lands over the limit.","fix":"Cap each part instead of the total, for example \"each line under 15 words\".","checks":["maxWords"]}],"hint":"Say how to merge the jam entries, show sums in the Minutes column and give the last line format.","mission":"Find which causes ate the most downtime minutes.","musts":["Merge all jams into Jam","Show minutes as sums","Whole-number percent shares"],"rubricLabels":["The output is a markdown table with the columns Cause, Minutes and Share followed by a line starting \"Top two causes:\"","Minutes are summed correctly and shown: Jam 40 + 30 + 20 = 90, Changeover 45 + 30 = 75, Material wait 60, Break overrun 25 + 20 = 45 and Sensor fault 30, sorted largest to smallest","Shares are 30%, 25%, 20%, 15% and 10% in that order, and the last line says Jam + Changeover = 55%"]}