Hard
Audit badge clearance levels against role limits
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 badge_clearance.json. Rule: every badge must have clearance_level <= max_role_clearance. If any badge exceeds its max_role_clearance, set status to 'conflict_detected' and put its badge_id in flagged_items. Otherwise keep 'completed'. Return in result: active_hq_pct=<rounded integer percentage of compliant badges with active=true>.
- Files you work with
badge_clearance.json- Your AI must return
active_hq_pct- Level
- Hard. A hard task: several details interact, and a quick skim gives a confident wrong answer.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Manager’s note
Your AI can’t see this
Thursday 26/11 note for computing the percentage of compliant HQ badges that are active. Restrict both numerator and denominator of active_hq_pct to headquarters badges and exclude vendor badges. Ignore the cancelled Q3 plan to separate level-one clearance badges.
Rooms with this problem
- HR Expert 9 Hard