# Complexity as Change Cost: A Unified Software Complexity Model and the Solvability Boundary of AI Coding Agents

> USCM-CC defines complexity as expected change cost, conditioned on the change stream, architecture and executor. At 90% end-to-end success, the model permits at most three serial steps; feature-level dispersion-to-defect-rate association was null in three instruments.

- arXiv: https://arxiv.org/abs/2612.00752
- Authors: Yun Wang
- Published: 2026-12-02
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.00752
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Why coding agents hit a solvability cliff

**≤3** max serial steps at 90% end-to-end success

## One code score cannot price every change

**Static proxies:** Cyclomatic, size and graph metrics capture different slices; the paper reports weak-to-moderate links to maintenance, and unpredictable understandability at high metric values.

**USCM-CC:** The Unified Software Complexity Model as Change Cost (USCM-CC) defines complexity for a chosen change distribution, architectural partition and executor, tying cost to the work a system faces.

## Follow one change through five costs

1. **Locate + model**: Find the affected units, then build enough understanding to change them correctly.
2. **Write**: Make the edits; implementation cost grows roughly with the number of changed units.
3. **Verify**: Check the acceptance conditions; greater automated coverage reduces the verification term.
4. **Ripple**: Repair downstream effects caused by the change, beyond the units directly edited.

## Complexity is an average over changes

$$
C_\theta(\Delta\mid G,P) = \mathbb{E}_{\delta\sim\Delta}\left[L+M+W+V+R\right]
$$

Average the five costs over a chosen stream of changes; the answer depends on the executor and architectural partition, not code alone.

- $C_\theta$: Expected change cost for executor θ
- $\Delta$: Distribution of changes considered
- $P$: Architectural partition of the system

## Architecture can lower cost, not erase the floor

**Current partition:** For the partition a system already has, expected change cost includes necessary work and any excess cost from where code is placed.

**Feasible lower bound:** For a fixed change distribution and executor, essential cost is the infimum over feasible partitions; the gap from it is accidental cost.

A redesign may reduce accidental cost, but cannot cross the essential lower bound.

## Four architectures, one partitioning problem

**Separate paradigms:** Layering, modular monoliths, microservices and DDD are often discussed as separate answers to the question of which architecture is better.

**Shared objective:** USCM-CC casts them as graph partitions with different boundary costs and constraints; compare candidates only after fixing team, deployment and domain conditions.

First fix the constraints, then compare the costs of candidate architectures.

## The model links definition to decisions

![Figure 1](https://cdn.instaxiv.com/figures/2612.00752/figure1.webp)

Figure 1 maps expected change cost and the essential/accidental split through five components and four axes to architectural choices, placement debt and a decision interface. (Figure 1)

## Serial reliability compounds across a change

$$
R = p^{n}
$$

The paper back-infers per-step reliability at about 0.83 in early 2025 and 0.965 in 2026; serial multiplication still shrinks end-to-end success.

- $p$: Per-step reliability
- $n$: Number of serial steps

## Live benchmark success drops in steps

![Figure 2](https://cdn.instaxiv.com/figures/2612.00752/figure2.webp)

On SWE-bench-Live, success was 48% for single-file patches under 5 lines, below 10% for 3+ files or over 100 lines, and 0% at 7+ files. (Figure 2)

## Three constraints bound agent solvability

1. **Context**: Information needed to understand the change must fit within the agent's effective context.
2. **Reliability**: Serial actions can miss the end-to-end target even when each step is individually reliable.
3. **Verification**: Executable checks must cover enough acceptance conditions to establish correctness.

## A local guardrail predicts dispersion

![Figure 4](https://cdn.instaxiv.com/figures/2612.00752/figure4.webp)

Left: per-repository dispersion prediction from change count and author concentration, median CV AUC 0.62; leave-one-repository-out 0.63. Right: flagged placements dispersed 1.88×/1.87× as often as unflagged ones in two held-out systems. (Figure 4)

## Dispersion is not a defect predictor here

**Guardrail's target:** R1′ uses pre-merge information; its guardrail fires when predicted dispersion risk crosses that system's usual base rate.

**Not a defect claim:** Across three instruments, the feature-level dispersion-to-defect-rate association was null; the authors frame these signals as placement and synchronization risk, not defect rates.

## What the evidence does not settle

- **Live benchmark anchor**: Only the 48% first layer anchors per-step reliability; the next two are an upper-bound and a non-refuting check, and stratum sample sizes are undisclosed.
- **Local thresholds**: Pooled coefficients are priors; the paper calls for monthly local refitting and says magnitudes should not be extrapolated across systems.
- **Partial source**: The supplied text ends mid-main-text, so the remaining derivations, results and appendices cannot be assessed in this edition.

Best used when: Use it as a locally calibrated framework for placement and review triage, not as a universal score or defect guarantee.

## Key takeaways

- Complexity is conditional: its change stream, architecture and executor shape expected cost.
- Before delegation, check context, serial reliability and executable verification; then split, decouple, specify, narrow or freeze the change.
- Open question: can locally calibrated placement alarms predict outcomes beyond dispersion, given the null feature-level dispersion-to-defect association?

## Links

- arXiv: https://arxiv.org/abs/2612.00752
- PDF: https://arxiv.org/pdf/2612.00752

## Citation

```bibtex
@article{wang2026complexity,
  title   = {Complexity as Change Cost: A Unified Software Complexity Model and the Solvability Boundary of AI Coding Agents},
  author  = {Wang, Yun},
  journal = {arXiv preprint arXiv:2612.00752},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.00752}
}
```
