All problems
Easy

Detect conflicting active visa petitions

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.

Inspect visa_petitions.md. Rule: each emp_id may have at most one ACTIVE petition (EXPIRED ones do not count). If an emp_id has two ACTIVE petitions, set status to 'conflict_detected' and put both petition_ids in flagged_items. Otherwise keep 'completed'. Return in result: max_compliant_wage_usd=<maximum wage_usd among compliant petitions>.

Files you work with
visa_petitions.md
Your AI must return
max_compliant_wage_usd
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.
Manager’s note Your AI can’t see this
Hi immigration team, on Monday 23/11 I need the highest wage among compliant visa petitions. Exclude J1 visa petitions from max_compliant_wage_usd. Ignore the cancelled Q3 proposal about expired student visas.

Rooms with this problem

  1. HR Starter 5 Easy