Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
120
agent
stringclasses
1 value
model
stringclasses
1 value
model_provider
stringclasses
1 value
date
stringlengths
27
27
task
stringlengths
10
25
episode
stringclasses
54 values
run_id
stringclasses
18 values
trial_name
stringlengths
19
34
result
stringclasses
3 values
trace_source
stringclasses
13 values
teacher
stringclasses
1 value
teacher_model
stringclasses
1 value
task_group
stringclasses
3 values
reward
float64
0
1
โŒ€
started_at
stringlengths
27
27
exception
stringclasses
1 value
n_episodes
int64
2
59
n_turns_converted
int64
0
58
git_history_cmds
bool
2 classes
saw_bug_patch
bool
2 classes
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T15:14:10.831098Z
swesmith-04177_copy0001
episode-11
66ec796a-da2b-44ac-99f5-d809b682f22a
swesmith-04177_copy0001__eL5uQRM
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T15:14:10.831098Z
null
12
12
true
true
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T14:32:55.220116Z
swesmith-16447_copy0000
episode-14
95d14a89-b36a-4c05-a6f6-fa8aaa1280c3
swesmith-16447_copy0000__Kt5nJNq
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T14:32:55.220116Z
null
15
15
true
true
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T05:08:50.810581Z
swesmith-28119_copy0000
episode-7
fd43b6a4-b275-4416-a031-e58412b0b12c
swesmith-28119_copy0000__uB2vcue
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T05:08:50.810581Z
null
8
8
false
false
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T05:53:18.687721Z
swesmith-07245_copy0001
episode-15
d62199ac-850f-44f1-9df7-f13213592bff
swesmith-07245_copy0001__97fRMqy
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T05:53:18.687721Z
null
16
16
true
true
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED)
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T17:00:23.341137Z
swesmith-31331_copy0001
episode-28
55a738ec-ca43-43fd-86c5-a209be25f5b7
swesmith-31331_copy0001__CtvKLrq
0.0
main
T1
qwen38-27b
swesmith
0
2026-10-14T17:00:23.341137Z
null
29
29
true
true
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED)
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T16:27:31.453568Z
swesmith-06737_copy0001
episode-14
55a738ec-ca43-43fd-86c5-a209be25f5b7
swesmith-06737_copy0001__5a7Uhs2
0.0
main
T1
qwen38-27b
swesmith
0
2026-10-14T16:27:31.453568Z
null
15
15
true
true
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED)
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T09:18:43.634014Z
superuser-001486_copy0000
episode-4
25173192-8597-465b-96d8-79dd7d7624c5
superuser-001486_copy0000__5ZtjeJv
null
main
T1
qwen38-27b
unverified
null
2026-10-14T09:18:43.634014Z
null
5
5
false
false
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED)
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T11:25:49.033986Z
swesmith-22572_copy0000
episode-9
4ee655e8-6f9c-42bb-a466-ae453daa6d62
swesmith-22572_copy0000__ftpumv7
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T11:25:49.033986Z
null
10
10
false
false
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED)
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T15:00:28.715917Z
swesmith-07422_copy0000
episode-20
20cdc97c-270f-4bed-a5c6-c9a4045a4ad2
swesmith-07422_copy0000__QkXjASX
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T15:00:28.715917Z
null
21
21
true
true
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED)
terminus-2
hosted_vllm/t1-qwen38-27b
hosted_vllm
2026-10-14T15:14:10.811833Z
swesmith-02669_copy0001
episode-14
66ec796a-da2b-44ac-99f5-d809b682f22a
swesmith-02669_copy0001__oebeQvu
1.0
main
T1
qwen38-27b
swesmith
1
2026-10-14T15:14:10.811833Z
null
15
15
true
true
End of preview. Expand in Data Studio

OT-SFT-Data

