Why LLM Scores Change When You Only Swap the Harness

    This article explains why the same model weights can produce very different benchmark scores when the surrounding agent harness changes, and why this is distribution alignment rather than a sudden gain or loss of capability. It covers the observed score swings between a full-featured scaffold and a minimal one, the pre-release repository change that revealed the evaluation setup, four mechanisms behind harness binding (action space, prompt length and attention budget, trajectory style amplification, and distribution drift), a controlled-variable method for telling harness binding apart from model degradation, and engineering recommendations for aligning evaluation with post-training, simplifying production tooling and prompts, versioning scaffolds, adding observability, and scaling compute elastically.

    1. The Phenomenon: Same Weights, Different Harness, Very Different Scores

    In real engineering maintenance tasks, one pattern keeps showing up. The same set of model weights scores in the 91–93 range over long periods under a fully featured agent harness. Switch to a “minimal mode” that keeps only two tools, command execution and file editing, with the system prompt compressed to a single sentence, and two runs return 99 and 96 respectively, roughly matching the results from a small canary test before release.

    This is not an isolated case. Others in the community have reported near-perfect scores in a desktop operating system environment as well, which suggests the difference does not come from the OS distribution, the desktop environment, or the hardware platform, but from how the agent runtime is organized. In other words, the variable has been narrowed to a single dimension: the harness.

    An easy-to-miss piece of supporting evidence is the shift in language habits. Under the standard mode, first-person singular phrasing such as “let me…” appears frequently in model output. Under minimal mode, that phrasing nearly disappears and is replaced by “we…” and “we need to…”. During the canary stage, this style shift was read as the server quietly swapping in a different model, but the more reasonable explanation is that the weights did not change; the inference shape did.

    2. Diagnosis: The Exam Room Was Fixed Before Release

    Code and documentation do not lie. A few days before the official release, an atypical commit appeared in the harness repository: aligning the Minimal Agent with the Agent Composition used during the reinforcement learning training stage. In plain terms, the “exam room” for the official evaluation is minimal mode. The API documentation for a certain generation of lightweight models also states plainly that code agent tasks in public benchmarks use this minimal configuration.

    The conclusion is therefore clear. This is not magic; the model was bound too tightly to one specific harness during post-training. Move it out of the exam room it knows, and its problem-solving performance drops. It recognizes the environment; it does not become smarter.

    3. Mechanism: Why Post-Training Binds a Model to One Harness

    3.1 The Tool Space Is the Action Space

    During post-training, what the model learns is an action distribution conditioned on a given tool set. Expanding tools from two to a dozen raises the dimensionality of the action space, so the model must choose among more candidates, and the probability of wrong picks and redundant calls goes up accordingly.

    3.2 Prompt Length and the Attention Budget

    A long system prompt dilutes the weight of critical instructions. A minimal prompt that keeps only “you are a software engineering assistant” as the sole prior actually lets the task description itself become the dominant signal.

    3.3 Trajectory Style Amplified by Reinforcement Learning

    Reinforcement learning amplifies the expression patterns that appear most frequently in the training distribution. When training trajectories are dominated by “we” and “need to”, inference naturally continues that style, which is the most direct source of the style shift.

    3.4 Distribution Drift, Not a Change in Capability

    Moving from a long harness to a short one is essentially input distribution drift. The model’s capability has not increased or decreased; it simply falls outside the training distribution, so performance naturally drops back.

    4. Verification: Telling Harness Binding Apart from Model Degradation

    A controlled-variable approach is recommended, checking one item at a time:

    • Fix the model version, temperature, maximum output length, and other decoding parameters;
    • Change only the harness and run an A/B comparison, with at least three runs per side to compute mean and variance;
    • Record the number of tool calls, average prompt length, and number of steps to task completion;
    • Check whether auxiliary signals such as language style change in step with the harness.

    A schematic structure for the comparison experiment:

    1. Group A: full tool set + long system prompt
    2. Group B: command execution + file editing + single-sentence prompt
    3. Controls: model version, decoding parameters, task set, scoring script
    4. Metrics: mean/variance of score, number of tool calls, prompt token count, completion steps

    If only Group B improves significantly and the style signals switch at the same time, the case can be attributed to harness binding rather than fluctuation in model quality.

    5. Engineering Recommendations: Turning the Exam Room into Reusable Capability

    1. Align the evaluation setup with the training setup. For capability assessment, prefer the minimal configuration consistent with post-training, and avoid drawing overly low conclusions from a mismatched harness.
    2. Subtract in production. Open tools only as needed and keep only necessary constraints in the prompt, reducing both the action space and attention dilution.
    3. Put the harness under version control. Track prompts, the tool list, and decoding parameters in version control so any change is traceable and reproducible.
    4. Back it with observability. Use logging services, monitoring alerts, and distributed tracing to track the distribution of tool calls and task success rates, so distribution drift is caught early.
    5. Carry peak load with elastic compute. Evaluation and batch regression jobs can run on a container platform, with object storage holding datasets and artifacts, scaling out and in on demand to control cost.

    6. Conclusion

    The score jump from minimal mode is essentially a distribution alignment: the model was trained to answer questions in a specific exam room, and it loses points when the room changes. Understanding this is more valuable than chasing any particular score. Evaluation should reproduce training conditions, production should subtract tools and prompt content, and version control plus observability should guarantee reproducibility throughout. This is both a yardstick for a model’s real capability and a necessary step toward mature agent engineering.