Spaces:
Sleeping
Sleeping
metadata
title: Code Debug Env
emoji: π
colorFrom: blue
colorTo: red
sdk: docker
app_file: app.py
pinned: false
Code Debug Environment
A reinforcement learning environment where an AI agent debugs buggy Python code across three difficulty levels.
Action Space
- fixed_code: string β The corrected Python code
Observation Space
- buggy_code, task_description, task_id, attempts
Tasks
- Easy β Fix addition bug
- Medium β Fix max finder bug
- Hard β Fix fibonacci bug
Setup
pip install fastapi uvicorn pydantic requests python -m uvicorn main:app --reload
Baseline Scores
| Task | Score |
|---|---|
| Easy | 1.0 |
| Medium | 1.0 |
| Hard | 1.0 |