Scale-SWE
Collection
Immersion in the GitHub Universe: Scaling Coding Agents to Mastery • 5 items • Updated
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<str_replace_editor: int64, execute_bash: int64, finish: int64, "finish"/: int64>
to
{'str_replace_editor': Value('int64'), 'execute_bash': Value('int64'), 'finish': Value('int64')}
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 609, in wrapped
for item in generator(*args, **kwargs):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 310, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 130, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2303, in cast_table_to_schema
cast_array_to_feature(
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1852, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2059, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1854, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2059, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1854, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2149, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<str_replace_editor: int64, execute_bash: int64, finish: int64, "finish"/: int64>
to
{'str_replace_editor': Value('int64'), 'execute_bash': Value('int64'), 'finish': Value('int64')}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1343, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
source string | messages list | system string | extra_info dict | id string | paradigm string | tool_call_version string | tools string |
|---|---|---|---|---|---|---|---|
ali-deepseek-v4-pro | [
{
"role": "user",
"content": "<uploaded_files>\n/workspace/gunicorn\n</uploaded_files>\n\nI've uploaded a python code repository in the directory /workspace/gunicorn. Consider the following issue description:\n\n<issue_description>\n# `socketfromfd` fails on SmartOS (SunOS) due to missing `getsockopt` symbo... | You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.
<ROLE>
Your primary role is to assist users by executing commands, modifying code, and solving technical problems effectively. You should be thorough, methodical, and prioritize quality over speed.
* If the user asks a qu... | {
"instance_id": "benoitc_gunicorn_pr2185",
"score": 1,
"success": true,
"finish_reason": "finish",
"duration": 163.2965556439,
"stats": {
"total_time": 138.844,
"llm_time": 127.018,
"tool_time": 11.826,
"steps": 20,
"llm_calls": 20,
"tool_usage": {
"str_replace_editor": 5,
... | ali-deepseek-v4-pro_20260507_192407_benoitc_gunicorn_pr2185 | mono | 0.0.68 | [{"type": "function", "function": {"name": "str_replace_editor", "description": "Custom editing tool for viewing, creating and editing files\n* State is persistent across command calls and discussions with the user\n* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view`... |
ali-deepseek-v4-pro | [
{
"role": "user",
"content": "<uploaded_files>\n/workspace/asyncgui\n</uploaded_files>\n\nI've uploaded a python code repository in the directory /workspace/asyncgui. Consider the following issue description:\n\n<issue_description>\n# Add `ISignal` primitive for single-waiter synchronization\n\n## Descripti... | You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.
<ROLE>
Your primary role is to assist users by executing commands, modifying code, and solving technical problems effectively. You should be thorough, methodical, and prioritize quality over speed.
* If the user asks a qu... | {
"instance_id": "asyncgui_asyncgui_pr66",
"score": 1,
"success": true,
"finish_reason": "finish",
"duration": 176.0181796793,
"stats": {
"total_time": 156.84,
"llm_time": 154.268,
"tool_time": 2.572,
"steps": 17,
"llm_calls": 17,
"tool_usage": {
"str_replace_editor": 8,
... | ali-deepseek-v4-pro_20260507_192407_asyncgui_asyncgui_pr66 | mono | 0.0.68 | [{"type": "function", "function": {"name": "str_replace_editor", "description": "Custom editing tool for viewing, creating and editing files\n* State is persistent across command calls and discussions with the user\n* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view`... |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/preliz\n</uploaded_files>\n\nI've uploaded a(...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"arviz-devs_preliz_pr182","score":1.0,"success":true,"finish_reason":"finish","durati(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_arviz-devs_preliz_pr182 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/beets\n</uploaded_files>\n\nI've uploaded a (...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"beetbox_beets_pr3661","score":1.0,"success":true,"finish_reason":"finish","duration"(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_beetbox_beets_pr3661 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/qontract-reconcile\n</uploaded_files>\n\nI'v(...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"app-sre_qontract-reconcile_pr3","score":1.0,"success":true,"finish_reason":"finish",(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_app-sre_qontract-reconcile_pr3 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/beets\n</uploaded_files>\n\nI've uploaded a (...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"beetbox_beets_pr4386","score":1.0,"success":true,"finish_reason":"finish","duration"(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_beetbox_beets_pr4386 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/audiofile\n</uploaded_files>\n\nI've uploade(...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"audeering_audiofile_pr146","score":1.0,"success":true,"finish_reason":"finish","dura(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_audeering_audiofile_pr146 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/python-rison\n</uploaded_files>\n\nI've uplo(...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"betodealmeida_python-rison_pr7","score":1.0,"success":true,"finish_reason":"finish",(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_betodealmeida_python-rison_pr7 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/beets\n</uploaded_files>\n\nI've uploaded a (...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"beetbox_beets_pr5356","score":1.0,"success":true,"finish_reason":"finish","duration"(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_beetbox_beets_pr5356 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
ali-deepseek-v4-pro | [{"role":"user","content":"<uploaded_files>\n/workspace/qontract-reconcile\n</uploaded_files>\n\nI'v(...TRUNCATED) | "You are OpenHands agent, a helpful AI assistant that can interact with a computer to solve tasks.\n(...TRUNCATED) | {"instance_id":"app-sre_qontract-reconcile_pr1856","score":1.0,"success":true,"finish_reason":"finis(...TRUNCATED) | ali-deepseek-v4-pro_20260507_192407_app-sre_qontract-reconcile_pr1856 | mono | 0.0.68 | "[{\"type\": \"function\", \"function\": {\"name\": \"str_replace_editor\", \"description\": \"Custo(...TRUNCATED) |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
| Field | Description |
|---|---|
instance_id |
A unique identifier formatted as {user}_{repo}_pr{id}. |
user |
The owner of the GitHub repository. |
repo |
The name of the GitHub repository. |
language |
The programming language of the codebase (currently Python). |
workdir |
The working directory path within the environment. |
image_url |
The URL of the pre-built Docker image for the task. |
patch |
The ground-truth patch (Golden Patch) from the corresponding pull request. |
pr_commit |
The commit hash of the pull request. |
parent_commit |
The commit hash of the parent commit (base state). |
problem_statement |
The issue description conveying the bug, provided to the model as input. |
f2p_patch |
The developer-written test patch containing tests that fail before the fix (if available). For evaluation, this patch should be applied. See this script. |
f2p_script |
The synthetic reproduction script generated by our unit-test creator agent. Because a lot of high qaulity pull request do not have author written F2P, we can only synthetic F2P. This should be applied as test_fail_to_pass.py file just under repository directory. just before evaluation. See this script. |
FAIL_TO_PASS |
Unit tests that fail on the buggy version but pass after the fix. |
PASS_TO_PASS |
Unit tests that pass in both versions (regression tests). |
github_url |
The URL of the original GitHub repository. |
pre_commands |
These commands must be executed immediately upon entering the container to check out the correct commit. |
We fine-tuned Qwen-30B-A3B-Instruct on our synthesized trajectories.

Please use AweAgent to inference Scale-SWE-Agent. Scale-SWE-Agent model parameter is avaliable at Huggingface. Key parameters can be seen below:
| Parameter | Value |
|---|---|
| Max turns | 200 |
| Max sequence length | 256k |
| Temperature | 1 |
If you find this project useful for your research, please consider citing our paper:
@misc{zhao2026immersiongithubuniversescaling,
title={Immersion in the GitHub Universe: Scaling Coding Agents to Mastery},
author={Jiale Zhao and Guoxin Chen and Fanzhe Meng and Minghao Li and Jie Chen and Hui Xu and Yongshuai Sun and Xin Zhao and Ruihua Song and Yuan Zhang and Peng Wang and Cheng Chen and Jirong Wen and Kai Jia},
year={2026},
eprint={2602.09892},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2602.09892},
}
This project is licensed under the CC BY 4.0 License - see the LICENSE file for details.