GitBug-Java is a reproducible Java benchmark of recent bugs.
Requirements:
- Python
- Poetry
- Docker
- Setup Python environment
poetry shell poetry install- Add GitBug-Java and custom Act version to path
export PATH="$(pwd):$(pwd)/bin:$PATH"- Run Setup (Installs Docker Image ~50GiB, downloads required dependencies ~80GiB)
gitbug-java setup- List all available project ids
gitbug-java pids- List all available bug ids
gitbug-java bids [-p=PID]- Checkout bug-fix
gitbug-java checkout PID BID WORK_DIR [--fixed]- Run Actions
gitbug-java run WORK_DIRPlease refer to the paper