Medium
Verify contractor rate caps across billing units
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 rate_policy_email.txt and contractor_rates.csv. Rule: every contractor's hourly equivalent rate (rate if rate_unit='hourly', or rate/8 if rate_unit='daily') must be <= 150 USD. If any contractor exceeds $150/hr, set status to 'conflict_detected' and put its worker_id in flagged_items. Otherwise keep 'completed'. Return in result: compliant_weekly_hours=<sum of weekly_hours for compliant contractors>.
- Files you work with
rate_policy_email.txtcontractor_rates.csv- Your AI must return
compliant_weekly_hours- 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 weekly hours across compliant contractors. Exclude the marketing department and also exclude rows with fewer than 15 weekly hours from compliant_weekly_hours. Ignore the cancelled Q3 proposal about separating daily-rate contracts.
Rooms with this problem
- HR Practitioner 9 Medium