arXiv:2610.32131cs.SEOct 2026

Manuscript Offprint

arXiv:2610.32131

Pairing Matters: Performance, Failures, and Efficiency in Lightweight Coding Agents

Lu Zhao, Christopher M. Poskitt, David Lo

Lu Zhao Christopher M. Poskitt David Lo

School of Computing and Information Systems, Singapore Management University, Singapore

lu.zhao.2023@engd.smu.edu.sg, {cposkitt, davidlo}@smu.edu.sg

Abstract—Self-hosting coding agents is often necessary for software-engineering teams that must keep proprietary code and development traces within controlled infrastructure. Lightweight, open-weight models make such deployment more feasible by reducing hardware requirements, while strong results on repository-level benchmarks demonstrate their potential for demanding coding tasks. Deploying these models as coding agents requires pairing them with an agent harness, making their joint performance a key deployment consideration. Yet existing leaderboards primarily report fixed harness-model configurations rather than controlled comparisons across alternative pairings. To address this gap, we investigate harness-model interactions through a controlled full-factorial evaluation of six open-source harnesses and three lightweight coding models across 100 SWE-bench Verified tasks, producing 1,800 graded runs under common serving, metering, and grading conditions. For the same model, resolution rates differ by up to 44 percentage points across harnesses, while harness rankings change across models. We apply an evidence-based failure taxonomy to 1,100 unsuccessful runs and find substantial differences in failure patterns across harness-model pairings. A model's dominant failure modes under one harness need not dominate under another. Efficiency is similarly dependent on the pairing: even among model-directed loop harnesses, charged tokens per resolved task vary by more than 20-fold. These findings make harness-model selection a central deployment decision for lightweight coding agents. Strong performance with one harness or model does not guarantee similar results with another. We translate these findings into empirically grounded practitioner guidance for pairing selection, token-efficiency assessment, and trajectory-informed harness engineering, and release the complete experimental records and analysis artifacts.

Index Terms—coding-agent performance, harness-model pairing, token efficiency, trajectory-based failure analysis

I. INTRODUCTION

Confidentiality requirements and the need to retain control over proprietary code motivate local or self-hosted deployment of coding agents [1]-[3]. Lightweight, open-weight models lower the hardware barrier to such deployment, bringing it within reach of more modest computing resources [3]. Their appeal extends beyond deployability: recent coding-specialized models demonstrate substantial capability in repository-level issue resolution. The 24B-parameter Devstral Small reports 53.6% resolution on SWE-bench Verified with OpenHands [4], while Qwen3-Coder-Next reports 70.6–71.3% across three harnesses, remaining competitive with substantially larger models despite activating only 3B of its 80B parameters [5]. These results position lightweight models as credible foundations for self-hosted coding agents, combining deployment flexibility with the capability to tackle demanding software-engineering tasks.

Deploying these models as coding agents requires selecting an accompanying harness, which manages repository context, tool access, execution, validation, and patch submission [6]–[9]. The deployment decision therefore concerns a harness–model pairing, not either component alone. Yet existing evaluations offer limited guidance for this choice. Our audit covered 324 submission records across six tracks of the official August 2026 SWE-bench archive [10]. At least 223 reported results using proprietary models, compared with five reporting results for off-the-shelf models with fewer than 100B total parameters paired with established agent harnesses. These five submissions report fixed harness–model configurations, providing little systematic evidence of how changing the harness affects the same lightweight model's performance. Beyond leaderboards, model reports and harness studies typically evaluate only one or a few fixed harness–model configurations [4]–[9]. Although coding-agent performance is increasingly understood as a property of the joint system, the effects of different pairings remain insufficiently characterized. Existing evidence provides limited insight into how pairing choices affect resolution performance, failure mechanisms, and cost, or how these differences can guide pairing selection and adaptation for specific tasks and resource budgets.

