src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-swecompass-ffc107?color=ffc107&logoColor=white"/>
6
60 commits
1 linked in READMEs
updated Dec 24, 2025
Current evaluations of LLMs for software engineering are limited by a narrow range of task categories, a Python-centric bias, and insufficient alignment with real-world development workflows.
To bridge these gaps, SWECompass establishes a high-coverage, multi-dimensional, and production-aligned evaluation framework:
By integrating heterogeneous code tasks with real engineering practices, SWECompass provides a reproducible, rigorous, and production-oriented benchmark for diagnosing and improving the software engineering capabilities of large language models.
Refer to the official documentation:
https://docs.docker.com/engine/install/
Enter the project directory and run:
cd swe-compass
pip install -e .
pip install -r requirements.txt
Enter the project directory and run:
cd swe-compass
bash pull_docker.sh
python download_all_data.py
The scripts will automatically download the evaluation environment from DockerHub.
You need to prepare a JSON file that maps each instance_id to its corresponding patch and metadata.
Example format (see swe-compass/data/example.json):
{
"<instance_id>": {
"model_name_or_path": "<your_model_name>",
"instance_id": "<instance_id>",
"model_patch": "<your_model_patch>"
}
}
Each prediction entry only requires three fields:
model_name_or_path,instance_id,model_patch
cd swe-compass
python validation.py \
--dataset_name ./data/swecompass_all_2000.jsonl \
--predictions_path <your_predictions.json> \
--max_workers <num_workers> \
--run_id <run_id> \
--model_name <judge_model_name> \
--api_key <judge_api_key> \
--base_url <judge_model_base_url> \
--proxy <proxy address>
python validation.py \
--dataset_name ./data/swecompass_all_2000.jsonl \
--predictions_path ./data/example.json \
--max_workers 10 \
--run_id test \
--model_name deepseek_v3 \
--api_key xxx \
--base_url xxx \
--proxy http ...
swe-compass/output/work/<run_id>/
Contains execution traces and logs for each instance.
swe-compass/output/result/<run_id>/
Contains two files:
| File | Content |
|---|---|
raw_data.jsonl | Raw evaluation results for each instance |
result.json | Aggregated scores by task, language, and scenario |
| Argument | Description |
|---|---|
--dataset_name | Path to dataset |
--predictions_path | Model predictions JSON file |
--max_workers | Number of worker processes |
--run_id | Unique identifier for this run |
--model_name | Judge LLM model name |
--api_key | Judge LLM API key |
--base_url | Judge LLM API URL |
--proxy | Proxy address |
We welcome contributions from the research community in NLP, Machine Learning, and Software Engineering.
Researchers are encouraged to submit issues or pull requests that extend, evaluate, or refine the benchmark.
For collaboration or inquiries, please contact:
We appreciate constructive engagement and look forward to further improvements driven by the community.
@article{xu2025SWECompass,
title={SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models},
author={Xu, Jingxuan and Deng, Ken and Li, Weihao and Yu, Songwei etc},
journal={arXiv preprint arXiv:2511.05459},
year={2025}
}
src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-swecompass-ffc107?color=ffc107&logoColor=white"/>
6
60 commits
1 linked in READMEs
updated Dec 24, 2025
Current evaluations of LLMs for software engineering are limited by a narrow range of task categories, a Python-centric bias, and insufficient alignment with real-world development workflows.
To bridge these gaps, SWECompass establishes a high-coverage, multi-dimensional, and production-aligned evaluation framework:
By integrating heterogeneous code tasks with real engineering practices, SWECompass provides a reproducible, rigorous, and production-oriented benchmark for diagnosing and improving the software engineering capabilities of large language models.
Refer to the official documentation:
https://docs.docker.com/engine/install/
Enter the project directory and run:
cd swe-compass
pip install -e .
pip install -r requirements.txt
Enter the project directory and run:
cd swe-compass
bash pull_docker.sh
python download_all_data.py
The scripts will automatically download the evaluation environment from DockerHub.
You need to prepare a JSON file that maps each instance_id to its corresponding patch and metadata.
Example format (see swe-compass/data/example.json):
{
"<instance_id>": {
"model_name_or_path": "<your_model_name>",
"instance_id": "<instance_id>",
"model_patch": "<your_model_patch>"
}
}
Each prediction entry only requires three fields:
model_name_or_path,instance_id,model_patch
cd swe-compass
python validation.py \
--dataset_name ./data/swecompass_all_2000.jsonl \
--predictions_path <your_predictions.json> \
--max_workers <num_workers> \
--run_id <run_id> \
--model_name <judge_model_name> \
--api_key <judge_api_key> \
--base_url <judge_model_base_url> \
--proxy <proxy address>
python validation.py \
--dataset_name ./data/swecompass_all_2000.jsonl \
--predictions_path ./data/example.json \
--max_workers 10 \
--run_id test \
--model_name deepseek_v3 \
--api_key xxx \
--base_url xxx \
--proxy http ...
swe-compass/output/work/<run_id>/
Contains execution traces and logs for each instance.
swe-compass/output/result/<run_id>/
Contains two files:
| File | Content |
|---|---|
raw_data.jsonl | Raw evaluation results for each instance |
result.json | Aggregated scores by task, language, and scenario |
| Argument | Description |
|---|---|
--dataset_name | Path to dataset |
--predictions_path | Model predictions JSON file |
--max_workers | Number of worker processes |
--run_id | Unique identifier for this run |
--model_name | Judge LLM model name |
--api_key | Judge LLM API key |
--base_url | Judge LLM API URL |
--proxy | Proxy address |
We welcome contributions from the research community in NLP, Machine Learning, and Software Engineering.
Researchers are encouraged to submit issues or pull requests that extend, evaluate, or refine the benchmark.
For collaboration or inquiries, please contact:
We appreciate constructive engagement and look forward to further improvements driven by the community.
@article{xu2025SWECompass,
title={SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models},
author={Xu, Jingxuan and Deng, Ken and Li, Weihao and Yu, Songwei etc},
journal={arXiv preprint arXiv:2511.05459},
year={2025}
}