Medium
Check feature flag targeting expressions
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 flag_targets.toml. Rule: in env='prod', rule_expr must never be the wildcard "user.id == '*'". Wildcards are allowed in dev. If any prod target uses a wildcard rule_expr, set status to 'conflict_detected' and put its target_id in flagged_items. Otherwise keep 'completed'. Return in result: compliant_qps_budget=<sum of qps_budget for compliant targets>.
- Files you work with
flag_targets.toml- Your AI must return
compliant_qps_budget- 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
Tuesday 24/11 update on summing compliant QPS budgets across targeting rules. When summing qps_budget, leave the beta tier out of the reported total. Someone asked whether to drop the internal tier too; we declined, so keep it in. Still check for wildcard targeting expressions across the entire config.
Rooms with this problem
- Software & IT Practitioner 6 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