We address this gap through a controlled full-factorial study of three lightweight coding models and six open-source harnesses. We pair Qwen3-Coder-Next [11], GLM-4.7-Flash [12], and Devstral-Small [4] with OpenCode [6], OpenHands [7], mini-SWE-agent [8], SWE-agent [9], AutoCodeRover [13], and Agentless [14]. Each of the 18 pairings attempts the same 100 SWE-bench Verified tasks, yielding 1,800 graded runs under common serving, metering, and grading conditions. This design examines how pairing choice shapes resolution accuracy, resolved-task overlap, failure mechanisms, model-call demand, and charged tokens per resolved task. Figure 1 summarizes the study, and Section II details the selection criteria and experimental procedures.

Our results yield three principal insights for deployment. First, harness selection changes the resolution rate of the same coding model by up to 44 percentage points, and harness rankings do not transfer consistently across models. Second, failure mechanisms are pairing-dependent: a harness can attenuate, amplify, or redirect a model's dominant failure

1 Configure

Agent harnesses

6 open-source harnesses

Different execution-control designs

2 Execute and measure

Coding models

3 lightweight models

Locally served open weights

Model-specific serving configurations

Full-factorial evaluation

6 harnesses × 3 models × 100 tasks

1,800 graded runs

Shared conditions

Task set and serving infrastructure

Completion-token threshold

Official grading procedure

Recorded evidence

Model exchanges and token usage

Execution logs, patches, and outcomes

3 Analyse

RQ1 Pairing performance

Resolution-rate variation

Resolved-task overlap

RQ2 Failure mechanisms

Failure profiles by model,

harness, and pairing

RQ3 Pairing efficiency

Model calls per run

Charged tokens per resolved task

Fig. 1. Study design and evidence flow. (1) Configure: select agent harnesses and coding models. (2) Execute and measure: evaluate all 18 pairings on 100 SWE-bench Verified tasks. (3) Analyse: examine pairing performance (RQ1), failure mechanisms (RQ2), and pairing efficiency (RQ3).

tendency. Third, even among model-directed loop harnesses, charged tokens per resolved task vary by more than 20-fold. Practitioners should therefore avoid selecting or dismissing a model based on one harness, or a harness based on one model, and consider the tasks each pairing resolves. Execution budgets should account for expenditure on unsuccessful runs rather than assume that lightweight models are token-efficient, while pairing-specific failure evidence should guide targeted harness improvements.

These findings emerge from three complementary analyses, organized around the following research questions:

• RQ1: Pairing Performance.

How does task-resolution accuracy vary across harness-model pairings, and how do resolved-task sets overlap across models and harnesses?

• RQ2: Failure Mechanisms.

Which failure mechanisms occur in unsuccessful runs, and how do failure profiles vary across models, harnesses, and pairings?

• RQ3: Pairing Efficiency.

How do harness–model pairings differ in model calls per run and charged tokens per resolved task?

By addressing these questions, we provide an empirical foundation for understanding harness–model pairing behaviour and informing the deployment of lightweight coding agents. Our contributions are fourfold:

• A systematic evaluation of lightweight coding-agent pairings. We conduct a full-factorial evaluation of six open-source harnesses and three lightweight coding-specialized models under common self-hosted serving conditions, characterizing variation in resolution performance, resolved-task coverage, and token efficiency.

• An evidence-based analysis of pairing-specific failures. We develop a taxonomy of five behavioural failure mechanisms and apply it to all 1,100 unsuccessful runs, enabling comparisons of failure profiles across models, harnesses, and individual pairings.

• Empirically grounded guidance for pairing-aware deployment. We recommend testing alternative harnesses before ruling out a model, and alternative models before ruling out a harness, using both resolution rate and the tasks resolved on the intended workload to guide selection. We also recommend budgeting against resolved tasks, assessing the token efficiency of lightweight models empirically, and using pairing-specific failure evidence to prioritize improvements to progress control, fault localization, and validation.

• An auditable experimental record. We publicly release records for all 1,800 graded runs, including benchmark grades, available trajectories, candidate patches, and serving telemetry, together with failure labels, configurations, and analysis scripts.