CoolFace
Apppublic

coderbug/micro_swe_gym

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

Micro-SWE Gym ๐Ÿš€

OpenEnv environment for the Meta ร— SST Hackathon Round 1. Micro-SWE Gym acts as an Automated PR Reviewer/Fixer. Given a broken Python function, an AI agent must return corrected code that passes a hidden suite of unit tests to earn a reward.


๐Ÿ“‚ File Structure

text
micro_swe_gym/
โ”œโ”€โ”€ models.py                # MicroSweGymAction + MicroSweGymObservation models
โ”œโ”€โ”€ inference.py             # Baseline agent (OpenAI-compatible client)
โ”œโ”€โ”€ openenv.yaml             # OpenEnv spec v1 metadata
โ”œโ”€โ”€ pyproject.toml           # Project dependencies and entry points
โ”œโ”€โ”€ README.md                # Project documentation
โ”œโ”€โ”€ server/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ app.py               # FastAPI entry point with main()
โ”‚   โ”œโ”€โ”€ Dockerfile           # Deployment container config
โ”‚   โ”œโ”€โ”€ requirements.txt     # Backend dependencies
โ”‚   โ””โ”€โ”€ micro_swe_gym_environment.py  # Core env logic (reset/step/state)