All problems
Easy

Find overlapping leave that leaves a team unstaffed

HR

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 the leave requests in leave_requests.csv. team_size is the number of people in the team. Rule: every team must keep at least one person on duty in each shift on each day, so the requests of one team for the same date and shift must be fewer than team_size. If a team would be left with nobody on duty, set status to 'conflict_detected' and put all request_ids involved in flagged_items. If all are valid, keep 'completed'. Return in result: compliant_leave_hours=<total leave_hours of the rows that follow the rule>.

Files you work with
leave_requests.csv
Your AI must return
compliant_leave_hours
Level
Easy. A good first task: one rule to apply and one thing to verify.
Time
About 10 minutes with your own AI. Free, not ranked.

Rooms with this problem

  1. HR Starter Easy