. ├─ test_case # from QuixBugs(Only the executable `.py` files and corresponding `.txt` ) ├─ results # some sample results ├─ cyto.json # Generated output (do not edit manually) ├─ index.html # Frontend visualization (Cytoscape) ├─ main.py # Calls OpenAI and generates cyto.json ├─ package-lock.json ├─ package.json └─ README.md
- Python 3.10+
- OpenAI API key (API billing enabled)
pip3 install -r requirements.txtsetx OPENAI_API_KEY "YOUR_API_KEY"export OPENAI_API_KEY="YOUR_API_KEY"Run everything with a single command — installs deps, generates graphs, starts server, and opens the browser automatically:
python run.pyFirst run will prompt for your OpenAI API key and offer to save it to .env for future runs. It might take a while.
python run.py # QuixBugs cases only (test_case/)
python run.py --swe # Also fetch & process SWE-bench Lite cases
python run.py --no-pipeline # Skip generation, just view existing output
python run.py --dir <path> # Process a custom input directory if you wantpython -m http.server 8000
# open http://localhost:8000/index.htmlDo not commit your API key. Use a .env file (added to .gitignore) instead.