Datasets:
trajectory_id stringlengths 36 36 | instance_id stringlengths 11 59 | repo stringlengths 5 55 | language stringclasses 11
values | harness stringclasses 3
values | teacher stringclasses 4
values | source stringclasses 2
values | source_shard stringclasses 127
values | source_row int64 0 2.5k | resolved int8 1 1 | messages listlengths 15 501 | tools_json large_stringclasses 3
values | num_messages int32 15 501 | normalization_flags_json stringclasses 200
values | content_sha256 stringlengths 64 64 | minicpm5_tokens int32 2.83k 131k | minicpm5_supervised_tokens int32 792 103k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
284ddb6f-cef0-4d61-a236-d94f70e7fcd1 | mapbox_mercantile_pr65 | mapbox/mercantile | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 2 | 1 | [
{
"role": "system",
"content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.",
"reasoning_content": null,
"tool_calls": null,
"tool_call_id": null
},
{
"role": "user",
"content": "<pr_description>\nConsider the following PR descripti... | [{"function":{"description":"Execute a bash command","name":"bash","parameters":{"properties":{"command":{"description":"The bash command to execute","type":"string"}},"required":["command"],"type":"object"}},"type":"function"}] | 59 | {"inferred_single_result_id":28,"terminal_call_without_observation":1} | 728127d458d7d0423c131526491508f56e3a37e8d45566fcd5db9592fa986ea6 | 37,028 | 13,146 |
7f2f6911-9142-4c47-80d6-983deefad1cd | oasis-open_cti-taxii-client_pr54 | oasis-open/cti-taxii-client | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 5 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 99 | {"inferred_single_result_id":48,"terminal_call_without_observation":1} | 2e7425bb7e6d28cf374f927570a56c62d660ba3097dd52bf17eb8c155e0e1f42 | 37,339 | 15,732 |
82fbfd6b-775a-406c-8d60-acdc3eb7194d | auth0_auth0-python_pr669 | auth0/auth0-python | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 10 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 77 | {"inferred_single_result_id":37,"terminal_call_without_observation":1} | 505b003d060d76559529403df015efb08e1393ff5548e5cef95ad74dad571904 | 33,768 | 8,289 |
c8b9258b-2e75-4cfb-ba23-2bc9c133342a | django-extensions_django-extensions_pr1931 | django-extensions/django-extensions | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 12 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 71 | {"inferred_single_result_id":34,"terminal_call_without_observation":1} | 504139af588b82ef26fa52c0463d744582ba693b10d47df334890e3197dc90ee | 34,118 | 12,339 |
485fac6f-05dd-459a-83d0-85de20f87656 | ncclient_ncclient_pr555 | ncclient/ncclient | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 13 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 77 | {"inferred_single_result_id":37,"terminal_call_without_observation":1} | c6c4e21de3eccd46795fbd8788e1f8dfd08795b2387fb9227b3363b16c0a519a | 16,208 | 5,453 |
75b27782-3bcb-4e6b-b5df-6b6335ac47d9 | zabuldon_teslajsonpy_pr425 | zabuldon/teslajsonpy | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 17 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 99 | {"inferred_single_result_id":48,"terminal_call_without_observation":1} | bcc9b3397ffba8ee91c310bf3d21d1ece4abe2f44be7430de2a9675cd29dda8c | 27,332 | 9,327 |
9b9bf04d-e23c-41ec-83a9-18847a6b4b54 | audreyr_cookiecutter_pr1669 | audreyr/cookiecutter | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 18 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 115 | {"inferred_single_result_id":56,"terminal_call_without_observation":1} | 7b70d297aaab479ccbc2359b325f1524b155386d2bb3c9c205cb20d891212a78 | 31,493 | 10,087 |
c2ac9554-39da-4538-996a-c57911f28b4a | django-crispy-forms_django-crispy-forms_pr1230 | django-crispy-forms/django-crispy-forms | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 22 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 127 | {"inferred_single_result_id":62,"terminal_call_without_observation":1} | 2a78fa2094cfea0e3a8d7ecb3a7839932618fcfa4a7759e5465eeda0779d7fdb | 35,078 | 14,637 |
f01e55c4-28e9-4155-bcd9-ee838cd39386 | spulec_freezegun_pr53 | spulec/freezegun | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 33 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 81 | {"inferred_single_result_id":39,"terminal_call_without_observation":1} | b5cac423838d22194f282c61d9e48f65d0550d3d31f0359fb3b25c5e6fa6f3be | 27,504 | 14,776 |
77113814-2a56-4006-8d6b-5565939adba5 | materialsvirtuallab_monty_pr728 | materialsvirtuallab/monty | python | minisweagent | qwen36_27b | scale-swe | data/minisweagent/qwen36_27b/scale-swe/train-00000-of-00017.parquet | 39 | 1 | [{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED) | "[{\"function\":{\"description\":\"Execute a bash command\",\"name\":\"bash\",\"parameters\":{\"prop(...TRUNCATED) | 101 | {"inferred_single_result_id":49,"terminal_call_without_observation":1} | 0779a541a76e8a41c53e97f2007cb09da30aee3a741e4ba60e20e3d0c6cd9ac6 | 28,828 | 10,302 |
Open-SWE-Traces successes — cleaned, untokenized (v1)
This is the untokenized companion of
LingweiGu/openswe-success-sft-v1.
It holds the same 81,963 resolved software-engineering agent trajectories from
nvidia/Open-SWE-Traces (revision f8fb5b3d), with the
same filtering, the same train/validation split and the same row order. Here they are chat messages for any
tokenizer or chat template; the MiniCPM5 input_ids/labels are left out. Rows join to the tokenized release on
trajectory_id (and content_sha256).
| Split | Trajectories | Unique tasks | Repositories | Messages | Tool calls | MiniCPM5 tokens | MiniCPM5 supervised tokens |
|---|---|---|---|---|---|---|---|
| train | 77,840 | 18,372 | 2,762 | 10,333,538 | 5,127,717 | 3,591,261,499 | 1,116,235,128 |
| validation | 4,123 | 872 | 145 | 546,323 | 271,093 | 191,911,168 | 58,345,014 |
Validation is repository-disjoint from train. Several successful attempts per task are kept (up to 18, mean 4.2),
so rows are not independent tasks; cap or balance per instance_id when mixing.
Schema
| Column | Content |
|---|---|
trajectory_id, instance_id, repo, language, harness, teacher, source, source_shard, source_row, resolved |
provenance (source_shard/source_row locate the upstream record) |
messages |
list of {role, content, reasoning_content, tool_calls, tool_call_id}; role ∈ system/user/assistant/tool; absent fields are null |
messages[].tool_calls |
list of {id, type: "function", function: {name, arguments}}; arguments is a JSON string (OpenAI format) |
tools_json |
tool definitions (OpenAI function schema list) as a JSON string |
num_messages |
number of messages |
normalization_flags_json |
per-row record of the normalizations below |
content_sha256 |
SHA-256 of the conversation without call ids (same value as the tokenized release) |
minicpm5_tokens, minicpm5_supervised_tokens |
lengths under the MiniCPM5 template, for rough length filtering; other tokenizers differ |
Harnesses are the upstream OpenHands (4,266 train), SWE-agent (40,402) and mini-swe-agent (33,172) formats, not converted to a common one: the system prompt and tool set vary by harness. Train teachers: Qwen3.6-27B 55,078, MiniMax-M2.5 12,645, Qwen3.5-122B-A10B 5,862, Qwen3.8-27B 4,255.
Use
import json
from datasets import load_dataset
ds = load_dataset("LingweiGu/openswe-success-sft-v1-untokenized", split="train")
def to_chat(row):
"""Messages and tools ready for tokenizer.apply_chat_template(messages, tools=tools)."""
messages = []
for m in row["messages"]:
m = {k: v for k, v in m.items() if v is not None}
if "tool_calls" in m:
m["tool_calls"] = [{**c, "function": {**c["function"], "arguments": json.loads(c["function"]["arguments"])}}
for c in m["tool_calls"]]
messages.append(m)
return messages, json.loads(row["tools_json"])
messages, tools = to_chat(ds[0])
to_chat turns arguments into objects, which templates that render arguments key by key expect; keep the string
if your template wants a string. For SFT, put loss on assistant turns (reasoning, text and tool calls) and treat
system, user and tool messages as context. Trajectories go up to 131,072 MiniCPM5 tokens; do not truncate them
silently.
How the text relates to upstream
messages is the cleaned upstream conversation, not a decode of token ids. We compared every row with its upstream
record. Roles, message text, reasoning, tool names, argument values, upstream call ids and tool definitions are
identical in all 81,963 rows. The only changes are these normalizations from the curation pipeline:
| Change | Count |
|---|---|
Tool-call arguments parsed from JSON strings; keys sorted (stored here again as a JSON string) |
5,398,810 calls (all) |
Empty reasoning_content ("") dropped |
4,454,730 messages |
Tool results linked to their call: upstream tool messages carry no tool_call_id, so each gets the id of the single pending call (conversations with several calls pending and no ids were excluded during curation) |
5,316,847 results |
Upstream metadata outside the conversation (such as the reference patch) is not included. Filtering and audits are
described in the tokenized release and its provenance/.
Verification
Checked for every row before release:
- Round-trip: converting each row back (null fields dropped,
argumentsparsed) gives exactly the conversation stored in the tokenized release (messages_json).tools_jsonis byte-identical, and row order andtrajectory_ids match. - Tokens: rendering each row with the MiniCPM5-2B-Midtrain chat template (revision
0a45344e, assistant-only masking as in the curation pipeline) reproduces the releasedinput_idsandlabelsexactly. That covers 81,963/81,963 rows and 3,783,172,667 tokens.content_sha256recomputed from this data matches in every row. - Upstream: each row matches its
nvidia/Open-SWE-Tracesrecord up to the normalizations above (0 rows with any other difference).
License and attribution
Derived from nvidia/Open-SWE-Traces (CC BY 4.0; per-record upstream repository licenses apply, see the upstream
card) and its task sources Scale-SWE and SWE-rebench-V2. Attribution to NVIDIA and the upstream authors.
- Downloads last month
- 344