Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
40
109
messages
listlengths
49
201
resolved
bool
1 class
patch
stringlengths
202
134k
problem_statement
stringlengths
230
130k
PASS_TO_PASS
listlengths
1
3.38k
image_name
stringlengths
59
105
repo
stringlengths
28
74
difficulty
stringclasses
3 values
FAIL_TO_PASS
listlengths
1
2.86k
debug_patch
stringlengths
194
134k
139bercy__pypel.92fc416b.lm_rewrite__bq369741w86jbpfn
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/pypel/transformers/Transformers.py b/pypel/transformers/Transformers.py\nindex 257d356(...TRUNCATED)
"NullValuesReplacerTransformer not handling pandas NA values correctly\n\nDescription\n\nI'm having (...TRUNCATED)
["tests/integration/test_cli.py::TestGetArgs::test_raises_if_file_not_specified","tests/integration/(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.139bercy_1776_pypel.92fc416b
autocode07/139bercy__pypel.92fc416b
<15 min fix
[ "tests/unit/test_transformer.py::TestAtomicTransformers::test_null_values_replacer" ]
"diff --git a/pypel/transformers/Transformers.py b/pypel/transformers/Transformers.py\nindex 93950f3(...TRUNCATED)
20c__munge.882070db.func_pm_class_rm_funcs__vdcsbzaaapqsak78
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex fd1d12d..831f6f5 100644\n--- a/src/mu(...TRUNCATED)
"Config.copy() method is missing\n### Describe the bug\n\nThe `Config` class seems to be missing the(...TRUNCATED)
["tests/test_cli.py::test_cli","tests/test_codecs.py::test_codec_registry","tests/test_codecs.py::te(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.20c_1776_munge.882070db
autocode07/20c__munge.882070db
<15 min fix
[ "tests/test_config.py::test_config_copy" ]
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex 831f6f5..fd1d12d\n--- b/src/munge/con(...TRUNCATED)
20c__munge.882070db.func_pm_ctrl_shuffle__e0oiw8zuzszksa4d
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex fd1d12d..c00faa6 100644\n--- a/src/mu(...TRUNCATED)
"get_nested method broken after recent changes\n\nI'm having issues with the `get_nested` method in (...TRUNCATED)
["tests/test_cli.py::test_cli","tests/test_codecs.py::test_codec_registry","tests/test_codecs.py::te(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.20c_1776_munge.882070db
autocode07/20c__munge.882070db
<15 min fix
["tests/test_config.py::test_conf0[mk_base_conf0]","tests/test_config.py::test_conf0[mk_base_conf0_i(...TRUNCATED)
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex c00faa6..fd1d12d\n--- b/src/munge/con(...TRUNCATED)
20c__munge.882070db.func_pm_op_swap__iwsakce45tmncx8j
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex fd1d12d..cea8e01 100644\n--- a/src/mu(...TRUNCATED)
"### What happened?\n\nWhen trying to parse a URL with an unsupported file extension, the error mess(...TRUNCATED)
["tests/test_cli.py::test_cli","tests/test_codecs.py::test_codec_registry","tests/test_codecs.py::te(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.20c_1776_munge.882070db
autocode07/20c__munge.882070db
<15 min fix
[ "tests/test_config.py::test_parse_url" ]
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex cea8e01..fd1d12d\n--- b/src/munge/con(...TRUNCATED)
20c__munge.882070db.func_pm_remove_wrapper__4meehf2ogxzk4rrn
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex fd1d12d..69f53b7 100644\n--- a/src/mu(...TRUNCATED)
"Config.try_read() method doesn't actually try to read config files anymore\n\nDescription\n\nI was (...TRUNCATED)
["tests/test_cli.py::test_cli","tests/test_codecs.py::test_codec_registry","tests/test_codecs.py::te(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.20c_1776_munge.882070db
autocode07/20c__munge.882070db
<15 min fix
[ "tests/test_config.py::test_base_config_ctor_try_read2" ]
"diff --git a/src/munge/config.py b/src/munge/config.py\nindex 69f53b7..fd1d12d\n--- b/src/munge/con(...TRUNCATED)
2gis__k8s-handle.dec5c73e.func_pm_ctrl_shuffle__t2snghhdw9opudui
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 6c2564f..1cb2244 100644\n--- a/k8s_(...TRUNCATED)
"get_all_nested_keys function returns empty list instead of collecting all keys\n\nI'm experiencing (...TRUNCATED)
["tests/test_config.py::TestContextGeneration::test_check_empty_var","tests/test_config.py::TestCont(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.2gis_1776_k8s-handle.dec5c73e
autocode07/2gis__k8s-handle.dec5c73e
<15 min fix
["tests/test_config.py::TestContextGeneration::test_dashes_in_var_names","tests/test_config.py::Test(...TRUNCATED)
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 1cb2244..6c2564f\n--- b/k8s_handle/(...TRUNCATED)
2gis__k8s-handle.dec5c73e.func_pm_op_swap__cgpz06bpw36242k0
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 6c2564f..6472240 100644\n--- a/k8s_(...TRUNCATED)
"Kubernetes API authentication token format is incorrect\n\nDescription\n\nWhen configuring the Kube(...TRUNCATED)
["tests/test_config.py::TestContextGeneration::test_check_empty_var","tests/test_config.py::TestCont(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.2gis_1776_k8s-handle.dec5c73e
autocode07/2gis__k8s-handle.dec5c73e
<15 min fix
["tests/test_config.py::TestPriorityEvaluation::test_k8s_client_configuration_success","tests/test_c(...TRUNCATED)
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 6472240..6c2564f\n--- b/k8s_handle/(...TRUNCATED)
2gis__k8s-handle.dec5c73e.func_pm_remove_assign__wordb0b4xdyrur8b
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 6c2564f..d4b66dd 100644\n--- a/k8s_(...TRUNCATED)
"NameError: name 'all_keys' is not defined in validate_dashes function\n\n**Describe the bug**\nThe (...TRUNCATED)
["tests/test_config.py::TestContextGeneration::test_check_empty_var","tests/test_config.py::TestCont(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.2gis_1776_k8s-handle.dec5c73e
autocode07/2gis__k8s-handle.dec5c73e
<15 min fix
["tests/test_config.py::TestContextGeneration::test_concatination_with_env","tests/test_config.py::T(...TRUNCATED)
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex d4b66dd..6c2564f\n--- b/k8s_handle/(...TRUNCATED)
2gis__k8s-handle.dec5c73e.lm_rewrite__oge46qj9pqfv8ysy
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 6c2564f..54cf5cc 100644\n--- a/k8s_(...TRUNCATED)
"environment_deprecated() method not returning boolean value\n\nI'm using k8s-handle and encounterin(...TRUNCATED)
["tests/test_config.py::TestContextGeneration::test_check_empty_var","tests/test_config.py::TestCont(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.2gis_1776_k8s-handle.dec5c73e
autocode07/2gis__k8s-handle.dec5c73e
<15 min fix
["tests/test_config.py::TestPriorityEvaluation::test_environment_deprecated","tests/test_config.py::(...TRUNCATED)
"diff --git a/k8s_handle/config.py b/k8s_handle/config.py\nindex 54cf5cc..6c2564f\n--- b/k8s_handle/(...TRUNCATED)
3YOURMIND__django-migration-linter.799957a5.func_pm_class_rm_funcs__nwdvqdpxn92jleyx
[{"content":"You are OpenHands agent, a helpful AI assistant that can interact with a computer to so(...TRUNCATED)
true
"diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter(...TRUNCATED)
"### Describe the bug\n\nI'm encountering an issue with the migration linter where it's not properly(...TRUNCATED)
["tests/unit/test_linter.py::LinterFunctionsTestCase::test_read_migrations_empty_file","tests/unit/t(...TRUNCATED)
chaofantao/autocode07:swesmith.x86_64.3yourmind_1776_django-migration-linter.799957a5
autocode07/3YOURMIND__django-migration-linter.799957a5
15 min - 1 hour
["tests/unit/test_linter.py::LinterFunctionsTestCase::test_read_migrations_no_file","tests/unit/test(...TRUNCATED)
"diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter(...TRUNCATED)
End of preview. Expand in Data Studio

Dataset Summary

Paper | Github | HF Collection

SWE-Lego-Synthetic-Data contains 11.5k synthetic github issues (Python language) and their multi-turn agent trajectories. The column named messages is collected using Qwen/Qwen3-Coder-480B-A35B-Instruct with OpenHands (v0.53.0) agent scaffolding, which can be directly used for SFT training.

This dataset is part of the work presented in SWE-Lego, a supervised fine-tuning (SFT) recipe designed to achieve state-of-the-art performance in software engineering (SWE) issue resolving.

.
└── data
    ├── resolved-00000-of-00001.parquet (9.1k github issues with resolved trajectories)
    └── unresolved-00000-of-00001.parquet (2.4k github issues with unresolved trajectories)

The effectiveness of the dataset has been demonstrated by training exclusively with SFT from Qwen3-8B and Qwen3-32B, and evaluated on SWE-Bench-Verified:



We’ve open-sourced everything—our dataset, code, and training scripts, for everyone to progress on scaling and improving software engineering agents. For more details, please refer to our Github and Paper.


How to use

import json
from datasets import load_dataset

# Load dataset
ds = load_dataset("SWE-Lego/SWE-Lego-Synthetic-Data", split="resolved")

# Select required columns
processed_ds = ds.select_columns(["instance_id", "messages"])
    
# Convert to list format
data_list = processed_ds.to_list()
    
# Save as JSON file
filename = "swe_lego_synthetic_data_resolved_trajectories.json"
with open(filename, "w", encoding="utf-8") as f:
    json.dump(data_list, f, ensure_ascii=False, indent=4)
print(f"Saved {len(data_list)} records to {filename}")

Acknowledgement

SWE-Lego-Synthetic-Data is built upon SWE-rebench and SWE-smith.


Citation

Please cite our paper if you find the repo helpful in your work:

@misc{swelego,
      title={SWE-Lego: Pushing the Limits of Supervised Fine-tuning for Software Issue Resolving}, 
      author={Chaofan Tao and Jierun Chen and Yuxin Jiang and Kaiqi Kou and Shaowei Wang and Ruoyu Wang and Xiaohui Li and Sidi Yang and Yiming Du and Jianbo Dai and Zhiming Mao and Xinyu Wang and Lifeng Shang and Haoli Bai},
      year={2026},
      eprint={2601.01426},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2601.01426}, 
}
Downloads last month
202

Models trained or fine-tuned on SWE-Lego/SWE-Lego-Synthetic-Data

Paper for SWE-Lego/SWE-Lego-Synthetic-Data