driftbench-mini / README.md
SGio16's picture
Add raw episodes, judge files and dataset card
44a5a6d verified
|
Raw History Blame Contribute Delete
2.44 kB
---
license: cc-by-4.0
pretty_name: DriftBench-mini
language:
- en
tags:
- agents
- coding-agents
- goal-drift
- llm-as-a-judge
size_categories:
- 1K<n<10K
---
# DriftBench-mini: raw episodes and judge files
Raw data for **DriftBench-mini**, a small benchmark for goal drift in coding agents: does an agent lose track of its original task when sub-tasks are injected mid-session? The agent is Claude Code driven headlessly by local open-weight models (qwen3-coder 30B, gpt-oss 20B, devstral) served by Ollama, on 12 synthetic Python tasks.
Code, tasks, analysis scripts, result tables and the course report: **https://github.com/GiorgioChiesa/driftbench-mini**
## Files
| File | Size | Content |
|---|---|---|
| `raw_E0.tar.gz` | 2.5 MB | E0 pilot, 12 episodes |
| `raw_E1.tar.gz` | 271.3 MB | E1 dose-response, 1152 episodes |
| `raw_E2.tar.gz` | 19.4 MB | E2 mitigations, 180 episodes |
| `raw_E3.tar.gz` | 8.7 MB | E3 forced compaction, 72 episodes |
| `raw_SMOKE.tar.gz` | 0.2 MB | one smoke-test episode |
| `judge_items.tar.gz` | 0.3 MB | `judge/items/`: item manifests (E1/E2, E3) and the annotation page |
| `judge_out.tar.gz` | 0.1 MB | `judge/out/`: majority labels of the three-judge LLM panel (E1/E2, E3) |
Each `raw_*.tar.gz` unpacks to `results/raw/<run_id>/`, one directory per episode with `spec.json`, `metrics.json`, the Claude Code transcripts, diffs and the final work tree. The run id encodes experiment, task, model, injection source and count, condition and repetition, e.g. `E1_T01_invoice_gpt-oss-20b_cascade2_none_r1`. The judge archives unpack to `judge/items/` and `judge/out/`.
To reproduce the analysis, clone the GitHub repository and extract all archives at its root:
```bash
for f in *.tar.gz; do tar -xzf "$f" -C driftbench-mini; done
```
## Notes
- The tasks are synthetic (small invented Python repos such as an invoice calculator or a config merger). The data contain no personal information.
- The transcripts hold the agents' full free-text output. Strings like `password` or `token` come from the task content (a redaction task), not from credentials. Per-sandbox Claude Code state files (`.claude.json`) were removed; no API keys were used (the agent talked to a local Ollama server).
- The manifests map the opaque judge item ids back to run, model and condition, so the judging is not blind once these files are read.
## License
CC BY 4.0. The code in the GitHub repository is MIT.