code-debug-env / README.md
VeerCodex's picture
Fix README config for HF space
d86fc66
|
Raw
History Blame Contribute Delete
689 Bytes
---
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 |