Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
large_stringlengths
12
60
messages
listlengths
5
161
family
large_stringclasses
1 value
repo
large_stringlengths
8
43
language
large_stringclasses
14 values
verified
bool
2 classes
resolved
large_stringclasses
3 values
patch
large_stringclasses
1 value
model
large_stringclasses
12 values
harness
large_stringclasses
1 value
id_kind
large_stringclasses
5 values
upstream_id
large_stringlengths
12
47
affine_source
large_stringclasses
5 values
origin
large_stringclasses
1 value
source_uid
large_stringlengths
89
91
submitted
bool
2 classes
affine_fold_group
large_stringclasses
8 values
ARMmbed__greentea-263
[ { "role": "system", "content": "You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\n\nInclude a THOUGHT section before your command wher...
pr
ARMmbed__greentea
python
true
resolved
engy/qwen3.8-27b
mini_swe_textbased
pr
ARMmbed__greentea-263
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0025_0003.jsonl.gz|89
true
completion
ARMmbed__greentea-263
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
ARMmbed__greentea
python
true
resolved
king/king-d76150805915
mini_swe_textbased
pr
ARMmbed__greentea-263
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0031_0000.jsonl.gz|229
true
completion
ARMmbed__mbed-tools-259
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
ARMmbed__mbed-tools
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
ARMmbed__mbed-tools-259
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0013.jsonl.gz|852
true
null
ASFHyP3__hyp3-sdk-71
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
ASFHyP3__hyp3-sdk
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
ASFHyP3__hyp3-sdk-71
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0014.jsonl.gz|78
true
null
Axelrod-Python__Axelrod-671
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
Axelrod-Python__Axelrod
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
Axelrod-Python__Axelrod-671
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0013.jsonl.gz|826
false
null
Azure__azure-cli-4047
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
Azure__azure-cli
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
Azure__azure-cli-4047
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0014.jsonl.gz|57
true
null
Azure__msrest-for-python-189
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
Azure__msrest-for-python
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
Azure__msrest-for-python-189
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0014.jsonl.gz|141
true
null
Azure__msrest-for-python-43
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
Azure__msrest-for-python
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
Azure__msrest-for-python-43
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0014.jsonl.gz|135
true
null
CleanCut__green-40
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
CleanCut__green
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
CleanCut__green-40
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0014.jsonl.gz|112
true
null
DCC-Lab__RayTracing-199
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
pr
DCC-Lab__RayTracing
python
false
unknown
engy/glm-5.2
mini_swe_textbased
pr
DCC-Lab__RayTracing-199
swelego
Affine corpus
Affine corpus|https://data.affine.io/views/duel_turns@v4/chunks/view_0014_0013.jsonl.gz|783
true
null
End of preview. Expand in Data Studio

affine-mswea

1,150 coding-agent trajectories on 1,129 real pull-request tasks, converted to the format of albedo's mini-coder source (mini-swe-agent: one ```bash command per assistant turn, <returncode>/<output> observations, mini-coder's system prompt and task template).

  • Origin: Affine's public training corpus (https://data.affine.io, view duel_turns@v4, corpus epoch 84).
  • Machine: Affine's mini-swe-agent text harness (each command runs in dash as /bin/sh -c, off a terminal). Albedo tells machines apart by source name, so each kind of machine is its own dataset.
  • Repository root: rewritten to /testbed in every command and output.

How it was built

From affine-dedup (Dendrite):

  1. Task-level dedup: tasks matching one of our benchmarks were dropped. Runs on tasks albedo already has were kept, under albedo's own task id when that id points at the same checkout the run had.
  2. Trajectory-level dedup: no run is identical to another or to any run albedo already has.
  3. Conversion: every tool call became one bash command with what that command prints; edits became a python3 heredoc that replaces the exact text; harness wrappers, to-do and memory tools were removed.
  4. Solution leaks dropped: runs that got the fix from outside their own work (SWE-smith's Bug Patch history, the task's own PR in git log --all, fetching upstream code over the network).
  5. Benchmark leaks dropped with albedo's scripts/benchmark_leaks.py.
  6. Validated against mini-coder's format with albedo's own format checks.

Across all seven datasets: 10,456 runs exported, 9,958 converted, 2,288 dropped as solution leaks, 113 as benchmark leaks, 7,557 published.

Contents

Resolved Rows
unknown 944
not resolved 123
resolved 83
Harness Rows
mini_swe_textbased 1,150
Task pool Rows
swelego 431
scaleswe 415
swerebench_v2 124
multiswe 114
r2e_gym 66
Language Rows
python 931
go 86
js 39
rust 22
java 17
c 13
php 12
ts 12
julia 9
kotlin 3
dart 2
csharp 2
lua 1
scala 1

Columns

Column Meaning
instance_id task id, in the style albedo's repo-context service resolves to a repository and commit
messages the trajectory: system prompt, task, then assistant turns (THOUGHT + one ```bash command) and <returncode>/<output> observations, mini-coder's format
family bug family: pr for real pull requests; SWE-smith's lm, combine, mechanical otherwise
repo owner__repo
language repository language
verified true when the run is known to have resolved the task
resolved resolved, not resolved or unknown (Affine's own verdict where it gave one)
patch the task's reference patch where the upstream record has one, else empty
model model that produced the run
harness agent harness the run was recorded in
id_kind where instance_id comes from: albedo's own id for the task, Open-SWE's, or the task pool's
upstream_id the task id in the upstream record
affine_source task pool (swesmith, scaleswe, multiswe, swerebench_v2, r2e_gym, swelego, or SWE-Lego)
origin Affine corpus or SWE-Lego
source_uid where the raw run is: Affine chunk URL and line, or SWE-Lego file and row
submitted whether the run ends with the submit command (false: cut by the step limit)
affine_fold_group Affine's reason for keeping the run (completion, king_fail, ...), when it gave one

License

Not settled. Affine publishes no license for its corpus (none on data.affine.io or in AffineFoundation/affine). The task records come from public datasets under their own terms.

Downloads last month
139