ReflexiCoder

2 min read

most "self-healing" codegen loops look like this in production:

Plain Text
generate → run tests → read stderr → prompt again → hope

that works. it is also slow, leaky, and dependent on a sandbox you trust at inference time.

ReflexiCoder (acl 2026 findings) argues the reflection step should live inside the weights, not in your orchestration yaml.

what the paper claims

from the acl anthology entry and github repo:

  • rl-only training over the full trajectory: generate → reflect → correct
  • no ground-truth feedback or execution engine required at inference
  • reflexicoder-8b sets sota among open models in the 1.5b–14b range on seven coding benchmarks
  • reported ~40% lower inference token overhead vs base models that need external refinement loops

numbers worth citing (single-attempt setting)

benchmarkreflexicoder-8b (paper)
humaneval94.51%
humaneval+87.20%
mbpp81.80%
livecodebench52.21%
codeforces37.34%

the authors compare against proprietary systems including gpt-5.1 on several tasks — read the paper tables before quoting wins in prod.

why it matters for agent design

agent scaffolds are getting fat: memory, tool routers, retry policies, critic models. ReflexiCoder is a bet in the opposite direction — compress the critic into the generator so a single forward pass already encodes "this line is wrong because…"

if that holds outside benchmarks:

  • fewer round trips to run_terminal_cmd
  • less sandbox attack surface at inference
  • cheaper latency for small fixes

if it fails outside benchmarks:

  • you still need execution oracles for repo-level work
  • reflection without running tests hallucinates confidence

how to read this release responsibly

  1. start with the acl paper
  2. check source + data for training recipe
  3. treat "no execution at inference" as a scope claim — not a promise that your company's monorepo compiles because an 8b model meditated

sources

  1. ACL Anthology — ReflexiCoder (2026 findings)
  2. GitHub — juyongjiang/ReflexiCoder