Medium
Detect duplicate exit interview records
The task
This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.
Audit exit_interviews.json for duplicate exit records. No employee may have two exit records in the same quarter (different quarters are fine). If duplicates exist, set status='conflict_detected' and list both exit_ids in flagged_items; otherwise keep 'completed'. Compute total_severance_usd as sum(severance_days * daily_rate_usd). Return in result: total_severance_usd=<total severance payout of compliant records>.
- Files you work with
exit_interviews.json- Your AI must return
total_severance_usd- Level
- Medium. A mid-level task: the rule has an exception you have to find in the data.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Manager’s note
Your AI can’t see this
On Monday 23/11 I reviewed the exit severance payout table. An earlier proposal regarding grouping by department was shelved. Only count staff records in total_severance_usd and leave contractor records out.
Rooms with this problem
- HR Practitioner 10 Medium