--- language: - en license: apache-2.0 task_categories: - text-generation size_categories: - 10K

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](https://github.com/SWE-Lego/SWE-Lego) and [Paper](https://huggingface.co/papers/2601.01426). --- # How to use ```python 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](https://huggingface.co/datasets/nebius/SWE-rebench) and [SWE-smith](https://github.com/SWE-bench/SWE-smith?tab=readme-ov-file). --- # Citation Please cite our paper if you find the repo helpful in your work: ```bibtex @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}, } ```