Medium
Detect duplicate relocation grants by move type
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.
Review mobility_minutes.md and relocation_grants.md. Rule: each emp_id may have at most one grant per move_type. If an emp_id has duplicate grants for the same move_type, set status to 'conflict_detected' and put both move_ids in flagged_items. Otherwise keep 'completed'. Return in result: total_domestic_clawback_days=<sum of clawback_days for compliant grants>.
- Files you work with
mobility_minutes.mdrelocation_grants.md- Your AI must return
total_domestic_clawback_days- 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
Friday 27/11 note for summing clawback days across compliant domestic relocation grants. Only count domestic move grants with at least 180 clawback days in total_domestic_clawback_days. Ignore the cancelled Q3 plan about separate storage fee reporting.
Rooms with this problem
- HR Practitioner 7 Medium