{"id":"hr-training-overdue-table-from-list","audience":"hr","category":"people-work","track":"people","level":"intermediate","technique":"constraints","title":"Find overdue compliance training in a completion list","free":false,"task":"Using today's date, Nov 9, 2026, return a table with the header Employee | Course | Due | Days overdue listing only people whose course is overdue and not completed. Days overdue = Nov 9 minus the due date, as a number. Sort by days overdue, largest first. Plain text, no bold. After the table, one line: Overdue total: N. Do not include anyone who completed the course or has an approved extension. HR reviews before reminders go out.","materialLabel":"Training completion list (attached to your prompt automatically)","material":"Annual Safety Training, due dates by team:\n\nName | Course | Due | Status\nOsei Boateng | Forklift Safety | Oct 30 | Completed Oct 28\nMaya Lindqvist | Hazard Communication | Oct 15 | Not started\nHenry Park | Forklift Safety | Nov 2 | In progress\nSana Qureshi | Hazard Communication | Nov 15 | Not started\nDiego Ramos | Forklift Safety | Oct 20 | Not started (extension to Nov 20 approved)\nLena Fischer | Hazard Communication | Nov 6 | Completed Nov 8 (late)\nGrace Tanaka | Fire Safety | Nov 1 | Not started\n\nNote: \"Days overdue\" in the old report counted from Oct 1; ignore that report. Nov has 30 days; Oct has 31.","rules":[{"type":"maxWords","max":100},{"type":"plainText"}],"mistakes":[{"title":"Including completed or extended","why":"The AI keeps Lena or Diego.","fix":"Say: \"Exclude completed courses and approved extensions.\"","checks":["r0"]},{"title":"Wrong day counts","why":"The AI miscounts across October and November.","fix":"Say: \"Days overdue = Nov 9 minus due date; Oct has 31 days. Show the number only.\"","checks":["r1"]},{"title":"Missing total line","why":"The AI summarizes in a sentence.","fix":"Say: \"End with the line Overdue total: N.\"","checks":["r2"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting. Ask for a total word limit and it often lands over it.","fix":"Cap each part instead, for example: \"each line under 15 words.\"","checks":["maxWords"]},{"title":"Markdown","why":"The AI bolds words or adds headings.","fix":"Say: \"Plain text, no bold, no headings.\"","checks":["plainText"]}],"promptHints":[{"label":"Exact header","patterns":["employee \\|","days overdue"]},{"label":"Today's date","patterns":["nov 9"]},{"label":"Sort","patterns":["largest first","sort"]},{"label":"Total line","patterns":["overdue total"]},{"label":"Exclusions","patterns":["completed","extension"]}],"hint":"Give today's date, the header, the sort and the total line.","mission":"List who is overdue on compliance training as of Nov 9.","musts":["Skip completed or extended","Days overdue as number","Largest overdue first"],"rubricLabels":["Has the header Employee | Course | Due | Days overdue and rows only for Maya, Grace and Henry (not Osei, Sana, Diego or Lena)","Days overdue are right (Maya 25, Grace 8, Henry 7) and rows are sorted largest first","Ends with exactly the line \"Overdue total: 3\""]}