{"id":"hr-pto-overlap-days-table","audience":"hr","category":"people-work","track":"people","level":"intermediate","technique":"constraints","title":"Find the days when too many people are out","free":false,"task":"Using the PTO requests, return a table with the header Date | People out | Count for only the dates where 3 or more people are out. Dates in the form Dec 22. People out lists first names separated by commas. Sort by date. After the table add one line: Check coverage: followed by the number of dates listed. Include only approved requests. Weekends are not workdays. Plain text, no bold.","materialLabel":"Approved and pending PTO requests, Support team, December (attached to your prompt automatically)","material":"Approved\n- Ines: Dec 21 to Dec 23\n- Marcus: Dec 22 to Dec 24\n- Priya: Dec 23 to Dec 28 (Dec 26 and 27 are a weekend; Dec 25 is a company holiday and counts as out for coverage)\n- Joel: Dec 28 to Dec 31\n- Kai: Dec 24\n\nPending (not approved yet; ignore for this task)\n- Ruth: Dec 22 to Dec 23\n\nNotes: Dec 21, 2026 is a Monday. Dec 25 is Friday. Dec 28 is Monday. Treat Dec 24 and Dec 25 as ordinary workdays for counting (Dec 25 is a holiday but the team still counts coverage). Dec 26 and 27 are Saturday and Sunday and are skipped.\nOld calendar shows Marcus out Dec 22 to Dec 25; it was corrected to Dec 24.","rules":[{"type":"maxWords","max":80},{"type":"plainText"}],"mistakes":[{"title":"Including pending","why":"The AI counts Ruth.","fix":"Say: \"Include only approved requests.\"","checks":["r2"]},{"title":"Wrong dates","why":"The AI counts weekends or old calendar dates.","fix":"Say: \"Weekends are skipped; use the corrected Marcus dates.\"","checks":["r1"]},{"title":"Header and last line","why":"The AI adds columns or a summary.","fix":"Say: \"Header exactly Date | People out | Count and end with Check coverage: N.\"","checks":["r0"]},{"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":["date \\|","people out","count"]},{"label":"3 or more","patterns":["3 or more"]},{"label":"Approved only","patterns":["approved"]},{"label":"Last line","patterns":["check coverage"]},{"label":"Sort","patterns":["sort by date"]}],"hint":"Give the header, the 3-or-more rule, approved-only, and the last line.","mission":"Find the days when three or more people are out.","musts":["Approved requests only","Skip weekends","Count dates listed"],"rubricLabels":["Has the header Date | People out | Count and only dates with 3 or more people out, sorted by date","Rows are right: Dec 22 Ines, Marcus (only 2, so excluded), Dec 23 Ines, Marcus, Priya (3), Dec 24 Marcus, Priya, Kai (3), Dec 28 and later only Priya and Joel, so exactly Dec 23 and Dec 24 appear","Excludes Ruth's pending request and ends with exactly the line \"Check coverage: 2\""]}