All problems
Hard

Detect conflicting table-locking reindex jobs

Software & IT

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 reindex_jobs.csv, vacuum_daemon.log, and email_2026-11-25.txt. Lock rule: two mode='LOCKING' jobs must never run on the same table_name. Multiple CONCURRENTLY jobs on the same table are fine. If two LOCKING jobs target the same table_name, set status to 'conflict_detected' and put both job_ids in flagged_items. Otherwise keep 'completed'. Return in result: compliant_prod_concurrent_count=<count of compliant jobs>.

Files you work with
reindex_jobs.csv vacuum_daemon.log email_2026-11-25.txt
Your AI must return
compliant_prod_concurrent_count
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
Hi database team, on Monday 23/11 I need the count of compliant production reindex jobs. Only count compliant jobs running in the production environment with CONCURRENTLY mode. Ignore the cancelled Q3 plan to separate invoice tables. Still check for conflicting locking jobs on the same table.

Rooms with this problem

  1. Software & IT Expert 8 Hard