All problems
Medium

Spot attendance anomalies and fraud

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 attendance log attendance.csv for 2026-11-20. Sites: NYC_OFFICE and NYC_WAREHOUSE are in New York, CHI_OFFICE is in Chicago, BOS_OFFICE is in Boston. Fraud rule: one employee cannot clock in at sites in two different cities less than 2 hours apart (two sites in the same city, or two cities hours apart, are fine). GPS clock-ins with an approval code WFH-APP- are valid. If clock-ins break the rule, set status to 'conflict_detected' and put both attendance_ids in flagged_items. If the data is valid, keep 'completed'. Return in result: compliant_hours_logged=<total hours_logged of the rows that follow the rule>.

Files you work with
attendance.csv
Your AI must return
compliant_hours_logged
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
Quick note (Monday 23/11): hours clocked at NYC_WAREHOUSE this month are billed to the logistics client, so leave them out of compliant_hours_logged. Still run the fraud check on every row, warehouse rows included. Ops asked whether to drop BOS_OFFICE too, I said no.

Rooms with this problem

  1. HR Practitioner 2 Medium