Researchers release 20,000-session coding-agent dataset and a method to synthesize missing reasoning
A new arXiv paper introduces Trajector-SWE-20K, a public dataset of real coding-agent sessions, and an action-grounded technique for generating the reasoning those logs omit.
In plain words
When coding agents work, they leave logs of what they did but rarely why. The authors built a way to reconstruct plausible explanations from the recorded actions, then released the underlying 20,000-session dataset publicly. In their tests, adding the reconstructed reasoning made a small model better at predicting actions.
What was announced
The paper reports that deployed coding-agent trajectories record actions with little accompanying reasoning: across 20,000 sessions and 775K assistant turns, only 17.6 non-empty reasoning blocks appear per 100 turns, leaving more than 82% of turns without reasoning supervision. The proposed synthesis method shows a writer model the context and the type of next action, such as reading a file, but hides the action's arguments, then generates several candidate rationales for each position. The candidate under which a frozen student model assigns the highest log-probability to the true action is kept, with candidates compared only at the same position.
The authors also flag a hindsight problem: with a fixed score threshold, 49.6% of rationales written while the action was visible pass, versus 1.6% written without it. In matched-budget training of a 7B student, keeping native reasoning lowered held-out real-thinking perplexity by 18.4%, and adding synthesized reasoning at empty positions improved held-out action log-probability by 3.9% on average across seed pairs, exceeding seed variation. The team stresses both metrics are proxies, with no downstream benchmark run and the selection step not tested in isolation. The released Trajector-SWE-20K dataset contains 20,000 consented sessions that were redacted, credential-screened, decontaminated, and deduplicated.
What it does not show
- The evidence is the paper's abstract only; full-method details, peer review status, and independent replication are not covered.
- Reported gains rely on proxy metrics; the authors state no downstream benchmark was run and the selection step was not tested in isolation.
- The abstract does not specify which models served as writer or student beyond the 7B student, nor licensing or access terms for the dataset.
For security and IT teams
- Access
- Trajector-SWE-20K is described as a public release of 20,000 consented sessions that were redacted, credential-screened, decontaminated, and deduplicated.
Sources
Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 3 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.