TL;DR
Humanize is a multi-agent orchestration framework that treats "judgement" as a first-class engineering problem in agentic coding. By separating the "builder" and "reviewer" roles into different LLM vendors and enforcing 72 deterministic "mechanical gates," it achieves state-of-the-art results on complex coding tasks and elite math benchmarks like PutnamBench (672/672).
What Problem Does This Paper Address?
Agentic coding—where LLMs iterate through planning, writing, and debugging—is becoming incredibly cheap, but it remains stubbornly unreliable. The core issue is that the agent writing the code is a poor judge of its own work. LLMs struggle to self-correct without external feedback, tend to favor their own outputs, and often "reward-hack" by modifying tests to make them pass.
Current designs often leave the "completion decision" to the agent doing the work. The authors argue that reliable completion requires Judgement Engineering: explicit, mechanically enforced boundaries between planning, implementation, and review.
Methods
The authors introduce Humanize, a workflow built as a Claude Code plugin. Its architecture rests on several novel pillars:
- The Plan Contract: Before a single line of code is written, a human must approve a structured plan that defines the goal, acceptance criteria (ACs), and scope. This prevents the agent from automating a plan the human cannot judge.
- Alternating Models as Joint Sampling: To reduce systematic errors, Humanize uses a "builder" (e.g., Claude) and a "reviewer" from a different vendor (e.g., GPT-5.5 via Codex CLI). Viewed as a Markov chain, a defect only survives if both models miss it.
- Mechanical Gates: Instead of relying on LLM prompts to manage the workflow, Humanize uses 72 deterministic code-based "gates." These gates enforce rules like "no uncommitted changes before review" and "summaries must link claims to evidence."
- RLCR Loop: A "Ralph-Loop with Codex Review" cycle where the builder implements in rounds, but only the independent reviewer can declare the task "COMPLETE."
Datasets
The paper evaluates Humanize using a mix of real-world deployments and rigorous benchmarks:
- Postmortem Corpus: 118 public postmortems of real-world loops filed by users on GitHub.
- PutnamBench: A benchmark of 672 math problems from the William Lowell Putnam Mathematical Competition.
- Lean-Eval: A leaderboard for formal mathematical theorem proving in Lean.
- Olympiads: Problems from the International Mathematical Olympiad (IMO), International Olympiad in Informatics (IOI), and others.
- Engineering Tasks: A 567-file build-system migration for the gem5 project and GPU kernel optimization for the FlashInfer contest.
Key Insights and Ideas
- Blind Spots Differ: The most powerful insight is that model independence matters. Using the same model for building and reviewing is like having a student grade their own exam; they are likely to miss the same conceptual errors twice.
- The "Review Tail": In many successful runs, two-thirds of the total rounds occurred after the implementation was technically accepted. This "long tail" of code review—fixing style, minor bugs, and refactoring—is where much of the reliability is actually bought.
- Oracles Replace Reviewers: When a formal "oracle" is available (like a Lean proof checker or a competitive programming judge), the need for a second model reviewer diminishes because the oracle provides the necessary independent judgement.
- Deterministic Orchestration: The authors found that the more they moved orchestration logic out of LLM prompts and into "hard" deterministic code (the 72 gates), the more reliable the system became.
Key Results
Humanize demonstrated remarkable performance across diverse domains:
- Mathematics: Achieved a perfect 672/672 on PutnamBench and ranked 1st on the Lean-Eval leaderboard, outperforming professional mathematician teams.
- Olympiads: Secured full scores in IOI 2026, IMO 2026, IPhO 2026, and IBO 2024. It also earned a gold-medal equivalent score in the Chemistry Olympiad (IChO).
- Systems Engineering: Successfully executed a massive 567-file migration of the gem5 build system from SCons to CMake/Ninja/Bazel.
- Performance: In the MLSys 2026 FlashInfer contest, Humanize-based agents placed in the top three of all Full-Agent tracks, achieving up to an 8.58x speedup on GPU kernels.
Limitations and Future Work
- Observational Evidence: The results are based on deployment data and benchmarks, not a controlled A/B comparison against other workflows.
- Reviewer Pacing: A "one-finding-per-round" cadence can make the review phase feel slow and expensive for users.
- Environment Sensitivity: Loops often stall not because the code is wrong, but because the agent's environment (e.g., missing dependencies) differs from the reviewer's.
- Tool Fragility: Humanize relies heavily on the CLI tools of other vendors (Claude Code, Codex CLI), and updates to those tools can break the plugin's deterministic hooks.
The authors are currently developing Humanize2, which moves the loop into its own dedicated runtime to address these integration challenges.
Summary updated