Library › Data AI › HR and recruiting
Work out PTO balances with the carryover cap applied
- For HR and recruiting
- You practice Catching mistakes and made-up facts
- Time about 5 minutes
About this exercise
Employees earn 1.25 PTO days per full month worked, and carryover from last year is capped at 5 days. Write exactly 4 numbered lines, one per employee, each showing carryover (after the cap) + days earned through October 31 - days used = balance. Plain text, under 110 words.
Common mistakes when you ask AI for this
- Not giving the cap. The AI uses Ben's full 8 days, agreeing with his 10.5. Try: Add: "Carryover is capped at 5 days."
- Giving everyone a full year. The AI accrues 10 months for Cy, who started in July. Try: Add: "Count only full months worked in 2026."
- Balances without math. The AI lists balances you can't check before payroll. Try: Show it: "1. Ana: 3 + 12.5 - 6 = 9.5".
- Long or formatted output. AI adds a policy summary in bold. Try: Add: "Only the 4 lines, plain text."
What a strong prompt includes
- States the cap
- Gives the accrual rate
- Handles the new hire
- Asks to show the math
- Asks for plain text
Related exercises
- Alert sales to a competitor's price change, facts only (Research & AI Search · Product managers)
- Approve or return expense claims against the policy (Productivity AI · Finance and accounting)
- Approve part of an overtime request with the math (Writing AI · Managers and team leads)
- Ask the right questions about a usage drop (Customer Support & Success AI · Customer success managers)
- Audit chatbot transcripts against guardrails as JSON (Customer Support & Success AI · Customer support teams)