Spaces:
Sleeping
Sleeping
File size: 689 Bytes
d86fc66 8272e36 d86fc66 8272e36 d86fc66 8272e36 d86fc66 8272e36 d86fc66 8272e36 d86fc66 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
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
1. Easy β Fix addition bug
2. Medium β Fix max finder bug
3. 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 | |