Medium
Check distributed lock lease TTL approvals
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 lock_leases.csv against lease_policy.yaml. Rule: any lease with ttl_days > 14 must be approved_by 'staff_eng' ('eng_oncall' may approve up to 14 days). If any lease violates approval policy, set status to 'conflict_detected' and put its lease_id in flagged_items. Otherwise keep 'completed'. Return in result: total_compliant_ttl_days=<sum of ttl_days for compliant leases>.
- Files you work with
lock_leases.csvlease_policy.yaml- Your AI must return
total_compliant_ttl_days- 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
Hi team, on Tuesday 24/11 I need the total TTL days for compliant distributed lock leases. Leave all staging entries out of the reported sum. The cancelled Q3 plan to separate auth services does not apply. Still validate lease approval authority across all rows.
Rooms with this problem
- Software & IT Practitioner 5 Medium
More Software & IT problems
- Find leaked keys in config files Medium
- Find lock-order deadlock risks Medium
- Check exposed ports in docker compose Medium
- Check rate limits on sensitive endpoints Medium
- Find null-reference bugs Medium
All Software & IT problems → · Using TraceGrade for Software & IT hiring