Quality, Not Just Outcome: A Structural Scoring Framework for Selecting Coding-Agent Trajectories for Supervised Fine-Tuning
We propose TQS (Trajectory Quality Score), a structural scoring framework for coding-agent trajectories that operates directly on trajectory structure, requires no LLM judge, and runs in linear time.
ProofPaper ↗
Key points
- Open coding agents are commonly trained through supervised fine-tuning on interaction trajectories whose final patches pass the benchmark test suite.
- TQS characterizes trajectory quality through structural signals organized around structured convergence: information focus, intent--action alignment, and policy dynamics.
- Using 155,144 successful trajectories from a public open-license corpus, we rank trajectories by TQS and fine-tune coding agents on filtered subsets.
- Our results suggest that process-level trajectory quality is an important factor in coding-agent supervision and that structural trajectory filtering provides an effective and scalable alternative to LLM-based data selection.
Sources (1)
- [1]Quality, Not Just Outcome: A Structural Scoring Framework for Selecting Coding-Agent Trajectories for Supervised Fine-TuningarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 9, 07:40 AM
We propose TQS (Trajectory Quality Score), a structural scoring framework for coding-agent trajectories that operates directly on trajectory structure, requires no LLM judge, and runs in linear time.
Open coding agents are commonly trained through supervised fine-tuning on interaction trajectories whose final patches pass the benchmark test suite.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 9, 2026Mix, Don't Tune: Bilingual Pre-Training Outperforms Hyperparameter Search in Data-Constrained Settings
- Oct 9, 2026Reinforcement Learning via Fixed-point Flow Matching
- Oct 9, 2026Rethinking Relative Policy Differences Transfer of On-Policy Distillation
- Oct 8, 2026StereoEngine: Scaling Stereo Bimanual Robot Data without Stereo Cameras
- Oct 8, 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents
- Oct 7, 2026CoTrace: Data Recipes for Training Terminal Agents with Harness-Model Co-Evolution