What they found
The authors studied a dataset of 20,000 coding-agent sessions with 775K assistant turns. Only 17.6 non-empty reasoning blocks appear per 100 turns, so more than 82% of turns have no reasoning to learn from. They propose a method where a writer model sees the context and the kind of next action (for example, reading a file), but not its arguments, and writes several candidate rationales. A frozen student model then scores each one, and the one that best predicts the true action is kept. A fixed-threshold filter favors hindsight: 49.6% of rationales written with the action visible pass, against 1.6% of those written without it. In matched-budget training of a 7B student, keeping native reasoning lowers held-out real-thinking perplexity by 18.4%. Adding synthesized reasoning at empty positions improves held-out action log-probability by 3.9% on average across seed pairs, which exceeds the seed variation. The authors state that both metrics are proxies, that no downstream benchmark was run, and that the selection step was not tested in isolation.
Why it matters
Real logs from deployed coding agents are a useful source of training data, but they mostly lack the reasoning behind each step. This work offers one way to fill that gap without letting the writer peek at the answer. It also warns that score filters can reward rationales written with hindsight. The authors release Trajector-SWE-20K, a public dataset of 20,000 consented sessions that have been redacted, credential-screened, decontaminated, and deduplicated.
How it changes the race
If it holds, groups without large private logs could train on public real-world agent data with filled-in reasoning. The evidence is limited to proxy metrics, so this is an early step and not a proven capability gain.
Safety and control
The dataset is described as consented, redacted, and credential-screened, which bears on privacy and security when sharing real agent logs. The abstract does not test whether the synthesized reasoning is faithful to what an agent actually "thought".
The abstract, by the authors
Trajectories collected from deployed coding agents record many actions but little of the reasoning behind them. In a dataset of 20,000 sessions and 775K assistant turns, we observe only 17.6 non-empty reasoning blocks per 100 turns, i.e., more than 82% of assistant turns carry no reasoning supervision. In this paper, we study whether the missing reasoning can be synthesized from the recorded actions. Specifically, we propose an action-grounded synthesis method in which a writer model is shown the context and the kind of the next action (e.g., reading a file) but not its arguments, and several candidate rationales are generated for each position. The candidate under which a frozen student model assigns the highest log-probability to the true action is retained, where candidates are compared only within the same position. Moreover, we show that filtering rationales with a fixed threshold on this score strongly favors hindsight: 49.6% of the rationales written with the action visible pass the threshold, compared with 1.6% of those written without it. In matched-budget training of a 7B student, keeping the native reasoning lowers held-out real-thinking perplexity by 18.4%, and adding synthesized reasoning at empty positions improves held-out action log-probability by 3.9% on average across seed pairs, which exceeds the seed variation. It is worth noting that both metrics are proxies: no downstream benchmark was run, and the selection step was not tested in isolation. Finally, we release Trajector-SWE-20K, a public dataset of 20,000 consented sessions that have been redacted, credential-screened, decontaminated, and deduplicated.
Quoted from arXiv:2612.02919. The research and its words belong to its authors.
