SWE-Crafter: Scaling Executable Multilingual Software Engineering Data with Meta-Skill Agents
Shukai Liu, Jian Yang, Bo Jiang, Junhang Cheng, Haowen Wang, Xiao-Hui Li, Xianglong Liu
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › Verified Code Synthesis and Testing · Type: new method · Keywords: multilingual software engineering, repository-level bug fixing, executable data construction, skill-guided agents, SWE-bench evaluation
Areas: Code & Coding Agents › Code Verification › Code benchmarks; Multilingual › Cross-Lingual Methods › Cross-Lingual Representation; AI Agents › Agent Benchmarking › Coding agent benchmarks; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Software Engineering Benchmarks
Summary
SWE-Crafter is a unified agent-based framework that constructs executable multilingual software engineering data using language-specific skills, yielding over 50,000 validated instances and enabling a 40B model that achieves strong performance on multilingual SWE benchmarks.
Explained to a 5-year-old
People want computers to fix bugs in real code, but there aren't enough examples for languages other than Python. The researchers made a big helper that can look at code in many languages and learn how to test it. This helper uses little tricks for each language to understand the code and run tests. They used it to make over 50,000 examples of how to fix bugs from many different projects. These examples were used to teach a big computer program that can now fix bugs in many languages better.
Explained to a 5-year-old, longer
Computers that help fix code are called software engineering agents. Right now, most of the examples they learn from are only for the Python programming language. This makes it hard for them to understand and fix code written in other languages like JavaScript or Java. The researchers wanted to make a tool that could work with many languages at once. They built a system that shares most of its work, but adds special knowledge for each language. This special knowledge is like little rules that tell the system how to explore a project and create test commands. The system looks at documentation, configuration files, and error messages to understand each project. It then creates examples where a bug is fixed and the test passes. They applied this system to eight different programming languages. In total, they collected more than 50,000 real bug-fix examples from many projects. These examples were used to teach a very large computer program called SWE-Crafter-40B. The new program can now solve more than 60% of the multilingual testing problems, which is a big improvement.
For a technical reader
The system provides a unified pipeline that mines candidate bugs, synthesizes execution environments, validates fixes, and distills successful trajectories across eight languages. Language-specific skills are learned from repository experience and guide exploration and test command generation while preserving local evidence. Applying this pipeline yields over 50k validated instances and 68k distilled trajectories, which are used to supervised fine-tune a 40B model. The fine-tuned model reaches 61.0% on SWE-bench Multilingual and 77.2% on SWE-bench Verified, showing scalable multilingual supervision for repository-level agents.
Problem
Training software-engineering agents is limited by scarce executable supervision beyond Python, and building multilingual data is costly due to diverse language-specific pipelines.
Method
The approach uses a shared pipeline for candidate mining, environment synthesis, fail-to-pass validation, and trajectory distillation, while language-specific knowledge is encoded as extensible skills derived from repository experience to guide exploration and test command synthesis.
Results
The model trained on the constructed data achieves 61.0% on SWE-bench Multilingual and 77.2% on SWE-bench Verified, demonstrating strong multilingual performance.
Contributions
A unified agent-based pipeline that constructs multilingual executable SWE data using language-specific skills, producing over 50,000 validated instances and enabling large-scale supervised fine-tuning for repository-level agents.
Practical relevance
It enables broader language support for software engineering agents, making repository-level debugging and testing accessible across many programming languages.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction