Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
instance_id
string
curation_strategy
string
generator
string
source_dataset
string
source_raw
string
repo
string
image
string
messages
list
tools
string
resolved
bool
reward
float64
agent_exit_code
int64
n_assistant_turns
int64
n_messages
int64
model_patch
string
patch_applied
bool
diff_len
int64
elapsed_sec
float64
gen_node
string
self_judgement_log
string
n_steps_logged
int64
n_branched_steps
int64
n_judged_steps
int64
n_harness_error_msgs
int64
3yourmind__django-migration-linter-113
standard
Qwen3.5-122B-A10B
SWE-rebench-V2
null
3YOURMIND/django-migration-linter
docker.io/swerebenchv2/3yourmind-django-migration-linter:113-799957a
[ { "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, "name": null }, { "role": "user", "content": "<pr_description>\nConsider the foll...
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
false
0
0
76
153
diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter.py index 31f8fea..58d7a8b 100644 --- a/django_migration_linter/migration_linter.py +++ b/django_migration_linter/migration_linter.py @@ -296,6 +296,7 @@ class MigrationLinter(object): try: with open...
true
1,374
2,755.2
local/local.sft.jsonl
null
0
0
0
0
3yourmind__django-migration-linter-222
standard
Qwen3.5-122B-A10B
SWE-rebench-V2
null
3YOURMIND/django-migration-linter
docker.io/swerebenchv2/3yourmind-django-migration-linter:222-3baf948
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
false
0
0
46
93
"diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter(...TRUNCATED)
true
2,284
749.7
n3/p8151.sft.jsonl
null
0
0
0
0
3yourmind__django-migration-linter-258
standard
Qwen3.5-122B-A10B
SWE-rebench-V2
null
3YOURMIND/django-migration-linter
docker.io/swerebenchv2/3yourmind-django-migration-linter:258-366d16b
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
true
1
0
18
37
"diff --git a/django_migration_linter/sql_analyser/base.py b/django_migration_linter/sql_analyser/ba(...TRUNCATED)
true
1,537
251
n3/p8152.sft.jsonl
null
0
0
0
1
3yourmind__django-migration-linter-300
standard
Qwen3.5-122B-A10B
SWE-rebench-V2
null
3YOURMIND/django-migration-linter
docker.io/swerebenchv2/3yourmind-django-migration-linter:300-c2c0d58
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
false
0
0
108
217
"diff --git a/docs/incompatibilities.md b/docs/incompatibilities.md\nindex a8cd365..8fd9319 100644\n(...TRUNCATED)
true
4,641
4,189
n1/p8152.sft.jsonl
null
0
0
0
16
Cog-Creators__Red-DiscordBot.33e0eac7.combine_file__5x7jn623
standard
Qwen3.5-122B-A10B
SWE-smith
smith
Cog-Creators/Red-DiscordBot
docker.io/swebench/swesmith.x86_64.cog-creators_1776_red-discordbot.33e0eac7:latest
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
false
0
0
39
79
"diff --git a/redbot/core/_rpc.py b/redbot/core/_rpc.py\nindex 999e79e..3c7706d 100644\n--- a/redbot(...TRUNCATED)
true
1,432
1,282.5
n1/p8152.sft.jsonl
null
0
0
0
2
Cog-Creators__Red-DiscordBot.33e0eac7.combine_file__d97cxah7
standard
Qwen3.5-122B-A10B
SWE-smith
null
Cog-Creators/Red-DiscordBot
docker.io/swebench/swesmith.x86_64.cog-creators_1776_red-discordbot.33e0eac7:latest
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
true
1
0
66
133
"diff --git a/redbot/cogs/downloader/installable.py b/redbot/cogs/downloader/installable.py\nindex 4(...TRUNCATED)
true
2,052
1,348
n1/p8152.sft.jsonl
null
0
0
0
0
Cog-Creators__Red-DiscordBot.33e0eac7.combine_file__onskze9t
standard
Qwen3.5-122B-A10B
SWE-smith
smith
Cog-Creators/Red-DiscordBot
docker.io/swebench/swesmith.x86_64.cog-creators_1776_red-discordbot.33e0eac7:latest
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
false
0
0
30
61
"diff --git a/patch.txt b/patch.txt\nnew file mode 100644\nindex 0000000..e00baa7\n--- /dev/null\n++(...TRUNCATED)
true
2,254
508.2
n2/p8151.sft.jsonl
null
0
0
0
0
Cog-Creators__Red-DiscordBot.33e0eac7.combine_file__uhr220qw
standard
Qwen3.5-122B-A10B
SWE-smith
smith
Cog-Creators/Red-DiscordBot
docker.io/swebench/swesmith.x86_64.cog-creators_1776_red-discordbot.33e0eac7:latest
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
false
0
0
16
33
"diff --git a/patch.txt b/patch.txt\nnew file mode 100644\nindex 0000000..bd8884f\n--- /dev/null\n++(...TRUNCATED)
true
2,371
706.1
n3/p8152.sft.jsonl
null
0
0
0
0
Cog-Creators__Red-DiscordBot.33e0eac7.combine_module__0gr72zo5
standard
Qwen3.5-122B-A10B
SWE-smith
null
Cog-Creators/Red-DiscordBot
docker.io/swebench/swesmith.x86_64.cog-creators_1776_red-discordbot.33e0eac7:latest
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
true
1
0
20
41
"diff --git a/patch.txt b/patch.txt\nnew file mode 100644\nindex 0000000..81165dd\n--- /dev/null\n++(...TRUNCATED)
true
4,578
856.4
n3/p8151.sft.jsonl
null
0
0
0
0
Cog-Creators__Red-DiscordBot.33e0eac7.combine_module__4tphefy7
standard
Qwen3.5-122B-A10B
SWE-smith
null
Cog-Creators/Red-DiscordBot
docker.io/swebench/swesmith.x86_64.cog-creators_1776_red-discordbot.33e0eac7:latest
[{"role":"system","content":"You are a helpful assistant that can interact with a computer shell to (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
false
0
0
62
125
"diff --git a/patch.txt b/patch.txt\nnew file mode 100644\nindex 0000000..69a8a49\n--- /dev/null\n++(...TRUNCATED)
true
3,445
910.6
n3/p8152.sft.jsonl
null
0
0
0
1
End of preview. Expand in Data Studio

Dataset Card for SI2CA-Training-Trajectories

[🌐 Website] β€’ [πŸ€— Dataset] β€’ [πŸ“œ Paper] β€’ [🐱 GitHub]

πŸ’‘ Introduction

This dataset consists of 32,340 coding-agent trajectories generated by Qwen3.5-122B-A10B on the same 10,780 executable Python SWE tasks under the three trajectory-curation settings of Section 4.4 of the paper: standard sampling, full self-judgement, and an efficient discovered strategy found by the recursive self-improvement framework. Each task is solved once per setting; every trajectory contains the model's reasoning, its bash tool calls, the environment outputs, the submitted patch and a test-based reward, and the two self-judgement settings additionally include the complete per-turn branch-and-judge logs. The task pool (problem statements, gold patches, tests, container images) is released alongside. Fine-tuning Qwen3.5-35B-A3B-Base on the self-judgement trajectories instead of the standard ones raises its resolve rate by +2.2 points on SWE-bench Verified and +4.2 points on SWE-bench Pro (Python).

πŸ§ͺ Curation Settings

All three settings use the same generator, the mini-SWE-agent harness with a single bash tool, a 250-turn cap, temperature 1.0, top-p 0.95, top-k 10 and at most 4,096 new tokens per turn. Every trajectory that exits cleanly is kept, solved or not.

  • Standard: one sampled continuation at each turn.
  • Full self-judgement: at every turn the policy samples k = 2 candidate turns; the same model, acting as judge, scores each candidate n = 3 times against a rubric (soundness of reasoning, soundness of the action, and alignment with the task's gold patch, which only the judge can see), and the candidate with the higher mean score is executed.
  • Discovered strategy: the same self-judgement procedure applied only inside the early-commitment window, from the first environment observation until the third file-mutating command; outside the window a single continuation is sampled.

The judge's inputs and outputs never enter the policy's context, so the trajectories of the three settings have identical form.

πŸ“Š Statistics

The 10,780 tasks are 6,146 real pull requests from SWE-rebench-V2 and 4,634 synthetic bugs from SWE-smith, spanning 763 GitHub repositories. Turns = number of assistant messages.

Setting Source Tasks Resolved Resolved % Turns mean Turns median
Standard SWE-rebench-V2 6,146 1,556 25.3 73.0 66
Standard SWE-smith 4,634 3,474 75.0 53.5 44
Full self-judgement SWE-rebench-V2 6,146 1,649 26.8 66.0 59
Full self-judgement SWE-smith 4,634 3,562 76.9 45.8 37
Discovered strategy SWE-rebench-V2 6,146 1,614 26.3 70.9 64
Discovered strategy SWE-smith 4,634 3,544 76.5 49.8 40
Setting Tasks Resolved Resolved % Turns mean Turns median Turns p90
Standard 10,780 5,030 46.7 64.6 56 114
Full self-judgement 10,780 5,211 48.3 57.3 49 102
Discovered strategy 10,780 5,158 47.8 61.8 54 111

πŸ“₯ Data Loading

from datasets import load_dataset

repo = "Self-Improving-Coding-Agents/SI2CA-Training-Trajectories"
standard = load_dataset(repo, "standard", split="train")
full_sj  = load_dataset(repo, "full_self_judgement", split="train")
discovered = load_dataset(repo, "discovered_strategy", split="train")
tasks = load_dataset(repo, "tasks", split="train")

πŸ“¦ Data Instance

Trajectory configs (standard, full_self_judgement, discovered_strategy)

The three configs share the same fields and the same 10,780 instance_ids.

  • instance_id: task identifier; joins the three configs and tasks.
  • curation_strategy: standard, full_self_judgement or discovered_strategy.
  • generator: Qwen3.5-122B-A10B.
  • source_dataset: SWE-rebench-V2 or SWE-smith.
  • source_raw: the raw source tag from the generation record (rebench / smith), null when absent.
  • repo: GitHub repository owner/name.
  • image: Docker image the trajectory was generated and graded in.
  • messages: the full conversation in OpenAI chat format. Each message has role (system / user / assistant / tool), content, reasoning_content (the model's reasoning, assistant turns only), tool_calls (JSON string of the assistant's bash call, [{"id": ..., "type": "function", "function": {"name": "bash", "arguments": {"command": ...}}}]), tool_call_id (tool messages only) and name (unused, null).
  • tools: JSON string of the tool list given to the agent (a single bash tool).
  • resolved: whether the submitted patch passed the task's hidden tests (reward >= 0.5).
  • reward: 1.0 if all FAIL_TO_PASS and PASS_TO_PASS tests pass after applying model_patch, else 0.0.
  • agent_exit_code: exit code of the agent loop; 0 for every released row.
  • n_assistant_turns: number of assistant messages (the "turns" of the paper).
  • n_messages: length of messages.
  • model_patch: the diff the agent submitted (capped at 40,000 characters; diff_len holds the full length).
  • patch_applied: whether the patch applied cleanly before grading.
  • diff_len: length of the submitted diff in characters.
  • elapsed_sec: wall-clock seconds of the run, including judging in the self-judgement settings.
  • gen_node: generation shard the row came from (provenance only).
  • self_judgement_log: JSON string with the per-turn branch-and-judge log (see below); null in standard.
  • n_steps_logged, n_branched_steps, n_judged_steps: number of logged steps, steps with two sampled candidates, and steps on which the judge scored the candidates (all 0 in standard).
  • n_harness_error_msgs: number of tool messages containing a harness-side error notice (a container cleanup error or the 60 s command timeout) rather than only the command's output.

self_judgement_log

A list with one entry per assistant turn, in step order; the executed turn is candidates[winner_idx].

  • step: 0-based turn index.
  • decision: how the winner was chosen: score_comparison (judged, higher mean score wins), random_tie, identical_command (both candidates proposed the same command, no judging), only_valid_toolcall, both_invalid, parse_fallback, single_candidate, teacher_unavailable. In discovered_strategy the value is prefixed with the window phase: gated:skip_before_first_observation, branch_before_first_mutation:*, branch_after_first_mutation:*, branch_after_second_mutation:*, gated:skip_after_third_mutation.
  • gated: true when branching was skipped at this step (discovered_strategy only; a single candidate was sampled).
  • winner_idx: index of the executed candidate.
  • n_candidates: 1 on gated steps, otherwise 2.
  • student_gen_sec, judge_sec: seconds spent sampling the candidates and judging them.
  • candidates: one object per candidate with idx, command (the bash command, null if the candidate produced no valid call), content, reasoning_content, tool_calls, finish_reason (tool_calls / stop / length), usage (prompt_tokens, completion_tokens, total_tokens) and judge.
  • judge: null when the candidate was not scored; otherwise n_samples (3), mean_weighted_total (the selection score) and samples, one per judge call, each with scores (rubric items R1 groundedness, R2 diagnostic insight, R3 plan coherence, A1 analysis–action alignment, A2 correctness, A3 expected progress, A4 efficiency and safety, G1 goal alignment with the gold patch, each 1–10), weighted_total (= 0.105Β·R1 + 0.105Β·R2 + 0.07Β·R3 + 0.105Β·A1 + 0.14Β·A2 + 0.105Β·A3 + 0.07Β·A4 + 0.30Β·G1), teacher_total (the total the judge reported itself) and justification.

tasks config

  • instance_id: task identifier.
  • repo: GitHub repository owner/name.
  • source_dataset, source_raw: SWE-rebench-V2 / SWE-smith and the harness source tag (rebench_v2 / swesmith).
  • language: python.
  • license: repository license from the upstream metadata, null when unknown.
  • base_commit: upstream commit SHA (SWE-rebench-V2 only).
  • problem_statement: the issue text shown to the agent.
  • gold_patch: the reference patch (the privileged information shown to the judge; never shown to the policy).
  • test_patch: the hidden test patch (SWE-rebench-V2 only).
  • eval_cmd: the grading script run after applying a patch; reward = 1.0 iff it exits 0.
  • test_cmd: the bare test command.
  • fail_to_pass, pass_to_pass: JSON lists of the graded test ids that must start passing / keep passing.
  • image: Docker image.
  • workdir: working directory of the repository inside the container (/testbed for SWE-smith, /<repository name> for SWE-rebench-V2).
  • extra_metadata: JSON object with the remaining upstream and curation metadata (bug patch and pre-commands for SWE-smith tasks, pool tier and evidence counts, etc.).

πŸ“œ Cite Us

If you find this dataset helpful, please consider citing our paper:

@misc{liang2026si2ca,
  author = {{Project Contributors}},
  title  = {{(Self-Improving)$^2$ Coding Agents: Curating High-Quality Trajectories via Recursive Self-Improvement}},
  year   = {2026},
  url    = {https://github.com/Self-Improving-Coding-Agents/SI2CA}
}
Downloads last month
69