{"id":"ops-overtime-cap-roster-check","audience":"managers","category":"operations-work","track":"operations","technique":"verification","level":"intermediate","title":"Sum weekly hours per person and flag anyone over their cap","free":false,"task":"Write a prompt for plain text. The first line is exactly \"HOURS CHECK - week of Mar 10\", then one line per person in the order listed, then a last line \"Flagged:\". Each person line shows the daily hours added up, the person's cap, and OK or FLAG with how many hours over. Use the right cap for each person's role. At the cap is OK; only over the cap is a flag. Under 150 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"WEEKLY HOURS - Shipping dept (paid hours, Mon-Sat)\n\nOkafor, Neil (warehouse): Mon 10, Tue 10, Wed 12, Thu 10, Fri 10\nRuiz, Ana (warehouse): Mon 8, Tue 8, Wed 8, Thu 10, Fri 10\nDela Cruz, Marco (shift supervisor): Mon 10, Tue 10, Wed 10, Thu 10, Fri 11\nChen, Li (warehouse): Mon 12, Tue 12, Wed 12, Thu 12\nPruitt, Sam (warehouse): Mon 9, Tue 9, Wed 9, Thu 9, Fri 9, Sat 4\n\nPOLICY\nWeekly paid-hours cap: 48 for warehouse staff, 50 for shift supervisors.\nAnyone over their cap needs a written manager approval on file. The manager and HR follow up on each flag; this check only identifies them.\n\nNote: the scheduler said everyone was \"under 50\" so no review was needed.","rules":[{"type":"plainText"},{"type":"maxWords","max":150}],"promptHints":[{"label":"Asks for the sum shown","patterns":["added up","show the sum","10 \\+ 10","sum"]},{"label":"Gives both caps","patterns":["48","50","supervisor"]},{"label":"Defines FLAG","patterns":["over the cap","at the cap","flag"]},{"label":"Asks for a Flagged line","patterns":["flagged:"]},{"label":"Asks for plain text","patterns":["plain","no bold","no markdown","no formatting","no headings"]}],"mistakes":[{"title":"Using one cap for everyone","why":"The AI applies 48 or 50 to all, or trusts the scheduler's 'under 50'.","fix":"Say: \"Cap is 48 for warehouse staff and 50 for the shift supervisor.\"","checks":["r2"]},{"title":"Flagging people exactly at the cap","why":"The AI flags Chen at 48.","fix":"Say: \"At the cap is OK; only over the cap is FLAG.\"","checks":["r2"]},{"title":"Hours not added up","why":"The AI states totals without showing the sum, hiding errors.","fix":"Say: \"Show the daily hours added up on each line.\"","checks":["r1"]},{"title":"Wrong structure","why":"The AI writes a table or adds recommendations.","fix":"Say: \"One line per person in the listed order, then a Flagged line.\"","checks":["r0"]},{"title":"Markdown extras and long output","why":"AI adds bold, headings and bullets by default, which show up as stray symbols where this is pasted.","fix":"Say \"plain text, no bold, no headings\" and cap each line, for example \"each line under 15 words\".","checks":["plainText","maxWords"]}],"hint":"Give the line format, the two caps and what counts as a flag.","mission":"Check everyone's weekly hours against their role's cap.","musts":["Right cap per role","At cap is OK","Show hours over"],"rubricLabels":["The first line is exactly \"HOURS CHECK - week of Mar 10\", followed by one line per person in the listed order (Okafor, Ruiz, Dela Cruz, Chen, Pruitt) and a last line starting \"Flagged:\"","The sums are correct: Okafor 52, Ruiz 44, Dela Cruz 51, Chen 48 and Pruitt 49, each shown as added daily hours","Okafor (4 over 48), Dela Cruz (1 over 50) and Pruitt (1 over 48) are FLAG, Ruiz and Chen (exactly at 48) are OK, and the Flagged line lists Okafor, Dela Cruz and Pruitt"]}