Ideas from AI Engineer talks Curated by Alex Vidal (@dobleio) and Borja Pérez (@borjaperfra) 76 ideas · 101 talks · 5 events

The Engineering Brief

Dex Horthy argues coding models are not rewarded for keeping a codebase maintainable

Dex Horthy (HumanLayer, now part of Factory) argues that models trained to pass tests have no reason to keep code easy to change. In mid-2026 he said no benchmark measured it; by November he pointed to SlopCodeBench, which tracks code quality across successive features.

Watch from 11:51

Recording by AI Engineer.

The idea

The speaker’s argument, in our words.

Horthy's argument starts with the training signal. In SWE-bench style tasks the agent's edits to test files are undone, hidden tests are applied and the reward is pass or fail. Nothing in that loop penalises a needless try-catch or a cast that exists only to make a test pass, and the cost of a bad abstraction arrives months later, too late to reach the episode that caused it.

At World's Fair 2026 he said he could not prove this, because no benchmark measured maintainability. At CODE 2026 he presented SlopCodeBench, a University of Wisconsin benchmark where a model extends the same codebase checkpoint by checkpoint while quality metrics are tracked alongside correctness. His conclusion in both talks is the same: if a codebase has to last, people still need to understand it, so design work (types, signatures, call paths) should be agreed before the agent writes code.

What they found

From the talk. Figures are self-reported unless stated.
  • In SWE-bench style training, test-file changes are undone, hidden tests are applied and the reward is pass or fail, so nothing penalises poor program design.

    His account of benchmark mechanics, using a fastlane task as an example; he notes benchmarks and RL verifiers are separate datasets but similar in shape.

    Speaker opinion

    12:26
  • The cost of bad architecture is paid over months or years, which makes it hard to propagate a reward signal back to the coding episode.

    Argument, not measurement. He cites newer benchmarks with judges or longer tasks (SWE-Marathon, DeepSWE, Frontier Code) as partial progress.

    Speaker opinion

    12:58
  • SlopCodeBench measures whether a model can evolve a codebase by solving problems in checkpoints, and tracks metrics such as cyclomatic complexity, lines per symbol and the share of high-complexity functions, plus about 200 custom rules.

    Horthy's description of the benchmark. He says the lab's paper, released the day of the talk, draws on research his team did with it. The paper was not reviewed here, and the scores he quoted are not used until checked against it.

    Case study

    7:13
  • Several patterns identified as poor were less present in models from six months ago than in current ones; for example, some current models now default to percent-style string formatting in Python instead of f-strings.

    Speaker summarising benchmark findings without figures; his remark that slop is 'amplifying' is his interpretation.

    Speaker opinion

    8:34

Why it matters

Our reading. Not said in the talk.

If Horthy is right, a slow loss of maintainability across many changes does not show up in the benchmark scores teams use to choose models, and more agent loops or review bots will not close that gap; verifiers that can score design would.

What one could try

  • When evaluating a coding agent, test it on a sequence of related changes to the same codebase as well as on isolated tasks.
  • Before handing a feature to an agent, write down the types, signatures and call paths you expect, and review the PR against them.

Limitations

  • The training argument is his reasoning, not a measurement; at World's Fair 2026 he said he could not prove it.
  • The SlopCodeBench scores he quoted and the claim that newer models write worse-patterned code rest on his summary of a paper not reviewed here.
  • The speaker's companies sell coding agent tooling and the planning workflow he recommends.

Original sources

This is our synthesis of the talk, checked against the transcript at the linked moments.

Related ideas