{"name":"SQL Repair Environment","version":"4.0.0","status":"running","description":"AI agent training environment for SQL query repair. 20 tasks covering all real-world SQL bug categories. Features diagnostic mode, execution diffs, and progress rewards.","total_tasks":20,"difficulty_breakdown":{"easy":7,"medium":7,"hard":6},"bug_categories":{"syntax":"Misspelled SQL keywords","join":"Wrong JOIN column references","having":"WHERE used instead of HAVING with aggregates","subquery":"Wrong aggregate function in correlated subquery","join_type":"Wrong JOIN type (LEFT vs INNER) with WHERE filter","self_join":"Self-join with wrong column and missing LEFT JOIN","group_by":"Non-aggregated column in SELECT with GROUP BY","duplicate_count":"Duplicate rows from multi-table join — needs SUM(DISTINCT)"},"innovations":["Diagnostic mode: run free SQL queries to explore DB before fixing","Execution diffs: agent sees its result vs expected result","Progress reward: bonus for improving score across attempts","Anti-hack grader: penalises unchanged/duplicate submissions","Bug categories: structured curriculum learning support"],"endpoints":{"ui":"/","health":"/health","docs":"/docs","info":"/info","tasks":"/tasks","grader":"/grader","baseline":"/baseline","reset":"/reset","step":"/step","state":"/state"}}