Agent traces from several teachers on the OpenThoughts-Agent SFT task lists, collected for distillation experiments. The setup follows OpenThoughts-Agent: Terminus-2 (Harbor) with summarization on and no turn cap, 32,768-token context, one rollout per task, every trajectory kept (no success filter). Agent timeouts are 2x the task values, as in OpenThoughts-Agent. Teachers sample with their own default settings (temperature 1.0; Qwen teachers also top_p 0.95, top_k 20). Thinking is on, and earlier turns' reasoning is not sent back to the teacher.

There are two kinds of config.

Trace sets (<teacher>-<size>): every exported row. Rows are in OpenThoughts-Agent's format (harbor traces export, last episode per trial): trace_source is main (the whole trajectory from the task prompt) or a summarization sub-trace (summarization-<n>-summary / -questions / -answers). Assistant turns are <think>reasoning</think> followed by Terminus-2's JSON response, rebuilt from the parsed step (Terminus-2 did not keep raw responses), so whitespace and any stray text around the model's JSON are not preserved; turns the agent could not parse are kept as written. Extra columns: teacher, teacher_model, task_group, reward (verifier reward; none for SuperUser/Tezos tasks, whose verifiers do not test anything), exception, n_episodes, n_turns_converted, and two broad flags for SWE-Smith answer leakage through git history (the task repos keep their "Bug Patch" commit): git_history_cmds (the agent ran git show/diff/checkout against history) and saw_bug_patch (that commit appeared in its terminal output). Our infrastructure details in terminal output (Docker hosts' IP addresses and hostnames, host paths) are replaced with placeholders such as 203.0.113.x and /host/volume.

Config Teacher model Tasks Rows Tasks by group Path
T1-3.16k qwen38-27b 3136 4359 issue 834, swesmith 805, unverified 1497 T1-qwen38-27b/3.16k/train.parquet
T2-3.16k qwen38-27b-abl 3135 4845 issue 833, swesmith 805, unverified 1497 T2-qwen38-27b-abl/3.16k/train.parquet
T3-3.16k glm47-flash 3135 11663 issue 834, swesmith 805, unverified 1496 T3-glm47-flash/3.16k/train.parquet
T4-3.16k glm47-flash-abl 3136 11932 issue 834, swesmith 805, unverified 1497 T4-glm47-flash-abl/3.16k/train.parquet

Training sets (<teacher>-<size>-sft-v<k>): the rows to train on, following OpenThoughts-Agent's recipe. One row per task: main if it fits in 32,768 tokens, otherwise the latest summary/answers sub-trace that fits and has at least 5 assistant turns, otherwise main; then rows with fewer than 5 assistant turns are dropped. Train with every assistant turn's <think> text kept (LlamaFactory qwen3_nothink, as OpenThoughts-Agent's 8B students) and cutoff_len: 32768, which truncates longer rows (OpenThoughts-Agent truncates; do not drop them, since dropping long rows acts as a success filter). Token counts (sft_tokens, rendered as <|im_start|>role\ncontent<|im_end|> with the Qwen3-8B tokenizer) and sft_truncated are included. OpenThoughts-Agent's recipe: full fine-tune, 7 epochs, lr 4e-5, cosine, warmup 0.1, global batch 96.

Mixed-format training sets (<teacher>-<size>-sft-v1-mixed): the v0 rows (same rows, same shortcut flags), with about half of the tasks (chosen by a hash of the task name, the same tasks for every teacher; main traces only) rewritten into Qwen3's native tool-call format, so students also learn <tool_call> syntax (students trained on v0 write tool calls as bare JSON in tool-calling harnesses). Tool rows have a short system prompt and two tools, bash_command(keystrokes, duration) and mark_task_complete(): thinking becomes reasoning_content, analysis/plan the visible text, each command a tool call, the terminal output the tool response; replies that were not valid JSON are dropped with the parse-error reply. Columns: format (tool_calls / terminus_json), messages (JSON, OpenAI-style), tools (JSON or null), text (the row rendered for training: tool rows with Qwen3-8B's chat template and tools, thinking kept after the last user message as at inference; JSON rows as v0), recomputed sft_tokens / sft_asst_turns / sft_truncated, and sft_tool_calls; conversations stays in the JSON form. Train on the assistant spans of text (<|im_start|>assistant .. <|im_end|>), or feed messages + tools to a trainer that applies the chat template. Code: sft_tool_format.py, build_sft_mixed.py.

