Spaces:
Sleeping
Sleeping
Download openenv.yaml from darshsingh1/sql-debug-env: direct link, hf CLI and curl.
- Browser
- Download file 995 Bytes
-
https://huggingface.co/spaces/darshsingh1/sql-debug-env/resolve/main/openenv.yaml
- Command line
-
hf download hf://spaces/darshsingh1/sql-debug-env/openenv.yaml
-
curl -L -o openenv.yaml https://huggingface.co/spaces/darshsingh1/sql-debug-env/resolve/main/openenv.yaml
995 Bytes
| name: sql-debug-env | |
| version: "1.0.0" | |
| description: > | |
| An environment where an AI agent debugs and fixes broken SQL queries | |
| against an in-memory SQLite database. Real-world data analyst task. | |
| author: "OpenENV Contributor" | |
| tasks: | |
| - name: fix-syntax | |
| difficulty: easy | |
| description: Fix a SQL query with a simple syntax error (missing comma between column names). | |
| - name: fix-logic | |
| difficulty: medium | |
| description: Fix a query with wrong JOIN type (INNER→LEFT) and incorrect date filter (>→>=). | |
| - name: fix-and-optimize | |
| difficulty: hard | |
| description: Fix a multi-step correlated subquery (wrong alias + missing GROUP BY); bonus for CTE rewrite. | |
| action_space: | |
| type: text | |
| description: A SQL query string submitted by the agent as its fix attempt. | |
| observation_space: | |
| schema_str: string | |
| task_description: string | |
| broken_query: string | |
| last_error: string or null | |
| last_output: string or null | |
| step_number: integer | |
| episode: | |
| max_steps: 8 | |
| reset_on_done: true | |