The Commonplace
Home Three-study pilot Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

Pooling rewards across multiple production harnesses during RL training concentrates improvements on the source configurations but does not produce more portable coding agents; in their experiments Cross-vs-Within grouping shows an insignificant held-out difference (Cross − Within = +0.25 pp, 95% CI [−0.48, +1.02]), while the choice of evaluation harness shifts mean solve rates fourfold (2.14% to 9.27%).

What Does Multi-Harness RL Learn? Credit Assignment and Portability in Coding Agents
Chenqian Le, Jiayi Cheng, Qijia He, Runhao Li, Yinghao Li, Xupeng Chen · September 03, 2026
arxiv quasi_experimental medium evidence 8/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Chenqian Le unresolved corpus identity
  2. Jiayi Cheng unresolved corpus identity
  3. Qijia He unresolved corpus identity
  4. Runhao Li unresolved corpus identity
  5. Yinghao Li unresolved corpus identity
  6. Xupeng Chen unresolved corpus identity
Pooling multiple production harnesses for relative-advantage credit (Cross) concentrates gains on source harnesses but does not produce measurably more portable coding-agent capability on an unseen harness compared with within-harness credit assignment.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Agent reinforcement learning (RL) increasingly runs through full execution harnesses, and a multi-harness recipe mixes two choices: exposing the policy to several harnesses, and comparing their rewards inside one relative-advantage group. We isolate the second choice in repository-level coding. From one Qwen3-8B supervised warm start we replay the same frozen task-harness records from Aider, OpenHands, Qwen Code, and SWE-agent, with the same number of updates, under two rules for group-relative policy optimization (GRPO), Within (one group per task-harness pair) and Cross (harnesses pooled within a task), and score every checkpoint with a sealed SWE-bench Verified oracle on four source harnesses and a minimal harness held out of training. The evaluation harness is the dominant variable: across 24,000 sealed evaluations it moves the mean solve rate from 2.14\% to 9.27\%, a factor of 4.3, where the training recipe moves it by 1.16. The grouping rule is not. On the held-out harness, Cross minus Within is +0.25 pp, 95\% confidence interval [-0.48, +1.02], at eight attempts per task, and +0.16 [-0.41, +0.72] pooled over three training seeds whose individual estimates change sign. Each rule's own seed range, 0.42 to 0.45 pp, exceeds the difference between them. Both rules place their largest gains on the same source harness. The pooled advantage carries the harness: an out-of-fold classifier recovers the generating harness from Cross's advantage +4.48 pp above the shuffled-label baseline and from Within's not at all, and the two rules still reach the same held-out score and action distribution inside each harness. Re-collecting half the training data on-policy does not change this. Cross-harness credit yields configuration adaptation and no more portable capability than within-harness credit. Multi-harness RL reports should state the grouping boundary and test under an unseen harness.

Summary

Main Finding

Pooling outcomes from multiple production harnesses during group-relative policy optimization (GRPO) makes the advantage signal carry harness identity, but that added signal produces configuration-specific adaptation rather than any detectable increase in portable capability. In controlled, same-data experiments with coding agents, the choice of evaluation harness dominates solve rates (factor of 4.3), while the Cross vs Within grouping rule produces negligible change on an unseen (“held-out”) harness: Cross − Within ≈ +0.25 percentage points (pp) [−0.48, +1.02] at 8 attempts, and pooled across seeds +0.16 pp [−0.41, +0.72]. Pooling does permit a classifier to recover the generating harness from the pooled advantage (+4.48 pp above shuffled-label null), but that recovered harness identity does not translate to better held-out performance or changed action distributions across harnesses.

Key Points

  • Experimental isolation: The only difference between the two primary arms was the GRPO grouping boundary.
    • Within: group = task × harness (separate baseline per task–harness).
    • Cross: group = task (pool harnesses for the same task into one baseline).
  • Dominant effect is the evaluation harness:
    • Mean solve rate across evaluation harnesses ranged 2.14% → 9.27% (factor 4.3) over 24,000 sealed evaluations.
    • Variation across training recipes was much smaller (recipe means span ≈ 5.55% → 6.46%).
  • Portability (held-out harness) results:
    • No recipe, including Cross pooling, produced a reliably higher held-out score than Within or the supervised warm start.
    • Cross − Within on held-out weak-ReAct: +0.25 pp [−0.48, +1.02] at k=8; pooled seeds: +0.16 pp [−0.41, +0.72].
    • Seed variation exceeded the observed Cross vs Within difference.
  • Harness identity contamination:
    • A classifier trained out-of-fold can recover the generating harness from Cross’s advantage at +4.48 pp above its shuffled-label null; Within’s advantage carries no recoverable harness signal (+0.02 pp).
    • Coverage matching and a “residualized” baseline retained part or all of this contamination respectively.
  • Source vs held-out behavior:
    • Both Cross and Within concentrate most gains on the same source harness (OpenHands).
    • Cross and Within reach the same held-out score and produce the same action distribution within each harness.
  • Re-collecting half the training data on-policy did not change the held-out result.

