MetaPytorch-Hackathon-2 / openenv.yaml
shreyas231219's picture
Fix HF Space crash by updating Dockerfile ENV and adding robustness to environment initialization
60c21c4
spec_version: 1
name: sql_sandbox
type: space
runtime: fastapi
app: server.app:app
port: 7860
description: >
SQL/Data Cleaning Sandbox a real-world OpenEnv environment where AI agents
clean messy databases via SQL and Python. Six tasks from basic to advanced with
partial-progress grading and penalties.
reward_range: [0.0, 1.0]
tasks:
- id: task1
name: Data Triage
grader: "server.environment:grade_easy"
- id: task2
name: Data Cleaning
grader: "server.environment:grade_medium"
- id: task3
name: Schema Migration
grader: "server.environment:grade_hard"
- id: task4
name: Log Analysis
grader: "server.environment:grade_task4"
- id: task5
name: Data Imputation
grader: "server.environment:grade_task5"
- id: task6
name: Complex Join & Ranking
grader: "server.environment:grade_task6"
action_space:
type: object
properties:
tool:
type: string
enum: [sql, python]
command:
type: string
observation_space:
type: object
properties:
output:
type: string
error:
type: string
current_step:
type: integer
max_steps:
type: integer
task_description:
type: string