Easy
Detect duplicate approved promotion nominations
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.
Audit promo_chat.txt. Rule: each emp_id may have at most one APPROVED promotion (WITHDRAWN nominations do not count). If an emp_id has two APPROVED promotions, set status to 'conflict_detected' and put both promo_ids in flagged_items. Otherwise keep 'completed'. Return in result: top_promo_id=<promo_id of the compliant APPROVED promotion with the highest raise_usd>.
- Files you work with
promo_chat.txt- Your AI must return
top_promo_id- 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
Tuesday 24/11 note for choosing the compliant promotion with the highest raise amount for top_promo_id. Exclude the executive department and also exclude employees with a rating below 4. Ignore the cancelled Q3 plan about withdrawn nominations.
Rooms with this problem
- HR Starter 4 Easy