Medium
Compute SLO budget compliance percentage
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 slo_targets.py. Every service must have slo_pct >= 99. Flag any service with slo_pct < 99 ('conflict_detected', flagged_items=[id]); otherwise keep 'completed'. Follow the Platform Director's instruction over the Tech Lead's when resolving conflicting guidance. Return in result: within_budget_pct=<rounded integer percentage of compliant services with within_budget=True>.
- Files you work with
slo_targets.py- Your AI must return
within_budget_pct- 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
On Wednesday 25/11 two leads gave conflicting notes on the SLO budget rate. An earlier proposal regarding weighting by team size was shelved. The Tech Lead asked to count canary-probe services in the percentage, while the Platform Director instructed to leave canary-probe services out of both numerator and denominator.
Rooms with this problem
- Software & IT Practitioner 3 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