Medium
Catch an extra zero in salary data
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 salary entries in salary_entries.csv. Control rule: SUPPORT roles are paid at most 15,000 USD; a salary above 50,000 USD is valid only for EXECUTIVE roles. If a salary breaks these limits (likely a typing error), set status to 'conflict_detected' and put the emp_id in flagged_items. If the whole list is valid, keep 'completed'. Return in result: total_valid_salaries=<total salary of the correctly entered rows, USD>.
- Files you work with
salary_entries.csv- Your AI must return
total_valid_salaries- 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.
Rooms with this problem
- HR Practitioner Medium