Shortcut flags (regex detectors on the agent's commands and the output that follows, counted only inside the first 32,768 tokens; shortcut_scan.py): shortcut_flags lists what the row shows: hist_cmd (reads git history), saw_bug_diff (a history command printed a diff; on SWE-Smith the "Bug Patch" commit is the injected bug), restore_hist (restores code from history), restore_tests (pulls the removed fail-to-pass tests out of history), git_clone / pkg_download (fetches the upstream repo or a released package; on IssueTasks these contain the fix), fetch_fix (fetches an upstream PR/commit/patch URL), grader_probe (looks at /logs/verifier, /tests, /solution, reward.txt), harness_logs (reads the harness's own episode logs), edit_test (writes, edits or deletes files in a tests/ directory or test config), skip_test (skip/xfail markers), complete_turn1 (marks the task complete before seeing any output), false_complete (marks it complete with verifier reward 0). shortcut_strong is true for the answer-revealing ones: a SWE-Smith history leak (saw_bug_diff, restore_hist, restore_tests), an IssueTasks upstream fetch (git_clone, pkg_download), fetch_fix, grader_probe or skip_test. v0 keeps these rows; for a filtered set use ds.filter(lambda r: not r["shortcut_strong"]). Detectors see commands only, so special-casing tests inside written code is not flagged.

Config Teacher model Rows Truncated at 32K shortcut_strong Rows by group Path
T1-3.16k-sft-v0 qwen38-27b 2515 1094 721 issue 684, swesmith 804, unverified 1027 T1-qwen38-27b/3.16k-sft-v0/train.parquet
T1-3.16k-sft-v1-mixed qwen38-27b 2515 1051 721 issue 684, swesmith 804, unverified 1027 T1-qwen38-27b/3.16k-sft-v1-mixed/train.parquet
T2-3.16k-sft-v0 qwen38-27b-abl 2688 1393 802 issue 646, swesmith 804, unverified 1238 T2-qwen38-27b-abl/3.16k-sft-v0/train.parquet
T2-3.16k-sft-v1-mixed qwen38-27b-abl 2688 1348 802 issue 646, swesmith 804, unverified 1238 T2-qwen38-27b-abl/3.16k-sft-v1-mixed/train.parquet
T3-3.16k-sft-v0 glm47-flash 3053 286 178 issue 823, swesmith 805, unverified 1425 T3-glm47-flash/3.16k-sft-v0/train.parquet
T3-3.16k-sft-v1-mixed glm47-flash 3053 274 178 issue 823, swesmith 805, unverified 1425 T3-glm47-flash/3.16k-sft-v1-mixed/train.parquet
T4-3.16k-sft-v0 glm47-flash-abl 3044 253 141 issue 822, swesmith 805, unverified 1417 T4-glm47-flash-abl/3.16k-sft-v0/train.parquet
T4-3.16k-sft-v1-mixed glm47-flash-abl 3044 242 141 issue 822, swesmith 805, unverified 1417 T4-glm47-flash-abl/3.16k-sft-v1-mixed/train.parquet

Load one: load_dataset("yixiaoh/OT-SFT-Data", "T1-3.16k-sft-v0").

Task sources: OpenThoughts-Agent-SFT-3.16K and -10K task names, with task packages from DCAgent3/g1_diverse_tezos_top4_100k_sandboxes. IssueTasks come from SWE-bench issues; 282 of their source instances are in SWE-bench Verified, so exclude those before evaluating on SWE-bench Verified.

Downloads last month
239