What Compact MoE Models Reveal About Coding Harnesses

Pawel ZarzyckiarXiv 2026

TL;DR

When an AI coding agent solves a bug, how much credit belongs to the language model, and how much belongs to the software scaffolding around it? By testing 20 combinations of compact models and coding harnesses on the exact same tasks, this paper reveals that identical overall scores often hide completely different sets of solved problems. Ultimately, success isn't about finding the single "best" model or harness—it’s a dance of cooperation between how a model thinks and the specific tools, prompts, and rules wrapping it.

What Problem Does This Paper Address?

A language model cannot fix a GitHub issue in a vacuum. It needs a coding harness (or scaffold)—the surrounding software loop that feeds the model prompts, provides tools (like bash shells or file editors), executes commands, returns terminal outputs, and decides when the job is finished.

Usually, leaderboards rank models and harnesses using aggregate pass rates. If Pairing A and Pairing B both solve 25% of benchmark issues, we tend to assume they perform similarly. While previous studies noticed that rankings shift depending on which model is paired with which harness, where and why those executions diverge remained murky. Does a failing pairing get stuck at the starting line because of formatting errors, or do both agents actively edit code and still arrive at different outcomes?

Methods

Author Pawel Zarzycki conducted a crossed evaluation grid, pairing four compact open-weight Mixture-of-Experts (MoE) models (models that activate only a fraction of their parameters per token for efficiency: Qwen3-Coder-30B-A3B, Nemotron-Nano-3-30B, gpt-oss-20b, and Gemma-4-26B-A4B) with five coding harnesses (Codex CLI, OpenCode, mini-SWE-agent, SWE-agent, and the DeepSeek harness). Every run had a 1-hour wall-clock limit and zero internet access.

Rather than just counting passes and fails, the study dissects execution trajectories using a deterministic classifier:

  • Nested progress milestones: Tracking how far each run got—from taking no action, to acting without editing, editing without leaving a patch, submitting a failing patch, and passing.
  • Workflow decomposition: Categorizing every executable action into shared buckets (reading, searching, editing, planning, testing, building) to separate variance driven by the model, the harness, or their specific pairing.
  • Setback tracking: Reconstructing exact model inputs to see how different models react when a harness refuses a tool call or throws an edit error.

Datasets

  • Evaluation Benchmark: 413 issues from SWE-bench-Live MultiLang across 234 frozen Linux repositories.
  • New Public Corpus: The author releases a dataset of 8,260 benchmark results and 8,256 captured trajectories on HuggingFace, linking final test grades to exact inputs, tool menus, shell commands, feedback, and submitted code patches.

Key Insights and Ideas

  • Aggregate scores are an illusion of equivalence: Two configurations can achieve virtually identical total scores while solving wildly different bugs. Looking only at top-line leaderboard numbers masks massive underlying behavioral differences.
  • Every single model and harness brings something unique: Across the 20 configurations, every model solved issues that no other model could touch, and every harness unlocked solutions that no other harness achieved.
  • Failures happen at totally different stages of the pipeline: Sometimes a pairing fails before doing anything—for instance, mini-SWE-agent expects a bash command in the visible reply, so when gpt-oss puts its work in a hidden reasoning channel, nothing executes. Other times, models act on 100% of tasks in two harnesses, yet one harness guides the model to actually retain and submit patches nearly twice as often.
Figure 1: Furthest progress milestone across 8,228 eligible slots with matched captures in the full grid. All percentages use the matched denominator for each configuration. Shading marks the separately run configurations. A retained patch can imply an action or edit when recorded evidence is missing, and the patch milestone includes grader timeouts. Section B defines the milestones.
  • Harnesses dictate planning; pairings dictate editing: How much time an agent spends planning depends mostly on the harness. However, how much it reads and edits depends heavily on the specific chemistry (interaction) between a particular model and harness.
Figure 2: Task-adjusted workflow variation in the full grid and common-cohort block. Points give finite-grid SDs associated with model and serving configuration, harness, and their pairing. Bars give 95% pointwise task-bootstrap intervals. All plotted features use the logit scale. Compare component magnitudes within a feature.
  • Stubbornness vs. pivoting after tool refusals: In Codex CLI, the system prompt instructs models to use an apply_patch tool that is actually missing from the offered tool menu. When refused, Qwen quickly pivots—using sed via the available shell tool—whereas gpt-oss stubbornly requests the unavailable tool again in over 91% of runs, stalling early progress (though it often eventually edits later in the trace).

Key Results

  • Near-identical totals, different bugs: On 411 jointly eligible issues, Qwen solved 100 issues in the DeepSeek harness and 101 in SWE-agent. Yet they only shared 63 successes, meaning 75 issues had opposite outcomes (and on 59 of those 75, both runs actively attempted edits).
  • Rank reversals: On 411 shared issues, Nemotron beat Qwen under mini-SWE-agent (88 vs. 62), but Qwen beat Nemotron under SWE-agent (101 vs. 79).
  • Exclusive coverage: Across the full 413-issue grid, at least one configuration succeeded on 199 issues—far higher than the single highest-scoring pairing (Qwen + SWE-agent at 102). Even in a strict 370-issue subset with zero grader timeouts, every model (4 to 16 issues) and harness (3 to 17 issues) contributed exclusive solves.
  • The submission bottleneck: Comparing Gemma-4 in mini-SWE-agent vs. SWE-agent on 411 tasks, both acted on every single issue. However, mini left 345 patches (passing 94), while SWE-agent left only 195 patches (passing 49)—even though the pass rate among submitted patches was nearly identical (27.2% vs. 25.1%).
  • Adapting to refusals: Within three calls of receiving the apply_patch refusal in Codex, 56.5% of Qwen runs executed an edit attempt, compared to just 24.4% for gpt-oss.

Limitations and Future Work

  • Bundled harness variables: Prompts, tool schemas, adapters, and stopping rules change simultaneously across harnesses. Isolating the causal impact of a single design choice (e.g., explicit submit buttons vs. stopping on text replies) would require controlled ablations holding everything else fixed.
  • Cohort and serving differences: While a core 3-model × 4-harness block shared a single serving route and collection cohort, the Gemma-4 and DeepSeek extensions spanned separate serving routes and grading budgets.
  • Single-attempt snapshots & compact scope: Each slot represents one selected execution (leaving run-to-run variance unmeasured), and findings are specific to compact MoE models on offline Linux tasks. Future work is needed to see how these dynamics scale to frontier-sized models or multi-attempt budget allocation strategies.

Summary updated

BibTeX
@misc{zarzycki2026what,
  author = {Pawel Zarzycki},
  title = {{What Compact MoE Models Reveal About Coding Harnesses}},
  year = {2026},
  eprint = {2611.38385},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38385},
}
Figure