Reasoning-Trace Overflow in Code Generation: An Empirical Study of Explicit Reasoning Models
4 Nov · Lukas Twist, Helen Yannakoudakis, Jie M. Zhang · arXiv:2611.06095
Explicit reasoning can help language models generate code, but it also introduces a practical risk: the model may spend so much of its output budget reasoning that it never produces usable code. We study this behaviour in relatively small open-weight reasoning models, framing it as reasoning-trace overflow. Across seven models and six code benchmark settings, we measure how much of a fixed 32k-token output budget is…