Data & Methods

  • Domain and tools:
    • Repository-level coding tasks drawn from an SWE-Gym pool.
    • Four production harnesses collected frozen trajectories: Aider, OpenHands, Qwen Code, SWE-agent.
    • Supervised warm start: Qwen3-8B SFT checkpoint.
  • Training design:
    • Frozen trajectory dataset: same records, tokens, binary sealed-oracle rewards per episode.
    • Two GRPO grouping rules compared while holding records, update budget, reward definitions, and SFT start fixed.
    • GRPO advantage: standardized reward within each group (subtract group mean μ, divide by σ, small ε).
    • Additional arms: coverage-matched and residualized baseline variants; one Cross run re-collected second-half of training data on-policy.
  • Evaluation:
    • Sealed per-instance oracle: SWE-bench Verified on 500 tasks (four source harnesses) and a held-out minimal harness (weak-ReAct).
    • Primary campaign: 6 checkpoints × 4 source harnesses × 500 tasks × 2 attempts = 24,000 attempted episodes (99.1% graded).
    • Held-out scored at k=4 and k=8 attempts per task in different contrasts; some analyses pooled three training seeds.
    • Behavioural analysis: action labeling of assistant turns; Jensen–Shannon divergence to measure shifts across harnesses.
    • Harness identity test: out-of-fold classifier trained to recover harness from advantage vectors; null estimated by shuffling harness labels within tasks.
  • Statistical reporting:
    • Confidence intervals provided for contrasts (e.g., Cross − Within).
    • Power / smallest-detectable differences reported (changing with attempts and pooling seeds).

Implications for AI Economics

  • Measurement and benchmarking:
    • Model–harness interaction is a major confound: reported gains can largely reflect harness/configuration effects rather than model capability. Economists and stakeholders should treat harness as a key experimental variable when comparing agent investments.
    • Leaderboards, benchmarks, and procurement metrics should require explicit reporting of the grouping boundary (how rewards are normalized / grouped) and demonstrate results under unseen harnesses to support claims of portable capability.
  • Productization and R&D prioritization:
    • Investment claims based solely on multi-harness RL that pools harnesses should be treated cautiously: pooling can amplify configuration-adaptive improvements that do not generalize to new interfaces or production contexts.
    • For product decisions (e.g., deploying an RL-updated agent), vendors should test under the target production harness or an unseen-harness proxy to estimate portability and avoid overpaying for configuration-specific gains.
  • Cost of evaluation and deployment:
    • Because the evaluation harness explains far more variance than grouping rules, resources should prioritize robust, cross-harness evaluation (including held-out harnesses) over incremental recipe tweaks whose portability is uncertain.
    • Organizations should budget for harness diversity in validation sets; failing to do so risks investing in policies that only perform well under a narrow set of operational practices.
  • Methodological guidance for economists and policymakers:
    • When assessing claims about RL-induced capability improvements, require (a) frozen-data ablations that isolate credit-assignment choices, and (b) held-out-harness evaluations to separate portable capability from configuration adaptation.
    • Consider mandating transparency on how credit is assigned across environments (grouping rules, baseline estimation), since those choices can embed environment-specific signals into the learning objective and mislead downstream stakeholders.
  • Research & market implications:
    • Future work (and products) that aim for general-purpose agent improvements should focus on credit-assignment techniques that remove environment-provided offsets (e.g., per-harness residualization, finer-grained per-step objectives, process supervision) and validate portability explicitly.
    • Market comparisons of agent capabilities should incorporate harness-robustness metrics to better reflect real-world value across heterogeneous deployment contexts.

Limitations to bear in mind: single model family (Qwen3-8B warm start), four production harnesses, binary episode rewards, and frozen-manifest replay. Conclusions may not fully generalize to other architectures, reward structures, or to setups with richer on-policy collection across more diverse harnesses.

Assessment

