Hard
Audit index dead-tuple bloat thresholds
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 index_stats.json. Health rule: every index must have dead_tuple_pct <= max_dead_pct. If any index exceeds max_dead_pct, set status to 'conflict_detected' and put its index_id in flagged_items. Otherwise keep 'completed'. Return in result: healthy_gin_pct=<rounded integer percentage of compliant indexes with index_type='gin'>.
- Files you work with
index_stats.json- Your AI must return
healthy_gin_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
Tuesday 24/11 note for computing the percentage of healthy GIN indexes. Restrict both numerator and denominator to production indexes with size at least 100 MB. Ignore the rejected October draft regarding temporary dead-tuple thresholds. Still check dead-tuple limits across every index.
Rooms with this problem
More Software & IT problems
- Validate webhook URLs against SSRF Hard
- Find command injection in CI workflows Hard
- Check API changes for breaking changes Hard
- Check cron jobs against the off-peak window Hard
- Check JWT verification settings Hard
All Software & IT problems → · Using TraceGrade for Software & IT hiring