sql-debug-env / openenv.yaml
darshsingh1's picture
Upload folder using huggingface_hub
2f8e591 verified
Raw History Blame Contribute Delete
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