Paper Typequasi_experimental Evidence Strengthmedium — The design isolates the single causal lever (grouping boundary) and uses large-scale sealed evaluations (24,000 attempts), multiple seeds, and an out-of-fold classifier to measure contamination, giving internally strong evidence; however effects on held-out portability are small and statistically indistinguishable from zero, the domain is limited to repository-level coding on one task pool and primarily one model warm-start, and results may not generalize across other models, task types, reward definitions, or harness ecosystems. Methods Rigorhigh — The experiment fixes the trajectory manifest, model warm start, update budget, reward definition and evaluation oracle while only changing the grouping rule; uses sealed per-instance evaluation, held-out harness testing, multiple seeds, on-policy re-collection as a robustness check, confidence intervals and resampling, and classifier analyses to quantify harness identity contamination. SampleFrozen trajectory corpus collected by four production harnesses (Aider, OpenHands, Qwen Code, SWE-agent) from a shared SWE-Gym task pool (~500 tasks, 1,008 graded tasks referenced, 499/499 or 499/500 gradeable tasks in held-out contrasts), replayed from a Qwen3-8B supervised warm start with ~81k optimizer updates per arm; evaluations: 24,000 sealed-oracle attempts across source harnesses and additional evaluations on a held-out minimal harness (weak-ReAct) at k=4 and k=8 attempts; multiple random seeds and an on-policy re-collection variant were also run. Themeshuman_ai_collab adoption IdentificationControlled same-data, same-update-budget replay experiment that varies only the GRPO grouping boundary (Within: task×harness baselines; Cross: pooling harnesses per task) with evaluations by a sealed per-instance oracle including an unseen (held-out) harness; multiple seeds, confidence intervals, and resampling are used to separate harness-specific adaptation from portable capability. GeneralizabilityResults are specific to repository-level coding tasks from the SWE-Gym pool and may not hold for other task families (e.g., non-coding, dialog)., Primary warm start is Qwen3-8B; other model families or scales might behave differently., Only four production harnesses were studied; other harness designs or broader deployment configurations could change outcomes., Reward signal is a binary per-episode sealed-oracle outcome; finer-grained rewards or learned critics might alter credit dynamics., Mostly offline replay (one on-policy re-collection variant); fully online multi-harness pipelines could differ., Low absolute solve rates imply effects are in a low-success regime, limiting inference about high-performance settings.

Claims (7)

ClaimDirectionOutcomeConfidence & EvidenceDetails
The evaluation harness has a much larger effect on coding-agent solve rate than the training recipe: mean solve rates across harnesses range from 2.14% to 9.27%, a factor of 4.3. Output Quality positive Binary SWE-bench task solve rate
Reading fidelity high
Study strength high
n=24000
4.3-fold difference; 2.14% to 9.27%
0.8
The training recipe produces substantially less variation in solve rate than the evaluation harness: recipe means range from 5.55% to 6.46%, compared with a 7.13 percentage-point range across harness means. Output Quality positive Mean binary solve rate across training recipes and evaluation harnesses
Reading fidelity high
Study strength high
n=24000
Recipe means 5.55%–6.46%; harness means 2.14%–9.27%
0.8
Cross-harness GRPO credit assignment does not produce a detectable improvement in portability to an unseen harness relative to within-harness credit assignment. Output Quality null_result Held-out-harness binary solve rate
Reading fidelity high
Study strength high
n=499
+0.25 percentage points, 95% CI [-0.48, +1.02]
0.8
Across three training seeds, the estimated portability advantage of Cross over Within is small and changes sign across seeds. Output Quality mixed Held-out-harness solve-rate difference between Cross and Within
Reading fidelity high
Study strength medium
n=3
Pooled Cross-minus-Within difference +0.16 pp, 95% CI [-0.41, +0.72]
0.48
On the four source harnesses used for training, Cross improves solve rate relative to the supervised warm start by 0.77 percentage points. Output Quality positive Source-harness binary solve rate
Reading fidelity high
Study strength medium
n=24000
+0.77 percentage points, 95% CI [+0.03, +1.52]
0.48
Cross-harness grouping leaves measurable harness identity in the GRPO advantage, whereas Within-harness grouping does not. Ai Safety And Ethics positive Recoverability of generating harness from the learned advantage signal
Reading fidelity high
Study strength high
n=183
Cross: +4.48 percentage points above shuffled-label null; Within: +0.02 percentage points
0.8
Despite retaining harness identity in its advantage signal, Cross does not produce a detectable held-out-harness performance difference relative to Within. Output Quality null_result Held-out-harness solve rate after training with cross-harness versus within-harness credit
Reading fidelity high
Study strength medium
n=499
Cross-minus-Within +0.25 pp, 95% CI [-0.48, +1.02]
0.48

Notes