{"name":"SQL Debug Environment","version":"1.0.0","description":"OpenEnv environment for training AI agents to debug SQL queries","status":"running","framework":"openenv-core 0.2.3","endpoints":{"health":"GET  /health","reset":"POST /reset","step":"POST /step","state":"GET  /state","tasks":"GET  /tasks","grader":"GET  /grader","baseline":"GET  /baseline","challenge":"POST /challenge","validate":"GET  /validate","metrics":"GET  /metrics","trajectories":"GET  /trajectories","trajectory":"GET  /trajectory/{episode_id}","leaderboard":"GET  /leaderboard","websocket":"WS   /ws","docs":"GET  /docs"},"multi_step_commands":{"description":"POST /step supports interactive multi-step debugging via the 'command' field","commands":[{"name":"SHOW_TABLES","usage":"{\"command\": \"SHOW_TABLES\"}","reward":"+0.10","description":"List all tables in the database"},{"name":"DESCRIBE <table>","usage":"{\"command\": \"DESCRIBE employees\"}","reward":"+0.20","description":"Show column names and types for a table"},{"name":"EXPLAIN <sql>","usage":"{\"command\": \"EXPLAIN SELECT * FROM employees\"}","reward":"+0.10","description":"Show the query execution plan"},{"name":"SUBMIT_QUERY <sql>","usage":"{\"command\": \"SUBMIT_QUERY SELECT name FROM employees\"}","reward":"0.05-0.95","description":"Submit a fix attempt — fractional reward based on correctness + exploration + efficiency"},{"name":"GIVE_UP","usage":"{\"command\": \"GIVE_UP\"}","reward":"-0.50","description":"Abandon the session"}],"note":"Legacy mode (type + sql fields) still works for backward compatibility"},"tasks":["easy","medium","hard","security"],"hf_space":"https://aryan-coder-25-openenv.hf.space","hackathon":"OpenEnv by Meta × Hugging Face × Scaler","tip":"Pass session_id in reset/step/state/grader to isolate your session"}