--- license: other language: - en pretty_name: mini-coder-affine-bash tags: - software-engineering - code - agent-trajectories - albedo --- # mini-coder-affine-bash 31 coding-agent trajectories on 31 SWE-smith tasks, converted to the format of albedo's `mini-coder` source (mini-swe-agent: one ```bash command per assistant turn, ``/`` 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 bash-tool harness (each command runs in `bash -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 | 27 | | resolved | 3 | | not resolved | 1 | | Harness | Rows | |---|---:| | bash | 31 | | Task pool | Rows | |---|---:| | swesmith | 31 | | Language | Rows | |---|---:| | python | 18 | | java | 7 | | rust | 3 | | js | 2 | | cpp | 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 ``/`` 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.