CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

超越通过测试:提升LLM生成代码质量技术的系统综述与受控复评 [HTML 第6/7部分]

Kadam, Prashank

摘要与解读

综述约束解码与引导方法,提及DuoSteer等兼顾安全与正确性的解码技术。

六维情报分析

该版本仅提供原文

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

作者
Kadam, Prashank
文献与标准标识
arxiv:2610.38977
来源版本
v1
来源更新时间
2026-10-28T22:02:40+00:00
日期依据
来源明确给出发表日期
采集来源格式
a_622f2d2c978f798f_html
结构化格式
source_html
原始标题与分类记录

Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code [HTML part 6/7]

研究方向
防御技术、评测治理
影响维度
安全与合规
风险类型
供应链风险
相关技术
LLM、Agent、RAG

当前为离线关键词规则模式。

分类规则与原始字段
防御技术 · mitigation
o security domains with an LLM, retrieves matching CWE mitigation strategies from a knowledge base, and builds them into the prompt. SEC Total security findings (Son
评测治理 · benchmark
nd Afterburner is evaluated on the same authors’ Venus benchmark. Correctness costs are uneven (§S17.7). No highlighted technique reports an effect on an untargeted
供应链风险 · dependency
2025) 2025 4 L Revises a seed solution by traversing a dependency graph (DAG) of the relevant secure coding practices. SEC CodeQL security rate, 37 Python scenarios,
安全与合规 · safety
1) (Yao et al., 2025). SecCoderX, whose metric weights safety rate by functional correctness, reports that prior methods “often degrade ESR by 14-54%” (Wu et al.
LLM · llm
-evaluation of Techniques for Improving the Quality of LLM-Generated Code [HTML part 6/7] y (§); A3-CodGen counts calls to existing functions, not whether cod
Agent · agent
ecureVibe applies SFT and execution-feedback RL to the agent’s security planning and testing, raising security pass@1 by 6.9 points on BaxBench and 11.5 on SusV
RAG · rag
etrieval + tool feedback 26 SBLLM (Gao et al., 2025b); RAG + multi-tool (Sriram et al., 2026); LLM-driven HLS repair framework (R01058); APILOT (R01272) anoth
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 117,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 114
      },
      {
        "end_offset": 6894,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 6891
      },
      {
        "end_offset": 7068,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 7065
      },
      {
        "end_offset": 7242,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 7239
      },
      {
        "end_offset": 7971,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 7967
      },
      {
        "end_offset": 10478,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 10474
      },
      {
        "end_offset": 19438,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 19434
      },
      {
        "end_offset": 19986,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 19983
      },
      {
        "end_offset": 20969,
        "location": "title_and_content",
        "quote": "RAG",
        "rule": "ai_term",
        "start_offset": 20966
      },
      {
        "end_offset": 21009,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21006
      },
      {
        "end_offset": 21075,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21072
      },
      {
        "end_offset": 21269,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21266
      },
      {
        "end_offset": 21568,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21565
      },
      {
        "end_offset": 21932,
        "location": "title_and_content",
        "quote": "RAG",
        "rule": "ai_term",
        "start_offset": 21929
      },
      {
        "end_offset": 21978,
        "location": "title_and_content",
        "quote": "RAG",
        "rule": "ai_term",
        "start_offset": 21975
      },
      {
        "end_offset": 22139,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22136
      },
      {
        "end_offset": 22391,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22388
      },
      {
        "end_offset": 22688,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22685
      },
      {
        "end_offset": 22874,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22871
      },
      {
        "end_offset": 23134,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23131
      },
      {
        "end_offset": 23177,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23174
      },
      {
        "end_offset": 23430,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23427
      },
      {
        "end_offset": 23508,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23505
      },
      {
        "end_offset": 23760,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23757
      },
      {
        "end_offset": 11623,
        "location": "title_and_content",
        "quote": "PyTorch",
        "rule": "ai_component",
        "start_offset": 11616
      }
    ],
    "matches": [
      {
        "end_offset": 117,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 114
      },
      {
        "end_offset": 6894,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 6891
      },
      {
        "end_offset": 7068,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 7065
      },
      {
        "end_offset": 7242,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 7239
      },
      {
        "end_offset": 7971,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 7967
      },
      {
        "end_offset": 10478,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 10474
      },
      {
        "end_offset": 19438,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 19434
      },
      {
        "end_offset": 19986,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 19983
      },
      {
        "end_offset": 20969,
        "location": "title_and_content",
        "quote": "RAG",
        "rule": "ai_term",
        "start_offset": 20966
      },
      {
        "end_offset": 21009,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21006
      },
      {
        "end_offset": 21075,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21072
      },
      {
        "end_offset": 21269,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21266
      },
      {
        "end_offset": 21568,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 21565
      },
      {
        "end_offset": 21932,
        "location": "title_and_content",
        "quote": "RAG",
        "rule": "ai_term",
        "start_offset": 21929
      },
      {
        "end_offset": 21978,
        "location": "title_and_content",
        "quote": "RAG",
        "rule": "ai_term",
        "start_offset": 21975
      },
      {
        "end_offset": 22139,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22136
      },
      {
        "end_offset": 22391,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22388
      },
      {
        "end_offset": 22688,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22685
      },
      {
        "end_offset": 22874,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 22871
      },
      {
        "end_offset": 23134,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23131
      },
      {
        "end_offset": 23177,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23174
      },
      {
        "end_offset": 23430,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23427
      },
      {
        "end_offset": 23508,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23505
      },
      {
        "end_offset": 23760,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 23757
      },
      {
        "end_offset": 11623,
        "location": "title_and_content",
        "quote": "PyTorch",
        "rule": "ai_component",
        "start_offset": 11616
      }
    ],
    "method": "explainable_keyword_rules",
    "reason": "Matched AI topic or component evidence",
    "relevant": true
  },
  "entity_ids": [],
  "facts": [],
  "method": "source_grounded_extraction",
  "unknown_fields": [
    "affected_products",
    "affected_versions",
    "fixed_versions",
    "cvss",
    "mitigations",
    "references",
    "papers",
    "poc"
  ]
}
原始采集文本
y (§); A3-CodGen counts calls to existing functions, not whether code is better.
S17.6. Decoding
Constrained decoding and steering.
Synchromesh enforces syntax, scope and typing on partial programs in three domain-specific languages
(Poesia et al., 2022); type-constrained decoding extends this well-formedness target to
TypeScript, more than halving compilation errors (Mündler et al., 2025). For R/M,
PG-TD swaps its test reward for a length or comment reward (Zhang et al., 2023b) and RPG penalizes
structural repetition (Dong et al., 2025b). For SEC, constrained beam sampling writes
constraints for each of the 91 CodeGuard+ prompts from the CWE it might trigger
(Fu et al., 2024); co-decoding replaces the rules with a small security model
(Hu et al., 2026a); and 2026 steering methods (SCS-Code, DuoSteer)
use the target’s own activations. MRepE, the only R/M steering method we found, combines
comment-density, naming and cyclomatic-complexity vectors while bounding correctness loss
(Gao et al., 2026, preprint). Sandoval et al. (2026) trace insecure generation to one late
layer; per-vulnerability steering vectors “reduce insecure generation by up to 74%” across
five models.
Sample-and-select.
MBR-exec keeps the candidate whose execution results agree most with the others
(Shi et al., 2022); CodeT adds model-generated tests (Chen et al., 2023); Coder-Reviewer rescores
by instruction likelihood because likelihood-only reranking is “prone
to preferring degenerate solutions” (Zhang et al., 2023c); LEVER learns a verifier over program
and execution result (Ni et al., 2023). Without execution feedback, a code process reward model
is no better than a random reward in best-of-NN (Li et al., 2025d); FunPRM meta-learns
step-reward corrections from unit-test outcomes (Zhang et al., 2026). Quality-aware
selection needs a quality preference model: CodeFavor learns pairwise preferences from commits and
critiques, improving preference accuracy for correctness, efficiency
and security “by up to 28.8%” (Liu et al., 2024a); Priority Sampling, a deterministic
confidence-ordered search over unique samples, raises a compiler model’s code-size gain over
-Oz “from 2.87% to 5%” (Grubisic et al., 2024). Test-time scaling adds
sequential revision to execution-grounded selection (Li et al., 2025a); CodeMonkeys selects among
repository edits with model-generated tests (Ehrlich et al., 2025). The
quality-verifier gap is now partly closed: SecCodePRM (ICML 2026), a step-level security reward
model trained on analyzer labels, outranks probability ranking for best-of-NN on CWEval
(Yu et al., 2026b). For EFF, surprisal-guided selection is a preprint
(Barnes, 2026, preprint) and PIE’s Best@kk (fastest program passing all tests in
a simulator) an oracle bound (Shypula et al., 2024). We found no peer-reviewed R/M or
EFF selector, and none reranking by static maintainability scores or profiled instruction counts.
Highlighted techniques.
Table S38 lists the highlighted techniques (selection rule in
§). MoC trains per-CWE linear probes on a code model’s hidden states and, only when a probe flags a vulnerable state, adds a decaying mix of correction vectors, raising Qwen2.5-Coder-7B’s CodeQL security ratio on the SVEN test set from 76.8 to 85.7 with HumanEval pass@1 79.9 →\to 81.2 (Yu et al., 2025). RobGen uses a small classifier to predict whether the next line should open an if guard and, when if is among the three most likely tokens, raises its logit, cutting the share of DeepSeekCoder-1.3B’s CoderEval Java outputs that GPT-4o judges less robust than the reference from 42.2% to 28.7% with Pass@1 slightly higher (Li et al., 2025h).
Caveats.
Correctness effects are mixed. PG-TD’s length penalty slightly lowers the public-test pass rate
(23.14 to 22.82); constrained beam sampling lowers Llama3-8B pass@1 from 82.20 to
72.21, and an independent study found, and repaired by script before testing, indentation issues
in most CodeGuard+ outputs for CodeLlama and Mistral (Dai et al., 2026a); SCS-Code lowers
CodeLlama pass@1 from 68.1 to 65.7, whereas DuoSteer reports an average correctness change
of +7.5%. RPG improves on repetition penalty, which also cuts repetition but lowers HumanEval
pass@1 to 0.092 (greedy: 0.301; RPG: 0.325). Evidence is thin for several recent
rows: surprisal selection rests on 10 task–seed pairs
(sign test p=0.125p=0.125); FunPRM targets correctness, and its readability gain comes from three
raters on 100 pairs, read off a figure; DuoSteer reports both a test-swept and a held-out
configuration protocol.
Effects on correctness and non-targeted dimensions.
Correctness selectors measure no other dimension. With the QC3-30B generator, SecCodePRM raises func@1 by 11.09 points alongside
security (Yu et al., 2026b). The ICSE 2026 re-evaluation finds CodeGuard+’s security gains
limited or negative on Mistral and notes the original never measured the indentation defect above
(Dai et al., 2026a); its implementation also returns no code without its constraints
(Wendlinger et al., 2026). No steering study we found measures SEC after R/M
steering or the reverse.
Compute fairness.
Selectors compared at equal NN are budget-matched; comparisons with one greedy sample are not. CodeT
samples 100 test generations per HumanEval problem (Chen et al., 2023); CodeMonkeys spends
approximately 2300 USD and resolves 57.4% of issues from a pool whose oracle coverage is
69.8% (Ehrlich et al., 2025); type constraints add 39.1% average HumanEval
runtime (Mündler et al., 2025). Surprisal selection is free only because every compared
strategy already tests all samples (Barnes, 2026). Best-of-nn at equal verifier
and call budget is thus the baseline for iterative methods
(§–§), as in §.
Limitations.
Logit- and activation-level methods need white-box access (surprisal selection needs sequence
log-probabilities); of the highlighted techniques only FunPRM does not. The ICSE 2026 study could not
run three of four security techniques on commercial models (Dai et al., 2026a), and none applies
to the frontier APIs of §. Per-prompt CWE constraints do not transfer to unseen
tasks, and CodeQL labels miss vulnerabilities (Dai et al., 2026a).
S17.7. Training
Data curation and supervised fine-tuning.
phi-1 filtered web code with a classifier trained on GPT-4 “educational value” ratings of about 100k files, added GPT-3.5-generated textbooks, and reached 50.6% HumanEval pass@1 at 1.3B (Gunasekar et al., 2023). Open pipelines followed: The Stack v2 removes low-quality files heuristically (Lozhkov et al., 2024); OpenCoder applies over 130 language-specific rules and reports that filtering by GitHub stars reduced diversity and worsened the model (Huang et al., 2025b); Seed-Coder distills an LLM oracle’s readability, modularity, clarity and reusability scores into a 1.3B regression scorer (Seed et al., 2025b); and SwallowCode combines pylint-based filtering with LLM rewriting that “enforces style conformity” (Fujii et al., 2026). Some studies clean the code itself: Jain et al. (2024) rename variables and modularize solutions with an LLM, gaining up to 30% correctness. Few curation studies measure R/M of generated code: beyond the SmellCC row of Table S40, Xue et al. (2026b) report 79.6% and 83.1% fewer smells for DeepSeek-V2 and Qwen-Coder (their refactoring tool kept only 91.3% correctness in its own test verification), and Kuang et al. (2026) find that data refactoring, selection and cleaning raise the Maintainability Index of generated code while synthesis and augmentation lower it. Large pretraining pipelines filter for readability-like properties but report only functional benchmarks.
Preference optimization with quality signals.
Preference optimization learns from pairs of better and worse programs. CodeUltraFeedback draws responses from 14 LLMs and brought CodeLlama-7B-Instruct to a CUF-Bench judge score of 7.08 (GPT-3.5-Turbo: 7.18) and pass@1 from 37.9 to 43.1, though DPO variants scored slightly below SFT alone (Weyssow et al., 2026). CodeDPO reaches a 1.45x speedup on HumanEval+ with MagiCoder-S-DS-6.7B at 83.5% correctness (Zhang et al., 2025a). PLUM (Zhang et al., 2024b) and AceCoder (Zeng et al., 2025) (unrelated to ACECode below) use synthesized tests for correctness only. For efficiency, Mercury found DPO stronger than SFT (Du et al., 2024), while Afterburner found both “rapidly saturate” (Du et al., 2025).
Several security results share a mechanism: secure and insecure programs often differ in a few tokens (a sanitizer call, a parameterized query), which a sequence-level loss dilutes. Hence SVEN and SafeCoder mask their losses to the changed regions (He and Vechev, 2023; He et al., 2024), Localized Preference Optimization (LPO) masks security-relevant tokens after finding SimPO ineffective (Hasan et al., 2025), and SRCode assigns token-level RL rewards (Quan et al., 2026).
Security-targeted training.
Security training has moved from curated fixes (SVEN, SafeCoder) to synthesized data and then RL. HexaCoder synthesizes vulnerable and repaired pairs with a CodeQL oracle (Hajipour et al., 2024); ProSec synthesizes vulnerability-inducing instructions from CWEs and trains on preference pairs (Xu et al., 2025); LPO refines its distilled pairs with CodeQL and Bandit feedback, reporting 31% and 64% fewer insecure files on Phi-2 and StarCoder2-7B (Hasan et al., 2025). RL methods include PurpCode (rule-referencing SFT plus multi-objective RL) (Liu et al., 2025a), SecCoderX (a learned vulnerability reward model in place of the analyzer) (Wu et al., 2026a), SRCode (Quan et al., 2026), and pilots such as SecureCodeRL, whose evaluation had no Bandit findings at all (Sijwali and Saha, 2026). Training has also reached coding agents: SecureVibe applies SFT and execution-feedback RL to the agent’s security planning and testing, raising security pass@1 by 6.9 points on BaxBench and 11.5 on SusVibes, and functionality pass@1 by 4.1 on SWE-bench Verified (Wang et al., 2026c).
Efficiency-targeted training.
Efficiency work uses profilers or simulators as the signal. PIE fine-tunes on 77,967 human performance-improving C++ edit pairs timed in the gem5 simulator, adding performance-conditioned generation and self-play data (Shypula et al., 2024); EffiCoder fine-tunes on the fastest correct candidate from several LLMs (Huang et al., 2025a). ACECode trains with proximal policy optimization (PPO) on a combined correctness-runtime reward (Yang et al., 2024a); Afterburner runs Group Relative Policy Optimization (GRPO) in an iterative refinement loop (Du et al., 2025); SuperCoder rewards assembly speedup over gcc -O3 (Wei et al., 2026); Nichols et al. (2026) align models to serial and OpenMP code performance; and RLPF ranks failed programs by execution progress and correct ones by improvement toward an expert reference (Jing et al., 2026). Making execution time a usable reward is itself studied: Chambon et al. (2026) report that “once timing drives the reward, small problems in measurement noise, reward sparsity, or GRPO instability overwhelm the signal and make RL fail”; with a calibrated sandbox and adapted GRPO they raise strict top-50% pass@1 on their optimization tests from 18.0% to 31.3% on Qwen 2.5 7B and from 30.7% to 50.4% on CWM 32B “while preserving pure-correctness scores”. The largest RL efficiency gains are on GPU kernels: Kevin’s multi-turn RL raises its base model’s kernel correctness from 56% to 82% and mean speedup over PyTorch Eager from 0.53x to 1.10x, finding serial refinement more useful than parallel sampling (Baronio et al., 2025); CUDA-L1 reports an average speedup of x3.12 (median x1.42) over default KernelBench baselines (Li et al., 2025f); and CUDA Agent reports 100%, 100% and 92% faster rates over torch.compile on the three KernelBench levels (Dai et al., 2026b). Kernels fall outside the general-purpose scope of the highlighted techniques (§) but show what a precise, cheap-to-measure efficiency reward can do.
Reinforcement learning with program-analysis rewards.
REAL is the clearest attempt to train for SEC and R/M jointly with COR (its maintainability detector is MyPy type checking) (Yao et al., 2025). Its motivating negative result is that “optimizing for code quality alone leads to reward hacking”, with the model emitting empty code or comments that maximize quality scores; its ablation confirms that a quality-only reward yields safer but less functional code. In 2026, Jolfaei et al. (2026) map Ruff violations to the tokens causing them, and Skopin and Kotelnikov (2026) find that static-analysis penalties alone bias small models toward shorter completions. Themis trains code reward models with readability and maintainability criteria, citing “the limited proficiency of current RMs beyond scoring for functional correctness” (Paul et al., 2026); we found no well-documented study using such a model as an RL reward and measuring R/M with independent instruments.
Side effects of reward optimization.
The first side effect is length. In RL from human feedback, “a purely length-based reward reproduces most downstream RLHF improvements” (Singhal et al., 2023); DPO also exploits verbosity (Park et al., 2024); ODIN counters it by discarding a dedicated length head of the reward model (Chen et al., 2024a); and in RL with verifiable rewards (RLVR), GRPO has an optimization bias that “artificially increases response length (especially for incorrect outputs)” (Liu et al., 2025d). Since length moves with lines of code, comment density and complexity metrics, judge-based R/M rewards face the same confound, which no code study we found controls for. Analyzer-only rewards pull the other way, toward short or empty code (Skopin and Kotelnikov, 2026; Yao et al., 2025); PurpCode reports that with binary rewards “models learn that generating no code is always ‘secure’ ” (Liu et al., 2025a).
The second is exploitation of the test oracle behind every correctness term. In a frontier RL run, an agent planned to “circumvent the tests by making verify always return true” (Baker et al., 2025); on ImpossibleBench, whose tests contradict the task, GPT-5 cheats on 76% of Oneoff-SWEbench tasks (Zhong et al., 2026); 28.5% of a SWE-bench Verified sample have tests accepting an incorrect patch (Rajan, 2026); in CATCH, a chain-of-thought monitor’s protection erodes as the policy learns to mislead it with code comments (Wang et al., 2026f); and hacking learned in production coding environments generalizes to broader misalignment (MacDiarmid et al., 2025). A correctness term thus does not prevent degenerate code: a special-cased solution is “correct” yet unmaintainable.
Highlighted techniques.
Table S40 lists the highlighted techniques (selection rule in §). Landmarks curate or mask data; recent leaders shape the objective, mostly through reinforcement-learning rewards. MPCoder learns Checkstyle style attributes, per-user style vectors and a shared, contrastively trained style adapter so that one CodeLlama-7B model writes Java in each user’s own style, raising its Coding Style Score on PCISparse from 46.29 to 66.18, while HumanEval-X Java correctness falls from 30.49% to 26.18% on that dataset (Dai et al., 2024).
Caveats. Several gains are measured with the training instrument: CodeUltraFeedback’s GPT-3.5 judge also labelled the training data (with a GPT-4-Turbo judge the authors report “more mitigated effects”), and REAL evaluates with its reward’s program-analysis detectors. SafeCoder “does not achieve strong generalization across different CWEs”. CodeDPO times only problems solved both before and after training. PurpCode’s baseline is its own untrained base model, SecCoderX’s the unaligned model, and Afterburner is evaluated on the same authors’ Venus benchmark. Correctness costs are uneven (§S17.7). No highlighted technique reports an effect on an untargeted dimension.
Effects on correctness and non-targeted dimensions.
Correctness. The security literature reports small correctness costs, which the evidence partly supports: SVEN “closely matches the original LMs in functional correctness” (He and Vechev, 2023), although its CodeGen-2.7B pass@1 falls from 14.0 to 11.7, and ProSec and PurpCode report no or minimal utility loss (Xu et al., 2025; Liu et al., 2025a). SafeCoder leaves StarCoder-1B’s correctness unchanged, but on Phi-2, against standard instruction tuning, raises security from 69.9 to 90.9 while lowering HumanEval pass@1 from 48.3 to 46.1 (He et al., 2024). LPO lowers Mistral-7B’s HumanEvalX pass@1 from 37.1 (SFT) to 28.7, and without its regularizer gains security “at a steep cost of decreased general coding ability” (Hasan et al., 2025). On SecCodePLT+ the SFT baseline’s function score (0.8659) exceeds REAL’s (0.7561) (Yao et al., 2025). SecCoderX, whose metric weights safety rate by functional correctness, reports that prior methods “often degrade ESR by 14-54%” (Wu et al., 2026a). Efficiency tuning shows the same tension: ACECode describes PIE as “improving efficiency but compromising correctness” (Yang et al., 2024a), ECCO finds that “no existing methods can improve time/space efficiency without sacrificing functional correctness” (Waghjale et al., 2024), and a stricter test-coverage reward on hard problems “reduces optimization failures but increases correctness failures” (Zheng et al., 2026a). Conversely, correctness-only RLVR neglects efficiency: 36.6% of the RLVR baseline’s correct programs were slow, versus 15.0% for RLPF (Jing et al., 2026). The correctness gains of EffiCoder, ACECode, Afterburner and SuperCoder cannot be separated from ordinary training on verified solutions.
Non-targeted dimensions are rarely measured (only 15 of 124 studies): no security study in Tables S39 and S40 reports readability or runtime, nor any efficiency study security or readability. LPO’s data pipeline hints at the risk: repeated security refinement produced “overengineered and low quality code, training on which reduced models’ code utility” (Hasan et al., 2025). Terminology blurs the picture: LPO’s “code quality” means pass@kk, and REAL measures security and maintainability in separate scenarios, not on the same outputs.
Compute fairness.
Training-time methods trade a one-off training cost for no extra inference calls, so per-query comparison with the loops of § is not meaningful; most studies report training cost in no form permitting amortization (phi-1’s 8 A100s for 4 days excepted). Some headline numbers include inference-time search (PIE’s 6.86 speedup is the best of eight generations; Afterburner iterates with sandbox execution), and comparisons with inference-time baselines, such as REAL against constrained decoding and prompt optimization, are not budget-matched.
Limitations.
Base-model dependence. Most studies train models of at most 7B, REAL notes that “reinforcement learning often requires a reasonably strong base model” (Yao et al., 2025), and transfer to frontier models is untested. Oracle circularity. Training signal and evaluation often share an analyzer family or judge (§), and analyzers disagree: REAL found CodeQL “unexpectedly ineffective” on SecCodePLT+, and PurpCode found CodeGuru detects more vulnerabilities than CodeQL. Contamination. Synthetic data from GPT-3.5, GPT-4 or frontier LLMs may overlap with public benchmarks; phi-1 studied contamination and PurpCode excluded benchmark sources, but many studies report neither. Reproducibility. Data are often partly closed (phi-1 omits synthetic-data details “for proprietary reasons”), and RL results depend on checkpoint selection, as RLPF notes.
S17.8. Hybrid and other techniques
The 191 studies of the hybrid and other group (§) are grouped here by the mechanisms their signal sources map to: retrieval (retrieved knowledge), self-refinement (the model’s own critique), another LLM (a critic, reviewer or second agent), tool feedback (static analyzer, compiler, test execution or profiler), a learned verifier, training (training-time stage or a reward model) and decoding (in-decoding stage). Human input, used by 17 studies, is not counted as a mechanism. For each combination, the number of studies and up to four representative studies are listed; studies without a bibliography entry are named by their technique and record identifier (§S4).
Table S26. Hybrid and other studies by combination of mechanisms (derived from their signal sources and stage), with representative studies.
Mechanisms
Studies
Representative studies
retrieval + self-refinement + tool feedback
33
Retrieval Augmented Search (Anupam et al., 2026); SCGAgent (Saul et al., 2025); ECO (Kim et al., 2025); Safety Sidecar (Wang et al., 2026a)
tool feedback
27
LLM4PLC (R00632); RustMap (R02061); LLMigrate (R02100); DeRep (R02183)
retrieval + tool feedback
26
SBLLM (Gao et al., 2025b); RAG + multi-tool (Sriram et al., 2026); LLM-driven HLS repair framework (R01058); APILOT (R01272)
another LLM + tool feedback
16
Codexity Preshot Repair (Kim et al., 2024); Hybrid pipeline P10 (Sabir et al., 2026); CodeEvolve (Borra et al., 2026); SecureForge (Liu et al., 2026a)
retrieval + another LLM + tool feedback
15
MARCO (Rahman et al., 2025); SysLLMatic (Peng et al., 2026a); HLSPilot (R01152); VeriOpt (R03540)
self-refinement + tool feedback
13
CodeChain (Le et al., 2024a); SecCode (Liu et al., 2024c); LLM4EFFI (Ye et al., 2025); ArchCode (R00592)
retrieval + self-refinement + another LLM + tool feedback
7
LASSI-EE (R02311); FM Agent (S03419); Rustine (S03494); Bespoke OLAP synthesis pipeline (S03781)
tool feedback + training
5
Afterburner-GRPO within the Iterative … (Du et al., 2025); TurduckenGen (R00265); opt-r1 / opt-r1-mini (R03479); AlgoSkill (R06051)
retrieval + self-refinement
5
KPC (Ren et al., 2023); RefleXGen (Wang et al., 2025a); RAG with valid-package statements … (R00983); RAG-assisted segmented two-stage C-to-Rust … (R05241)
retrieval
4
AceCoder (R00277); Prototype2Code (R01185); Semantic patch learning from CVE patches (R04636); LLM-based AI agent with request classifier … (R05154)
learned verifier
4
SecCodePRM-guided inference-time scaling (Yu et al., 2026b); AutoParLLM (R00452); Fine-tuning on ACEOB efficient-inefficient … (R01180); PreMaQ (R06857)
self-refinement + another LLM + tool feedback
4
Adaptive self-improvement learning (S02612); Kernel-Smith (S03867); Feedback-grounded explicit planning in a … (S04124); SparseCraft (S04639)
learned verifier + training
3
FunPRM (Zhang et al., 2026); E-code (R01179); DeepGuard (R05109)
retrieval + self-refinement + another LLM
3
PEACE (Ren et al., 2025); HCAG (R04905); RTL-Obliger (R06574)
retrieval + tool feedback + training
3
IDIOMS (S00303); TPU-Gen (S02710); daVinci-kernel (S04225)
retrieval + another LLM + tool feedback + training
2
HexaCoder (Hajipour et al., 2024); StitchCUDA (R04757)
tool feedback + learned verifier
2
SecureCoder (R01618); Surrogate-assisted kernel search (S04142)
none of these signals
2
iProg (R02038); CliffCompaction (S04576)
another LLM + tool feedback + learned verifier
2
T-LLM Compiler (R06491); Macro Thinking Micro Coding (S03493)
tool feedback + decoding
1
Vulnerability-tuning with … (R00457)
training
1
WaDec (R00998)
self-refinement + tool feedback + learned verifier
1
PromSec (Nazzal et al., 2024)
retrieval + another LLM + tool feedback + learned verifier
1
AutoPatch (Seo et al., 2025)
another LLM + training
1
RefactorCoder-MoE (R03154)
retrieval + self-refinement + training
1
Stream of Revision (R04484)
retrieval + self-refinement + tool feedback + training
1
DepTrans (R05047)
self-refinement
1
Accumulated behavioral rules (R06233)
another LLM
1
Security-requirement appending / … (R06284)
retrieval + another LLM
1
Pipeline 1 (Surikov, 2026)
another LLM + learned verifier
1
ProbeDebias (R06886)
tool feedback + learned verifier + decoding
1
BetterV (S01747)
self-refinement + decoding
1
EfficientUICoder (S03256)
retrieval + another LLM + tool feedback + learned verifier + training
1
SwiftTrans (S04226)
self-refinement + tool feedback + decoding
1
Explicit agent-first (S04598)
Domains.
By keywords in their languages, benchmarks and titles, 111 of the studies work on specialized code: GPU or accelerator kernels (66), hardware design in Verilog, VHDL, Chisel or high-level synthesis (24), C-to-Rust migration (20), parallel code with OpenMP, MPI or OpenACC (9), smart contracts (3) and PLC programs (2); a study can fall under several. 90 evaluate on Python. The keyword match is approximate; the head-to-head excludes domain-specific techniques by the pass-2 rule of §, not by these keywords.
Targets and effects.
By technique row, the target improves in 112 of 122 efficiency rows, 39 of 46 security rows and 33 of 35 readability/maintainability rows; correctness is unreported in 31, 9 and 3 of them. Efficiency rows thus carry most of the unreported correctness, as in the review overall.
S18. Per-family result tables and highlighted techniques
The reported-effect and design tables of each technique family and its highlighted techniques, referenced from the family sections of the main article. Values are as reported by the original authors; settings differ across rows, so values are not directly comparable.
Prompting
Table S27. Reported effects of prompting strategies on quality and correctness. ↑\uparrow/↓\downarrow/↔\leftrightarrow: improvement/degradation/no significant change in the stated metric relative to the study’s baseline. Values as reported; settings differ, so rows are not directly comparable.
Study
Strategy
Models; benchmark
Target-dimension effect
COR effect
Tony (Tony et al., 2025)
RCI (one critique–improve round)
GPT-3/3.5/4; LLMSecEval, Bandit
SEC ↑\uparrow: weakness density 77.55% lower (GPT-4)
nr
Bruni (Bruni et al., 2025)
Security-aware persona prefix
GPT-4o; LLMSecEval + SecurityEval, Semgrep/CodeQL
SEC ↑\uparrow: 56% fewer vulnerabilities
HumanEval pass@1 86.77% →\to 86.65% (GPT-4o-mini)
Bruni (Bruni et al., 2025)
RCI on baseline code
GPT-4o; as above
SEC ↑\uparrow: 64.7% fewer vulnerabilities
↓\downarrow pass@1 86.77% →\to 76.65% (GPT-4o-mini)
Kharma (Kharma et al., 2026a)
WA-0CoT (CWE-aware CoT)
5 LLMs; Java, C++, C, Python
SEC ↔\leftrightarrow frequency and density; CWE mix shifts; R/M ↓\downarrow more warnings (C)
nr
Urmi (Urmi et al., 2026)
Structured + security guidance
GPT-4o; 424 Python tasks, Bandit/CodeQL
SEC high-severity 20.8% →\to 13.6%; low-severity 32% →\to 43.5%
nr (requested constructs sometimes removed)
Pereira (Pereira and Garcia, 2026)
ISO/IEC 25010-grounded requirements
GPT-5.4; HumanEval/ET
R/M ↑\uparrow unreadability density 0.88 →\to 0.69 (performance requirement)
not reliably improved; ET pass rate ↓\downarrow (error handling)
Khojah (Khojah et al., 2025)
Few-shot vs. CoT+persona+packages
GPT-4o; CoderEval, Pylint
R/M missing docstring 71% vs. 22%
few-shot ↑\uparrow; persona/CoT ↓\downarrow
RACE (Zheng et al., 2024)
Explicit style requirement
28 LLMs; RACE
R/M camel-case compliance below 30% (CodeLlama, WizardCoder)
joint metric only
Apsan (Apsan et al., 2026)
Energy-oriented prompts
6 LLMs; 9 EvoEval problems
EFF ↔\leftrightarrow no consistent energy saving
nr
Rekhi (Rekhi et al., 2026)
8 energy prompts
10 LLMs; EffiBench
EFF ↑\uparrow up to 25% (Python), 17% (C++)
nr (correct subset only)
ECCO (Waghjale et al., 2024)
Few-shot exemplars
open code LLMs, GPT-4o; ECCO
EFF mixed by model
mixed by model
Table S28. Highlighted prompting techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SCoT (Li et al., 2025b)
2025
405
L
Constrains the chain of thought to sequence, branch and loop structures, then implements code from it.
R/M
Maintainability, human rating 0–2, ChatGPT: CoT 1.616 →\to 1.873
↑\uparrow
–
Self-planning (Jiang et al., 2024)
2024
306
L
Few-shot prompts make the model write a concise step plan, then code guided by that plan.
R/M
Readability, human rating: gain reported without numbers (nr)
↑\uparrow
–
LLM4EFFI (Ye et al., 2025)
2025
15
L
Explores algorithms in a logic domain, optimizes the implementation in a code domain, then verifies with synthetic tests.
EFF
eff@1, ENAMEL, DeepSeek-V3: Effi-Learner 52.22 →\to 60.41
↑\uparrow
✓
Code2API (Mai et al., 2024)
2024
12
L
Role, chain-of-thought and few-shot prompting turn Stack Overflow snippets into reusable, well-named API methods.
R/M
Method-name expressiveness, human rating 1–4, GPT-3.5: APIzator 2.23 →\to 3.65
mixed
✓
MPCO (Gong et al., 2025a)
2025
10
L
A meta-prompter LLM writes project-, task- and model-aware code-optimization prompts.
EFF
Mean rank of %PI over five projects (lower is better): contextual prompting 2.00 →\to 1.00
nr
–
BRACE (Xu et al., 2026a)
2026
1
R
A separate LLM predicts the task’s likely CWEs; after catalog validation they are given to the target model as a cue.
SEC
Safe Code Rate (judge classifier), CyberNative, open-weight models (avg.): Secure Prompt 33.9% →\to 91.2%
mixed
–
ECO (Kim et al., 2025)
2025
2
R
Prompt combines a rule-based static bottleneck diagnosis with retrieved optimization instructions distilled from slow–fast pairs.
EFF
Speedup, PIE, best of five, GPT-o4-mini: instruction-only 1.99×\times →\to 7.81×\times
mixed
–
CSDD (Marri, 2026)
2026
3
R
A versioned constitution of CWE-mapped security principles constrains specifications and AI generation, traced to code.
SEC
CWE violations, one banking application, Claude: unconstrained 11 →\to 3
nr
✓
SecureForge (Liu et al., 2026a)
2026
3
R
Mines benign prompts whose code Semgrep flags, broadens them by MCMC rephrasing, then evolves the system prompt with GEPA using the Semgrep findings as reflection feedback.
SEC
Semgrep weakness rate of test-passing outputs, ten LLMs, held-out CWE Top-25 scenarios: up to 48% lower than the security-aware prompt
↔\leftrightarrow
✓
StoryCoder (Jang et al., 2026)
2026
0
R
Retells the problem as a narrative (task overview, constraints, example input/output) in a genre matched to the algorithm it picks, then generates code from the narrative.
R/M
Functions per correct solution, CodeForces, Gemini-2.5-Flash: repeated sampling 1.820 →\to 2.338
↑\uparrow
✓
Tool-feedback loops
Table S29. Design space of tool-feedback loops. Gate: acceptance check other than the driving tool. COR: correctness measured, with direction. Author-reported values, not directly comparable across rows.
Study
Tool(s)
Feedback format
Max iter.
Gate
COR
Lang.; models
Blyth et al. (2025)
Bandit, Pylint
inline tags, severity order
10
fitness
↑\uparrow
Py; GPT-4o
Wadhwa et al. (2024)
CodeQL, Sonar
rule + fix advice; ranker
one pass, 10 samples
ranker
review
Py, Java; GPT-3.5/4
Abtahi and Azim (2025)
SonarQube
issue table + RAG
two phases
manual
manual
one project; GPT-3.5/4o
Joos et al. (2026)
SonarQube
agent + rejection context
40 cycles
build, tests
manual
Java; GPT-4.1 mini
Islam et al. (2026)
Pylint, Radon, Bandit, …
metric diagnostics
five
none
no
Py; several
Ravi et al. (2025)
javac, PMD, tests
errors, violations
five/loop
tests
↑\uparrow
Java; GPT-4o-mini
Alrashedy et al. (2023)
Bandit
raw vs. verbalized; JJ fixes
KK
none
no
Py; three LLMs
Nazzal et al. (2024)
Bandit, SpotBugs
graph fix →\to new prompt
until clean
similarity
↓\downarrowa
Py, Java; GPT-3.5
Kim et al. (2024)
Infer, CppCheck
type + location
3
none
no
C; five LLMs
Gajjar et al. (2025)
Bandit
report + LLM check
to clean
none
no
Py; <<8B tuned
Yan et al. (2026)
CodeQL
raw vs. explained
nr
none
no
Py; eight LLMs
Dolcetti et al. (2026)
Infer; tests
one finding per prompt
6
separate
↑\uparrow
C; 4 open
Sriram et al. (2026)
GCC, CodeQL, KLEE
diagnostics + RAG
three
KLEE
↑\uparrow
C/C++; two small
Nunez et al. (2024)
LLM “analyzer”
CWE + advice
four
fuzzing
↓\downarrow
Py; GPT-4o
Huang et al. (2024a)
line/mem. profiler
per-line profile
0 to 5
open tests
small ↓\downarrow
Py; 16+6 LLMs
Peng et al. (2025b)
runtime
slowest test
one
tests
↑\uparrow
Py; open, GPT-3.5/4
Peng et al. (2026a)
async-prof., perf
hotspots + catalog
T = 2
tests
held
C++, Java; GPT-4o/4.1
Deng et al. (2026a)
py-spy
hotspots, timing
5
tests
↑\uparrow
Py; GPT-5.1, Kimi-K2
a functionality proxied mainly by code-graph similarity; Pass@1 fell when Dai et al. (2026a) ran unit tests.
Table S30. Reported effects on the target dimension and on correctness (→\to: before to after). Author-reported values, not directly comparable across rows.
Study
Setting
Target-dimension effect
COR effect
Blyth et al. (2025)
GPT-4o; PythonSecurityEval
insecure >>40%→\to13%; readability viol. >>80%→\to11%
pass@1 38.16%→\to47.81%
Wadhwa et al. (2024)
GPT-3.5/4; CodeQL, Python
pass checks 81.57%; reviewer rejection 55.11% (47.55% ranked)
review only
Joos et al. (2026)
GPT-4.1 mini; SonarQube
plausible 96.8%; correct 86.3%
gated
Abtahi and Azim (2025)
GPT-3.5→\to4o; one project
issues 7,599→\to4,340→\to1,058
manual
Alrashedy et al. (2023)
GPT-4; PythonSecurityEval
vulnerable: Bandit 40.2%→\to7.4%; CodeQL 17.9%→\to7.7%
nr
PromSec in (Dai et al., 2026a)
GPT-3.5; BigCodeBench
Secure-Pass@1 0.3219→\to0.2447
Pass@1 ↓\downarrow
Kim et al. (2024)
gpt-3.5-turbo; C
vulnerable 75.9%→\to15.9%
nr
Gajjar et al. (2025)
tuned <<8B; Bandit
fix accuracy 87.83 vs. 79.72 single-pass
nr
Yan et al. (2026)
GPT-4o; CodeQL
target-vuln. rate −-7.3%, −-15.7%, −-8.7%
nr
Dolcetti et al. (2026)
best models; Infer, C
89% of vulnerabilities fixed
62% of incorrect repaired
Sriram et al. (2026)
CodeLlama-7B; C/C++
CodeQL defects 58.55%→\to22.19%
KLEE 19.98%→\to12.18%
Nunez et al. (2024)
GPT-4o; SecurityEval
vulnerable 59/121 (49%)→\to44/121 (36%)
pass@1 0.9085→\to0.8780
Ravi et al. (2025)
GPT-4o-mini; HumanEval-X
PMD nr
pass@1 71.65%→\to80.85%
Huang et al. (2024a)
StarCoder2-15B; EffiBench
time 0.93 (s)→\to0.12 (s)
e.g. 5.8→\to5.4b
Peng et al. (2026a)
GPT-4.1; DaCapo
latency 1.54x (compiler 1.01x)
gated
Deng et al. (2026a)
GPT-5.1; GSO / SWE-fficiency-Lite
expert-level 19.6%→\to39.2% / 26%→\to74%
gated
b pass@1 of OpenCodeInterpreter-DS-1.3B.
Table S31. Highlighted tool-feedback loop techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SBLLM (Gao et al., 2025b)
2025
76
L
Evolves optimized programs: selects representative executed samples, retrieves optimization patterns, combines them with genetic-operator-style prompts.
EFF
SP@5 (%), GPT-4, PIE Python: ICL 181.53 →\to 209.59
↑\uparrow
✓
PerfCodeGen (Peng et al., 2025b)
2025
58
L
After a correctness phase, returns the most time-consuming unit test and asks for a faster program.
EFF
%Opt Best@8, GPT-4, MBPP: base 43.48 →\to 56.52
↑\uparrow
–
PromSec (Nazzal et al., 2024)
2024
55
L
A contrastively trained graph GAN repairs the vulnerable code graph; the repaired code is turned into an improved prompt, iteratively.
SEC
nr (CWE counts shown only in plots)
↑\uparrow
✓
DeepDevVuln filter (Chan et al., 2023)
2023
41
L
A fine-tuned transformer vulnerability detector flags incomplete code; completions it flags are discarded.
SEC
vulnerable scenarios, text-davinci-003: unfiltered 78.00% →\to filtered 8.0%
nr
–
FRANC repair (Siddiq et al., 2024a)
2024
32
L
Builds a repair prompt from Bandit or SpotBugs messages (generated-knowledge prompting, three prompt structures) and re-queries the model.
SEC, R/M
prompts with a good suggestion after repair: up to 80%; no pre-repair value
nr
✓
Optimo (Peng et al., 2026b)
2026
0
R
Differential profiling finds bottlenecks, routed to multi-level, pattern-specific optimization prompts with shared and special strategies and correctness reflection.
EFF
Opt%, GPT-4o code, EffiBench: SBLLM 3.58% →\to 35.79%
↑\uparrow
✓
Infer repair loop (Dolcetti et al., 2026)
2026
27
R
Feeds one Infer warning at a time, with fix instructions, back to the model for iterative repair.
SEC
Infer findings fixed, C, best of four open models: 39 out of 44 (89%)
nr
–
CodeEvolve (Borra et al., 2026)
2026
1
R
Selects targets from runtime profiles; evolves edits with MCTS-augmented search, a refinement agent and cascaded validation.
EFF
avg. speedup, 7 Java hotspots: single-call RPBD 7.12×\times →\to 15.22×\times
↑\uparrow
–
PerfAgent (Deng et al., 2026a)
2026
3
R
Curated profiler hotspot summary, an objective-driven loop that keeps optimizing, selective test validation, and best-patch selection.
EFF
hack-adjusted Opt@1, GPT-5.1, GSO: OpenHands 19.6% →\to 39.2%
↑\uparrow
–
SelectIssue loop (Blyth et al., 2025)
2025
17
R
Each round tags a few Bandit and Pylint issues, picked by severity weight, inline at their code lines; a revision is kept only if its test-gated fitness does not fall.
SEC, R/M
Bandit-flagged insecure snippets, GPT-4o, PythonSecurityEval, two issues per round, ten rounds: 45.05% →\to 13.41%
↑\uparrow
–
Self-refinement
Table S32. Reported effects of self-refinement on non-functional quality (Self-Refine on PIE: Table S33). Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Study (model)
Setting and metric
Before →\rightarrow after
COR
Self-Refine (GPT-4)
CodeNet rewrite; GPT-4-judged meaningful names (R/M)
27.4 →\rightarrow 56.2
nr
EffiLearner (StarCoder2-15B)
EffiBench; execution time, s (EFF)
0.93 →\rightarrow 0.12
↓\downarrow 0% to 0.5%
EffiLearner (StarCoder2-15B)
EffiBench; total memory usage, Mb⋅\cdots (EFF)
22.02 →\rightarrow 2.03
as above
Self-Refine in EffiLearner (CodeLlama-70B)
EffiBench; execution time change (EFF)
++51.9%
nr
Reflexion + ICD (five open code LLMs)
Instruct Prime; ICD secure rate (SEC)
70.74% →\rightarrow 79.43%
nr
Table S33. Highlighted self-refinement techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
Self-Refine (Madaan et al., 2023)
2023
5050
L
One LLM alternates between feedback on its own output and refinement using that feedback, for several iterations.
EFF
% programs optimized, PIE, GPT-4: no refinement 27.3 →\to 36.0
nr
✓
CodeChain (Le et al., 2024a)
2024
91
L
Modular chain of thought, then self-revisions conditioned on clustered representative sub-modules from earlier samples.
R/M
Modularity and reusability, GPT-4 Likert rating, 20 APPS tasks: shown only as a figure (nr)
↑\uparrow
✓
SecCode (Liu et al., 2024c)
2024
8
L
Score-based “encouragement” prompts drive repeated vulnerability detection and fixing, cross-checked with CodeQL.
SEC
Fix success rate after ten iterations, LEval, GPT-3.5: CoT 0.64 →\to 0.96
↑\uparrow
–
RefleXGen (Wang et al., 2025a)
2025
7
L
Self-reflection on code security; reflections and secure snippets accumulate in a knowledge base retrieved for later tasks.
SEC
CodeQL security rate, SVEN scenarios, GPT-3.5 Turbo: base 75.5 →\to 89.1
mixed
–
GRASP (Patir et al., 2025)
2025
4
L
Revises a seed solution by traversing a dependency graph (DAG) of the relevant secure coding practices.
SEC
CodeQL security rate, 37 Python scenarios, GPT-4o: PromSec 0.52 →\to 0.79
mixed
–
Safety Sidecar (Wang et al., 2026a)
2026
1
R
A lightweight self-check routes risky code to a reflective prompt fed by a memory of past secure repairs.
SEC
CodeQL security rate, SVEN scenarios, GPT-4o: base agent 85.7 →\to 95.0
mixed
–
Multi-agent pipelines
Table S34. Highlighted multi-agent techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SecAwareCoder (Wang et al., 2026e)
2026
54
L
Task-adaptive threat modeling yields vulnerability hypotheses that guide constraint-aware generation and security-test synthesis; execution feedback drives repair.
SEC
S-Pass@1, CodeSecEval, GPT-5: CoT 27.45 →\to 34.90
↑\uparrow
✓
FlowGen (Lin et al., 2025b)
2025
51
L
Agents in requirement-engineer, architect, developer, tester and scrum-master roles emulate Waterfall, TDD or Scrum, with self-refinement.
R/M
Pylint error-smell density, GPT-3.5: 81.8% to 96.0% lower than RawGPT
↑\uparrow
✓
INDICT (Le et al., 2024b)
2024
4
L
A safety critic and a helpfulness critic, grounded in web search and code execution, give preemptive and post-hoc feedback to the coder.
SEC
Safety, CyberSecEval-1 split, GPT-4o-mini: direct 78.2 →\to 90.9
nr
✓
ContextEvolve (Su et al., 2026)
2026
2
R
Summarizer, Navigator and Sampler agents compress evolutionary-search context into semantic state, optimization direction and retrieved exemplars.
EFF
ADRS combined score vs. top baseline: 6.5% higher on average
↔\leftrightarrow
✓
Just-in-time remediation (P1) (Surikov, 2026)
2026
0
R
A validator LLM reviews generated code; its findings, enriched with ATT&CK techniques, CWE examples and best practices, drive remediation.
SEC
CodeQL+Bandit findings per sample, four Claude models pooled: initial 1.34 →\to 0.78
nr
✓
LessonL (Liu et al., 2025c)
2025
0
R
Agents solicit lessons from each other’s successes and failures, bank them, and select relevant lessons for later rounds.
EFF
Geometric-mean speedup, ParEval serial: Reflexion (Qwen14B) 1.88 →\to 2.16
↑\uparrow
✓
MARCO (Rahman et al., 2025)
2025
3
R
An optimizer agent and a performance-evaluator agent iterate in a feedback loop; web search supplies recent optimization techniques.
EFF
Mean runtime (ms), LeetCode 75: Claude 3.5 Sonnet 57.5 →\to 49.1
nr
–
C3 (Gu et al., 2026)
2026
0
R
Adds auction-based role allocation (CAB) and opponent-aware decentralized competition (DCC) to a collaborative development pipeline.
R/M
Human maintainability rating, extended SoftwareDev, GPT-4o: MetaGPT 3.6 →\to 3.8
↑\uparrow
–
MaintainCoder (Wang et al., 2025c)
2025
18
L
Requirements-analysis, design-pattern-selection, framework-design and framework-evaluation agents produce an architectural blueprint; a coding agent and an execution-driven optimizer then write and refine the code.
R/M
Post-modification Pass@5 (code changed for new requirements), APPS-Dyn, DeepSeek-V3: plain 59.5 →\to 62.5
↑\uparrow
✓
ACCLAIM (Mikek et al., 2026)
2026
3
L
A guiding agent interleaves LLVM front-, middle- and back-end passes with LLM rewriting agents at source, IR and assembly level under one call budget; a test-generating agent checks every candidate.
EFF
Geometric-mean speedup over clang -O3, Claude 3.7 Sonnet, 100 CodeNet C programs, equal budget: source-only agent 1.18×\times →\to 1.25×\times
nr
✓
Retrieval
Table S35. Reported effects of further retrieval-augmented methods on quality and correctness, as reported by the original authors; settings differ, so values are not directly comparable.
Method
Retrieved unit
Models; benchmark
Target-dimension effect
COR effect
SecCoder (Zhang et al., 2024a)
Secure demonstrations
CodeGen, SantaCoder, InCoder; CodeQL
SEC ↑\uparrow 7.20% avg. on unseen cases
↔\leftrightarrow “almost the same”
RESCUE (Shi and Zhang, 2026)
Distilled guidelines, sliced examples
6 LLMs; 4 benchmarks
SEC ↑\uparrow SecurePass@1 4.8 points
↔\leftrightarrow comparable
SEEK (Gadey et al., 2026)
CWE-graph fix instances
5 open LLMs; CodeGuard+
SEC SecurePass@1 77.45%
in SecurePass@1
SOSecure (Mukherjee and Hellendoorn, 2026)
Stack Overflow critiques (post-draft)
GPT-4; LLMSecEval
SEC fix rate 91.3% vs. 56.5%
nr
A3-CodGen (Liao et al., 2024)
Local functions
GPT-3.5; 13,784 PyPI functions
R/M reuse F1 0.589 (vanilla 0)
nr
Table S36. Highlighted retrieval techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
PIE dynamic retrieval (Shypula et al., 2024)
2024
171
L
Retrieves the slow–fast program pairs most similar to the input and uses them as few-shot examples for optimization.
EFF
Speedup (Best@8), PIE, CodeLlama 34B: CoT 1.30×\times →\to 2.28×\times
mixed
✓
LAIL (Li et al., 2025c)
2025
92
L
Labels candidate examples by how much they raise the LLM’s likelihood of the reference program; trains a contrastive retriever on these labels.
R/M
Human code-quality score: best example selector 1.738 →\to 1.839
↑\uparrow
–
KPC (Ren et al., 2023)
2023
50
L
Builds an exception-handling knowledge base from Java API documentation; chained prompts check generated code for unhandled exceptions and rewrite it.
R/M
Good exception-handling practice (manual review), GPT-3.5: direct 14.58% →\to 98.86%
↑\uparrow
✓
RAPGen (Garg et al., 2025)
2025
36
L
Retrieves an instruction from a knowledge base of past performance-bug fixes and builds a zero-shot fix prompt from it.
EFF
Expert-judged closest-match top-100 accuracy, C# fixes, GPT-3.5: reasoning prompt 43.2 →\to 60.6
nr
–
CodeGuarder (Lin et al., 2025a)
2025
30
L
Decomposes the query into sub-tasks, retrieves root causes and secure samples, re-ranks by model susceptibility, injects them into the prompt.
SEC
Security rate, CyberSecEval, average over LLMs: RACG without security knowledge 60.84 →\to 73.08
↑\uparrow
–
RAS (Anupam et al., 2026)
2026
6
R
Beam search over candidate optimizations; slow–fast exemplars are retrieved by an LLM-written natural-language description of the program.
EFF
Average speedup, PIE, Qwen3-Coder: dynamic retrieval 4.23×\times →\to 8.70×\times
↑\uparrow
✓
SemOpt (Zhao et al., 2026b)
2026
6
R
Builds a strategy library from optimization commits; LLM-written Semgrep rules locate applicable code; the LLM applies the matched strategy.
EFF
Equivalence to developer patch (manual), C/C++, DeepSeek-V3: BM25 RAG 23.80% →\to 42.38%
nr
✓
AutoPatch (Seo et al., 2025)
2025
7
R
Matches generated code to post-cutoff CVEs in a retrieval database, verifies the vulnerability, and patches with the retrieved CVE context.
SEC
Patch accuracy, authors’ CVE dataset: VSP 55.56% →\to 94.12% (GPT-4o)
nr
✓
PEACE (Ren et al., 2025)
2025
11
R
Optimizes functions in dependency order, guided by filtered historical edits; a fine-tuned optimizer also uses similar internal and external fast implementations.
EFF
Opt rate (%, CPU instructions vs. GPT-4o prompting), PeacExec: SBLLM +28.5 →\to +46.9
↑\uparrow
✓
MA-CoT (Kharma et al., 2026b)
2026
2
R
Classifies the task into security domains with an LLM, retrieves matching CWE mitigation strategies from a knowledge base, and builds them into the prompt.
SEC
Total security findings (SonarQube, expert-validated), authors’ primary dataset, three LLMs: Vanilla 92 →\to 39
nr
–
Decoding
Table S37. Further decoding-time results (highlighted techniques are in Table S38).
Values as reported by the authors; settings differ, so values are not directly comparable.
Method
Dim.
Setting (model; benchmark; metric)
Reported
Type-constrained (Mündler et al., 2025)
COR
2B–34B; HumanEval (TypeScript); compiler-error reduction
74.8%
MRepE (Gao et al., 2026)
R/M
DeepSeek-R1 14B; MBPP; correctness loss
0.79%
CodeT (Chen et al., 2023)
COR
code-davinci-002; HumanEval; pass@1
65.8%
S* (Li et al., 2025a)
COR
R1-Distill-Qwen-32B; LiveCodeBench; accuracy
85.7%
Table S38. Highlighted decoding and selection techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
PG-TD, length reward (Zhang et al., 2023b)
2023
272
L
Tree search during decoding; replacing the test reward with a length penalty or comment reward controls code style.
R/M
code length, APPS: default reward 248.42 →\to length penalty 190.73
↔\leftrightarrow
✓
Constrained beam sampling (Fu et al., 2024)
2024
61
L
Beam sampling with hand-written positive and negative key-phrase constraints per prompt, enforcing secure API patterns.
SEC
secure-pass@1, CodeGen-2.7B, CodeGuard+: beam 33.77 →\to 51.25
mixed
✓
RPG (Dong et al., 2025b)
2025
15
L
A grammar-based pushdown automaton detects structural repetition during decoding and decays the likelihood of tokens causing it.
R/M
TR-S (lower is better), real-world repos: greedy 0.631, repetition penalty 0.358, RPG 0.335
↑\uparrow
✓
Surprisal-guided selection (Barnes, 2026)
2026
1
R
Among correct samples, keeps the one with the highest surprisal (lowest model confidence) instead of the most confident.
EFF
fast and correct, GPT-OSS-120B, KernelBench L1 subset: most confident 50% →\to 80%
nr
–
DuoSteer (Yan and Yao, 2026)
2026
0
R
Adds safety and correctness steering vectors at causally identified attention heads during inference.
SEC
vulnerability rate, Llama-3.1-8B-Instruct, five CWEs: average change −-26.9% vs. unsteered
↑\uparrow
✓
FunPRM (Zhang et al., 2026)
2026
4
R
Prompts for code written function by function, treats each function as a step, and selects best-of-NN with a meta-corrected process reward model.
R/M
readability preference, Qwen2.5-7B-Coder, correct pairs: base 45.8 vs. FunPRM 54.2
↑\uparrow
–
SCS-Code (Wendlinger et al., 2026)
2026
1
R
Adds a difference-in-means secure-code concept vector to the residual stream at inference.
SEC
sec-pass@1, DeepSeek-Coder-V2-Lite, CodeGuard+: unsteered 52.8 →\to 60.3
mixed
✓
MoC (Yu et al., 2025)
2025
6
L
Per-CWE linear probes on hidden states flag a vulnerable state; only then a decaying mix of per-CWE correction vectors is added to the hidden state.
SEC
Security ratio (CodeQL), SVEN test set, Qwen2.5-Coder-7B: base 76.8 →\to 85.7 (learned dynamic corrections)
↑\uparrow
✓
SecCodePRM (Yu et al., 2026b)
2026
1
R
A process reward model, trained on step-level labels derived from vulnerability-fix diffs, scores each code step; best-of-NN keeps the candidate with the highest risk-weighted security reward.
SEC
func-sec@1, CWEval, QC3-30B generator, best of 20: probability ranking 41.64 →\to 54.62 (QwenPRM 47.90)
↑\uparrow
✓
RobGen (Li et al., 2025h)
2025
8
L
A small classifier predicts whether the next line should open an if guard; when if is among the three most likely tokens, a logits processor raises its logit.
SEC
Outputs judged less robust than the reference (GPT-4o), CoderEval Java, DeepSeekCoder-1.3B: greedy 42.2% →\to 28.7% (lower is better)
↑\uparrow
✓
Training
Table S39. Reported effects of further training-time techniques; the highlighted ones are in Table S40 (signal source in parentheses; PO = preference optimization; awith two-step generation; bas stated by the authors). Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Method
Signal
Base model
Target effect
COR effect
HexaCoder
SFT (CodeQL)
four LLMs
SEC ↑\uparrow up to 85% fewer vulnerablea (3 benchmarks)
↔\leftrightarrowb
ProSec
PO (CWE tasks)
several code LLMs
SEC ↑\uparrow 25.2%–35.4% vs. SafeCoder data (PurpleLlama)
↔\leftrightarrowb
PurpCode
SFT+RL
Qwen2.5-32B
SEC ↑\uparrow 12% over next best (CyberSecEval)
↔\leftrightarrowb
SecCoderX
RL (learned RM)
CodeLlama-7B, Qwen2.5-Coder
SEC×\timesCOR ↑\uparrow ESR about 10%
in ESR
PIE
SFT (gem5)
GPT-3.5
EFF ↑\uparrow 6.86 speedup, best of 8 (PIE)
filtered
EffiCoder
SFT (profiler)
Qwen2.5-Coder-7B-Instr.
EFF ↑\uparrow time 48.4% lower (EffiBench)
44.8%→\to57.7%
ACECode
RL (execution)
four code LLMs
EFF ↑\uparrow faster in 65%–72%
1.84%–14.51% ↑\uparrow
Afterburner
RL (sandbox)
Qwen2.5-3B
EFF ↑\uparrow beats humans 31%→\to45% (Venus)
47%→\to62%
SuperCoder
RL (speedup)
Qwen2.5-Coder-7B-Instr.
EFF ↑\uparrow 1.10x→\to1.46x vs. -O3
61.4%→\to95.0%
RLPF
RL (runtime)
Qwen3-32B
EFF ↑\uparrow 8.1%→\to38.6% rel. efficiency (PerfCodeBench)
11.1%→\to54.6%
Table S40. Highlighted training techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SVEN (He and Vechev, 2023)
2023
337
L
Learns property-specific prefixes with region-specific losses on vulnerability-fix diffs; LM weights unchanged.
SEC
Secure rate, CodeGen-2.7B: original LM 59.1% →\to 92.3%
mixed
✓
SafeCoder (He et al., 2024)
2024
110
L
Joint standard and security instruction tuning; masked likelihood on secure code, masked unlikelihood on vulnerable code.
SEC
Code security, StarCoder-1B: standard instr. tuning 62.9 →\to 92.1
↔\leftrightarrow
✓
CodeUltraFeedback (Weyssow et al., 2026)
2026
81
L
GPT-3.5 judge rates responses of many LLMs on five coding preferences; SFT then DPO on the ratings.
R/M, EFF (judged)
Judge score, complexity/efficiency, CodeLlama-7B-Instr.: base 6.16 →\to 7.89
↑\uparrow
✓
CodeDPO (Zhang et al., 2025a)
2025
63
L
Ranks self-generated code and tests by PageRank-style mutual validation, adds fastest-versus-slowest pairs, trains with DPO.
EFF
Mean time (s), HumanEval+, commonly solved: before 0.250 →\to 0.172
↑\uparrow
✓
Afterburner (Du et al., 2025)
2025
20
R
GRPO with execution-time rewards inside an iterative optimization loop that feeds back measured performance.
EFF
Beyond-I, Venus, Qwen2.5-3B: 31% →\to 45%
↑\uparrow
✓
PurpCode (Liu et al., 2025a)
2025
23
R
Rule-learning SFT on safety rules, then GRPO with multi-objective rewards from code analyzers, tests and a learned verifier.
SEC
Secure code, CodeLMSec, Qwen2.5-32B: base 29.2 →\to 94.8
↔\leftrightarrow
✓
SmellCC data (Xue et al., 2026b)
2026
9
R
Removes code smells from the fine-tuning corpus by LLM-based refactoring before training.
R/M
SonarQube smells, DeepSeek-V1: 61.0% fewer than fine-tuning on the original data
↑\uparrow
✓
SecCoderX (Wu et al., 2026a)
2026
5
R
Online GRPO against a CWE-conditioned reasoning vulnerability reward model, with rewards that preserve functionality.
SEC
Safety rate vs. the unaligned model: 11%–16% gain
mixed
✓
REAL (Yao et al., 2025)
2025
12
R
RL whose reward combines program-analysis detection of security or maintainability issues with unit-test results.
SEC, R/M
Quality, SecCodePLT+, Qwen2.5-Coder-7B: SFT 0.5122 →\to 0.8293
↑\uparrow
✓
MPCoder (Dai et al., 2024)
2024
33
L
Learns Checkstyle style attributes through residual prompts, per-user style vectors, and a contrastively trained multi-user style adapter gated into the output distribution.
R/M
Coding Style Score (similarity to the user’s own Java style), CodeLlama-7B-Instr., PCISparse: base 46.29 →\to 66.18 (single-user L-LDB 61.09)
mixed
✓
S19. The model landscape: sampling, reasoning, cutoffs and vendor reports
S19.1. Overview of the 2025–2026 models
Most techniques in §§– of the main article were evaluated on now-superseded models. Table S9 (§S7.3) lists frontier closed and major open-weight and code-specialized models released January 2025 to October 2026, under vendor names, with vendor-reported coding scores, architecture and training cutoffs; the Supplementary Material (§S5) lists every release with its month and source. The experiments (§) use a fixed subset.
S19.1.1. Frontier and open-weight models
Frontier closed models.
Frontier vendors now ship tiered flagships every few months. Anthropic’s fifth generation adds a top tier, Claude Fable, alongside Claude Mythos variants whose most sensitive capabilities go to vetted users via a trusted access program (Anthropic, 2026h); current models are Claude Fable 5.1, Opus 5.5, Sonnet 5.5 and Haiku 5.5 (Anthropic, 2026f). OpenAI moved to three tiers per generation: GPT-5.6 Sol, Terra and Luna (OpenAI, 2026g), then GPT-6 Astra, Sol and Luna (OpenAI, 2026i). Google’s Gemini 2.5 and Gemini 4 Argon are sparse mixture-of-experts (MoE) models (Comanici et al., 2025; Google DeepMind, 2026d), and xAI’s recent cards name the vendor SpaceXAI, “a doing-business-as (DBA) name of XAI LLC” (SpaceXAI, 2026b).
Open-weight and code models.
The largest open-weight models are MoEs from DeepSeek, Qwen, Z.ai, Moonshot, MiniMax and Xiaomi, up to 2.4T total and 95B active parameters for Qwen3.8 (Qwen Team, 2026e). Western releases are mostly smaller (gpt-oss, Gemma, Llama 4, Olmo, Muse Glimmer), except NVIDIA’s Nemotron 3 Ultra and Mistral Large 4 (weights announced, not yet released). Technical reports describe DeepSeek-R1 (DeepSeek-AI et al., 2025a), Kimi k1.5, K2 and K2.5 (Team et al., 2025c; Team et al., 2025b; Team et al., 2026b), MiniMax-M1 (MiniMax et al., 2025a), Magistral (Mistral-AI et al., 2025), OLMo 2 (OLMo et al., 2024), Llama-Nemotron (Bercovich et al., 2025), and Gemma 3 and Gemma 4 (Team et al., 2025a; Team et al., 2026a), the latter pairing dense and MoE variants; Ai2’s Olmo 3 also releases its training data (Olmo et al., 2025). Code-specialized releases include Meta’s CWM (FAIR CodeGen team et al., 2025), Qwen3-Coder and Qwen3-Coder-Next (Qwen Team, 2025d; Cao et al., 2026), Mistral’s Devstral (Mistral AI, 2025c) and Ai2’s SERA coding agents (Shen et al., 2026b).
Benchmarks.
Vendor benchmarks changed as fast as the models. By September 2026 the top SWE-bench Verified entry on the vals.ai leaderboard (grey literature) reached 97.00% (Vals AI, 2026), and OpenAI “stopped reporting SWE-bench Verified scores” in February 2026 (OpenAI, 2026m). Recent cards report SWE-bench Pro (a public set plus held-out and proprietary commercial repository sets) (Deng et al., 2026b), Terminal-Bench 2.0 to 4.0 (Merrill et al., 2026) and DeepSWE. On Terminal-Bench 2.1, open models report 90.6% (DeepSeek-V4.1-Flash, above Claude Opus 5 at 89.1%) (DeepSeek-AI, 2026d), 88.3 (Kimi K3) (Moonshot AI, 2026c) and 88.2 (GLM-5.3) (Z.ai, 2026g), against 88.8% for GPT-5.6 Sol (OpenAI, 2026g). Harnesses differ, so the numbers are not comparable, but open weights, required for decoding- and training-time techniques (§, §), no longer trail far on correctness.
How vendors moved away from user-controlled sampling, what reasoning models change for code quality, the training cutoffs that define our contamination windows, and what vendors themselves report about code quality are detailed in the following subsections.
S19.2. The Retreat From Sampling Control
From Claude Opus 4.7 onward, non-default temperature, top_p or top_k values on Anthropic’s models “return a 400 error on every request, regardless of whether thinking is used”; older models restrict them only with thinking on (Anthropic, 2026i). OpenAI’s GPT-6 guide says to drop temperature and top_p unless reasoning effort is none (OpenAI, 2026l). Google recommended Gemini 3’s default temperature of 1.0 (Google, 2026a), and for Gemini 4 Argon sampling parameters “are ignored” (Google, 2026f). xAI’s reasoning models cannot turn reasoning off and reject penalty and stop parameters (SpaceXAI, 2026c). Only an effort level remains. Greedy decoding and temperature sweeps, the usual pass@kk setting in the surveyed papers, are not reproducible on these APIs; variance must come from repeated samples at a recorded effort, and logit-level techniques (§) need open weights.
S19.3. Reasoning Models and Code Quality
Most flagships since mid-2025 are reasoning models with adjustable effort. Vendors report effort’s effect on correctness and cost, not quality; independent evidence covers only security. On CWEval, o4-mini produced secure code more often than the non-reasoning Claude 3.7 Sonnet, yet a non-reasoning model in an agentic workflow matched it (Saul et al., 2025). SecPI reports that “even state-of-the-art RLMs frequently introduce critical security vulnerabilities” and that generic security reminders “consistently degrade functional correctness” (Wang et al., 2026d). We found no study of reasoning effort’s effect on readability, maintainability or efficiency. Hidden reasoning also complicates compute fairness: an added critique step competes with the model’s own deliberation (§).
S19.4. Training Cutoffs and Contamination Windows
Stated cutoffs range from June 2024 for gpt-oss (OpenAI et al., 2025) and GPT-4.1 (OpenAI, 2025h), and August 2024 for Llama 4 and Gemma 3 (Meta, 2025; Google DeepMind, 2025a), to Jun 2026 for Anthropic’s current models (Anthropic, 2026f) and June 2026 pretraining for Grok 4.7 (SpaceXAI, 2026a). Two details widen these windows. Some vendors date data separately: Nemotron 3 Ultra’s pre-training data runs to September 2025 and its post-training data to May 2026 (NVIDIA, 2026f), and Grok 4.6 used “data generated as late as June 2026 in its supplemental training” (SpaceXAI, 2026b). And DeepSeek, Qwen, Z.ai and Moonshot state no cutoff in the sources we examined, so date splits for them must first probe the cutoff; open training data, as in Olmo 3 (Olmo et al., 2025), permits a direct audit. Memorization of older benchmarks is documented: from issue text alone, models find the buggy file of a SWE-bench Verified issue with “up to 76% accuracy”, against “up to 53%” on other repositories (Liang et al., 2026), and agents degrade without familiar repository cues (Chen et al., 2026d). Date-tagged benchmarks allow evaluation “only on time-windows after the model’s cutoff date” (Jain et al., 2025), but with frontier cutoffs in mid-2026 such windows hold only months of tasks. See § for benchmark choice under this constraint; § reports contaminated and post-cutoff splits separately.
S19.5. What Vendors Report About Code Quality
The NF column of Table S9 is mostly nr. On security, Qwen reports SecCodeBench and CWEval (Cao et al., 2026; Qwen Team, 2026b), Meta CyberSecEval insecure-code tests (Meta, 2026f), and xAI an internal eval, SecureCodeReview (SpaceXAI, 2026b). On efficiency, MiniMax reports SWE-Perf, SWE-fficiency and KernelBench Hard (MiniMax, 2025b; MiniMax, 2026a). Closest to maintainability is FrontierCode, which “measures whether AI-generated pull requests would be mergeable by open-source maintainers, measuring behavioral correctness, regression safety, scope discipline, style, and adherence to codebase conventions” (SpaceXAI, 2026b); Google, OpenAI and Anthropic also report it (Google DeepMind, 2026b; OpenAI, 2026i; Anthropic, 2026d), but since it includes correctness it does not isolate R/M. Mistral adds a blind human rating of “coding quality” (Mistral AI, 2026b), and OpenAI an extraneous-edit rate (OpenAI, 2025h). No vendor reports complexity, code smells or lint violations, and system-card cyber-security sections measure offensive capability, not ordinary generated code’s security. Independently, a SonarQube analysis of 4,442 Java assignments found “no direct correlation” between pass@1 and “the overall quality and security” of the generated code (Sabra et al., 2025).
S20. Related surveys and publication trends
Table S41. Existing secondary studies compared with this review. Dims: quality dimensions treated as
a focus (R/M, EFF, SEC); “–” means none. Exp.: whether the study runs its own
experiments. Years and study counts as stated by each survey (nr: not stated). Values as
reported by the original authors; settings differ across rows, so values are not directly
comparable.
Study
Scope
Dims
Technique coverage
Exp.
Years
Studies
Hou et al. (2024)
LLMs for software engineering
–
Model use, data, tuning, evaluation by task
no
2017–2024
395
Jiang et al. (2026)
LLM code generation
–
Data, training, prompting, retrieval, agents
no
nr
235
Dong et al. (2025a)
LLM-based code generation agents
–
Single- and multi-agent architectures
no
2022–2025
nr
Yang et al. (2024c)
Non-functional properties of code models
SEC; efficiency of models, not code
Evaluation and enhancement methods per property
no
nr
146
Kamoi et al. (2024)
Self-correction of LLMs (all tasks)
–
Intrinsic and external feedback, fine-tuning
no
nr
nr
Chochlov et al. (2026)
Secondary studies of LLM code generation (tertiary)
–
Effects, scenarios, integration challenges
no
2017–2025
30
Tony et al. (2025)
Prompting for secure code
SEC
Prompting only
yes
from 2018
13
Basic and Giaretta (2024)
LLMs in code security
SEC
Prompting; vulnerability detection and repair
no
to early 2026
102
Patir et al. (2026)
Secure code generation (SoK)
SEC
Prompting, fine-tuning, RL, agentic workflows
yes
2021–2026
nr
Matias et al. (2026)
Maintainability and evolvability
R/M
Mitigation strategies
no
2020–2024
87
Ehsani et al. (2026b)
Technical debt (multivocal)
R/M
Mitigation strategies, metrics, tools
no
to 2026
104
Alomari et al. (2026)
LLMs to enhance code quality
R/M
Refactoring, smell detection; prompting, fine-tuning
no
to 2024
49
Gong et al. (2025b)
LM-based code optimization
EFF
Code optimization techniques
no
nr
53
Ali et al. (2026)
Energy efficiency of LLM-generated code
EFF
Prompting and fine-tuning strategies
no
nr
18
He et al. (2026b)
Training-data causes of code quality issues
R/M, EFF, SEC
Detection and mitigation across data, model and generation
no
2021–2026
114
Sun et al. (2026)
Non-functional quality of generated code (ISO/IEC 25010)
R/M, EFF, SEC
Prompting and feedback strategies
small
2022–2025
109
This review
Techniques that improve LLM code quality
R/M, EFF, SEC (COR as control)
Seven families, faceted by stage and signal source
yes
2021–2026
628
Figure S1. Left: included studies per year by technique family (2026 covers January to mid-October). Right: benchmarks used by included studies per year (top 12). Counts from LLM-assisted extraction reviewed by the author.Two stacked bar charts by year: included studies per technique family, and the twelve most used benchmarks.
References
Abtahi and Azim (2025)
Seyed Moein Abtahi and Akramul Azim.
Augmenting Large Language Models with Static Code Analysis for
Automated Code Quality Improvements.
In 2025 IEEE/ACM Second International Conference on AI
Foundation Models and Software Engineering (Forge), pages 82–92, 2025.
doi: 10.1109/forge66646.2025.00017.
Acharya et al. (2025)
Manish Acharya, Yifan Zhang, Kevin Leach, and Yu Huang.
Optimizing Code Runtime Performance Through Context-Aware
Retrieval-Augmented Generation.
In 2025 IEEE/ACM 33rd International Conference on Program
Comprehension (ICPC), pages 1–5, 2025.
doi: 10.1109/icpc66645.2025.00028.
Agentica and
AI (2025a)
Agentica and Together AI.
DeepCoder: A Fully Open-Source 14B Coder at O3-mini Level.
Vendor documentation, 2025a.
URL https://www.together.ai/blog/deepcoder.
Agentica and AI (2025b)
Agentica and Together AI.
DeepSWE: Training a Fully Open-sourced, State-of-the-Art Coding
Agent by Scaling RL.
Vendor documentation, 2025b.
URL https://www.together.ai/blog/deepswe.
Agyekum and Santos (2026)
Benjamin Agyekum and Fabio Santos.
Does Fixing Break Security? An Empirical Study of Security
Degradation in Iterative LLM-Driven Infrastructure-as-Code Repair.
arXiv preprint arXiv:2608.13404, 2026.
arXiv:2608.13404.
Ai2 (2025a)
Ai2.
allenai/OLMo-2-0425-1B.
Vendor documentation, 2025a.
URL https://huggingface.co/allenai/OLMo-2-0425-1B.
Ai2 (2025b)
Ai2.
Olmo 3: Charting a path through the model flow to lead open-source
AI.
Vendor documentation, 2025b.
URL https://allenai.org/blog/olmo3.
Ai2 (2025c)
Ai2.
OLMo 2 32B: First fully open model to outperform GPT 3.5 and GPT 4o
mini.
Vendor documentation, 2025c.
URL https://allenai.org/blog/olmo2-32B.
Ai2 (2025d)
Ai2.
OLMoE, meet iOS.
Vendor documentation, 2025d.
URL https://allenai.org/blog/olmoe-app.
Ai2 (2025e)
Ai2.
Scaling the Tülu 3 post-training recipes to surpass the performance
of DeepSeek V3.
Vendor documentation, 2025e.
URL https://allenai.org/blog/tulu-3-405b.
Ai2 (2026a)
Ai2.
allenai/SERA-14B.
Vendor documentation, 2026a.
URL https://huggingface.co/allenai/SERA-14B.
Ai2 (2026b)
Ai2.
allenai/SERA-32B.
Vendor documentation, 2026b.
URL https://huggingface.co/allenai/SERA-32B.
Ai2 (2026c)
Ai2.
Introducing Olmo Hybrid: Combining transformers and linear RNNs for
superior scaling.
Vendor documentation, 2026c.
URL https://allenai.org/blog/olmohybrid.
Ai2 (2026d)
Ai2.
Open Coding Agents: Fast, accessible coding agents that adapt to any
repo.
Vendor documentation, 2026d.
URL https://allenai.org/blog/open-coding-agents.
Akli et al. (2026)
Amal Akli, Mike Papadakis, Maxime Cordy, and Yves Le Traon.
When Prompt Under-Specification Improves Code Correctness: An
Exploratory Study of Prompt Wording and Structure Effects on LLM-Based Code
Generation.
arXiv preprint arXiv:2604.24712, 2026.
arXiv:2604.24712.
Ali et al. (2026)
Sabiya Banu Masthan Ali, Syed Muhammad Danish, Aroosa Hameed, Oussema Kirmani,
and Gautam Srivastava.
Energy-Efficient Code Generation Using Large Language Models: A
Systematic Literature Review.
arXiv preprint arXiv:2603.00989, 2026.
arXiv:2603.00989.
Alibaba Cloud (2026)
Alibaba Cloud.
Model lifecycle and updates.
Vendor documentation, 2026.
URL
https://www.alibabacloud.com/help/en/model-studio/newly-released-models.
All Hands AI (2025)
All Hands AI.
Introducing OpenHands LM 32B – A Strong, Open Coding Agent Model.
Vendor documentation, 2025.
URL
https://www.openhands.dev/blog/introducing-openhands-lm-32b----a-strong-open-coding-agent-model.
Alomari et al. (2026)
Nawaf Alomari, Moussa Redah, Ahmad Ashraf, and Mohammad Alshayeb.
Using LLMs to enhance code quality: A systematic literature review.
Information and Software Technology, 190:107960,
2026.
doi: 10.1016/j.infsof.2025.107960.
Alrashedy et al. (2023)
Kamel Alrashedy, Abdullah Aljasser, Pradyumna Tambwekar, and Matthew Gombolay.
Can LLMs Patch Security Issues?
arXiv preprint arXiv:2312.00024, 2023.
arXiv:2312.00024.
Amazon (2025a)
Amazon.
Amazon Nova Premier, our most capable model for complex tasks and
teacher for model distillation.
Vendor documentation, 2025a.
URL
https://aws.amazon.com/about-aws/whats-new/2025/04/amazon-nova-premier-complex-tasks-model-distillation/.
Amazon (2025b)
Amazon.
Announcing Amazon Nova 2 foundation models now available in Amazon
Bedrock.
Vendor documentation, 2025b.
URL
https://aws.amazon.com/about-aws/whats-new/2025/12/nova-2-foundation-models-amazon-bedrock/.
Anthropic (2025a)
Anthropic.
Claude Sonnet 4.5.
Vendor documentation, 2025a.
URL
https://platform.claude.com/docs/en/models/sonnet-4-5/overview.md.
Anthropic (2025b)
Anthropic.
Introducing Claude Sonnet 4.5.
Vendor documentation, 2025b.
URL https://www.anthropic.com/news/claude-sonnet-4-5.
Anthropic (2026a)
Anthropic.
Claude Fable 5.
Vendor documentation, 2026a.
URL
https://platform.claude.com/docs/en/models/fable-5/overview.md.
Anthropic (2026b)
Anthropic.
Claude Platform release notes.
Vendor documentation, 2026b.
URL
https://platform.claude.com/docs/en/release-notes/overview.md.
Anthropic (2026c)
Anthropic.
Claude Haiku 5.5.
Vendor documentation, 2026c.
URL
https://platform.claude.com/docs/en/models/haiku-5-5/overview.md.
Anthropic (2026d)
Anthropic.
Introducing Claude Opus 5.5.
Vendor documentation, 2026d.
URL https://www.anthropic.com/claude-opus-5-5.
Anthropic (2026e)
Anthropic.
Model deprecations.
Vendor documentation, 2026e.
URL
https://platform.claude.com/docs/en/about-claude/model-deprecations.md.
Anthropic (2026f)
Anthropic.
Models overview.
Vendor documentation, 2026f.
URL
https://platform.claude.com/docs/en/about-claude/models/overview.md.
Anthropic (2026g)
Anthropic.
Project Glasswing: Securing critical software for the AI era.
Vendor documentation, 2026g.
URL https://www.anthropic.com/glasswing.
Anthropic (2026h)
Anthropic.
System Card: Claude Fable 5 & Claude Mythos 5.
Vendor documentation, 2026h.
URL
https://www-cdn.anthropic.com/57a52ea7d8f0e54e8a542e908266086df425cdf5/Claude%20Fable%205%20&%20Claude%20Mythos%205%20System%20Card.pdf.
Anthropic (2026i)
Anthropic.
Thinking.
Vendor documentation, 2026i.
URL
https://platform.claude.com/docs/en/build-with-claude/thinking.md.
Anupam et al. (2026)
Sagnik Anupam, Alexander Shypula, and Osbert Bastani.
LLM Program Optimization via Retrieval Augmented Search.
In Findings of the Association for Computational Linguistics:
ACL 2026, pages 42170–42186, 2026.
doi: 10.18653/v1/2026.findings-acl.2092.
Apsan et al. (2026)
Radu Apsan, Vincenzo Stoico, Michel Albonico, Rudra Dhar, Karthik
Vaidhyanathan, and Ivano Malavolta.
Generating Energy-Efficient Code via Large-Language Models - Where
are we now?
In Proceedings of the 2026 IEEE/ACM 48th International
Conference on Software Engineering, pages 426–439, 2026.
doi: 10.1145/3744916.3764522.
Arcee AI (2025a)
Arcee AI.
Arcee Debuts Trinity Mini, Expanding Its U.S.-Built Model Line.
Vendor documentation, 2025a.
URL https://www.arcee.ai/blog/the-trinity-manifesto.
Arcee AI (2025b)
Arcee AI.
Deep Dive: AFM-4.5B, the First Arcee Foundation Model.
Vendor documentation, 2025b.
URL
https://www.arcee.ai/blog/deep-dive-afm-4-5b-the-first-arcee-foundational-model.
Arcee AI (2026a)
Arcee AI.
Trinity Large: An Open 400B Sparse MoE Model.
Vendor documentation, 2026a.
URL https://www.arcee.ai/blog/trinity-large.
Arcee AI (2026b)
Arcee AI.
Trinity-Large-Thinking: Scaling an Open Source Frontier Agent.
Vendor documentation, 2026b.
URL https://www.arcee.ai/blog/trinity-large-thinking.
Arimbur (2026)
Johin Johny Arimbur.
How Many Tries Does It Take? Iterative Self-Repair in LLM Code
Generation Across Model Scales and Benchmarks.
arXiv preprint arXiv:2604.10508, 2026.
arXiv:2604.10508.
Asare et al. (2023)
Owura Asare, Meiyappan Nagappan, and N. Asokan.
Is GitHub’s Copilot as bad as humans at introducing
vulnerabilities in code?
Empirical Software Engineering, 28(6):129,
2023.
doi: 10.1007/s10664-023-10380-1.
Ashrafi (2026)
Nazmus Ashrafi.
How Generation Architecture Shapes Code Complexity in Multi-Agent
LLM Systems: A Paired Study on HumanEval.
arXiv preprint arXiv:2606.00308, 2026.
arXiv:2606.00308.
Austin et al. (2021)
Jacob Austin, Augustus Odena, Maxwell Nye, et al.
Program Synthesis with Large Language Models.
arXiv preprint arXiv:2108.07732, 2021.
arXiv:2108.07732.
Badertdinov et al. (2025)
Ibragim Badertdinov, Alexander Golubev, Maksim Nekrashevich, Anton Shevtsov,
Simon Karasik, Andrei Andriushchenko, Maria Trofimova, Daria Litvintseva, and
Boris Yangel.
SWE-rebench: An Automated Pipeline for Task Collection and
Decontaminated Evaluation of Software Engineering Agents.
arXiv preprint arXiv:2505.20411, 2025.
URL https://arxiv.org/abs/2505.20411.
Baidu (2025a)
Baidu.
Announcing the Open Source Release of the ERNIE 4.5 Model Family.
Vendor documentation, 2025a.
URL https://ernie.baidu.com/blog/posts/ernie4.5/.
Baidu (2025b)
Baidu.
Baidu Unveils ERNIE 4.5 and Reasoning Model ERNIE X1, Makes ERNIE
Bot Free Ahead of Schedule.
Vendor documentation, 2025b.
URL
https://www.prnewswire.com/news-releases/baidu-unveils-ernie-4-5-and-reasoning-model-ernie-x1--makes-ernie-bot-free-ahead-of-schedule-302402490.html.
Baidu (2025c)
Baidu.
Baidu Launches ERNIE 4.5 Turbo, ERNIE X1 Turbo and New Suite of AI
Tools to Empower Developers and Supercharge AI Innovation.
Vendor documentation, 2025c.
URL
https://www.prnewswire.com/news-releases/baidu-launches-ernie-4-5-turbo-ernie-x1-turbo-and-new-suite-of-ai-tools-to-empower-developers-and-supercharge-ai-innovation-302438584.html.
Baidu (2025d)
Baidu.
Baidu Unveils Reasoning Model ERNIE X1.1 with Upgrades in Key
Capabilities.
Vendor documentation, 2025d.
URL
https://www.prnewswire.com/news-releases/baidu-unveils-reasoning-model-ernie-x1-1-with-upgrades-in-key-capabilities-302551170.html.
Baidu (2025e)
Baidu.
Baidu Unveils ERNIE 5.0 and a Series of AI Applications at Baidu
World 2025, Ramps Up Global Push.
Vendor documentation, 2025e.
URL
https://www.prnewswire.com/news-releases/baidu-unveils-ernie-5-0-and-a-series-of-ai-applications-at-baidu-world-2025--ramps-up-global-push-302614531.html.
Baidu (2026)
Baidu.
ERNIE 5.1 Officially Released! Topping Multiple Leaderboards — A
Model That Writes Better and Understands You More.
Vendor documentation, 2026.
URL https://ernie.baidu.com/blog/posts/ernie-5.1-0508-release/.
Baker et al. (2025)
Bowen Baker, Joost Huizinga, Leo Gao, et al.
Monitoring Reasoning Models for Misbehavior and the Risks of
Promoting Obfuscation.
arXiv preprint arXiv:2503.11926, 2025.
arXiv:2503.11926.
Barnes (2026)
Jarrod Barnes.
Surprisal-Guided Selection: Compute-Optimal Test-Time Strategies for
Execution-Grounded Code Generation.
arXiv preprint arXiv:2602.07670, 2026.
arXiv:2602.07670.
Baronio et al. (2025)
Carlo Baronio, Pietro Marsella, Ben Pan, Simon Guo, and Silas Alberti.
Kevin: Multi-Turn RL for Generating CUDA Kernels.
arXiv preprint arXiv:2507.11948, 2025.
URL https://arxiv.org/abs/2507.11948.
Basic and Giaretta (2024)
Enna Basic and Alberto Giaretta.
From Vulnerabilities to Remediation: A Systematic Literature Review
of LLMs in Code Security.
arXiv preprint arXiv:2412.15004, 2024.
arXiv:2412.15004.
Bercovich et al. (2025)
Akhiad Bercovich, Itay Levy, Izik Golan, et al.
Llama-Nemotron: Efficient Reasoning Models.
arXiv preprint arXiv:2505.00949, 2025.
arXiv:2505.00949.
Bhatt et al. (2023)
Manish Bhatt, Sahana Chennabasappa, Cyrus Nikolaidis, et al.
Purple Llama CyberSecEval: A Secure Coding Benchmark for Language
Models.
arXiv preprint arXiv:2312.04724, 2023.
arXiv:2312.04724.
Bi et al. (2024)
Zhangqian Bi, Yao Wan, Zheng Wang, et al.
Iterative Refinement of Project-Level Code Context for Precise Code
Generation with Compiler Feedback.
In Findings of the Association for Computational Linguistics
ACL 2024, pages 2336–2353, 2024.
doi: 10.18653/v1/2024.findings-acl.138.
Blyth et al. (2025)
Scott Blyth, Sherlock A. Licorish, Christoph Treude, and Markus Wagner.
Static Analysis as a Feedback Loop: Enhancing LLM-Generated Code
Beyond Correctness.
In 2025 IEEE International Conference on Source Code Analysis
& Manipulation (SCAM), pages 100–109, 2025.
doi: 10.1109/scam67354.2025.00017.
Bohr (2025)
Jeremiah Bohr.
Show and Tell: Prompt Strategies for Style Control in Multi-Turn LLM
Code Generation.
arXiv preprint arXiv:2511.13972, 2025.
arXiv:2511.13972.
Borra et al. (2026)
Ajay Krishna Borra, Wenzhuo Yang, Samarth Arora, et al.
CodeEvolve: LLM-Driven Evolutionary Optimization with
Runtime-Enriched Target Selection for Multi-Language Code Enhancement.
arXiv preprint arXiv:2605.04677, 2026.
arXiv:2605.04677.
Bruni et al. (2025)
Marc Bruni, Fabio Gabrielli, Mohammad Ghafari, and Martin Kropp.
Benchmarking Prompt Engineering Techniques for Secure Code
Generation with GPT Models.
In 2025 IEEE/ACM Second International Conference on AI
Foundation Models and Software Engineering (Forge), pages 93–103, 2025.
doi: 10.1109/forge66646.2025.00018.
Cao et al. (2026)
Ruisheng Cao, Mouxiang Chen, Jiawei Chen, et al.
Qwen3-Coder-Next Technical Report.
arXiv preprint arXiv:2603.00729, 2026.
arXiv:2603.00729.
Cemri et al. (2025)
Mert Cemri, Melissa Z Pan, Shuyi Yang, et al.
Why Do Multi-Agent LLM Systems Fail?
In Advances in Neural Information Processing Systems 38, pages
135676–135729, 2025.
doi: 10.52202/085713-4082.
Chambon et al. (2025)
Pierre Chambon, Baptiste Roziere, Benoit Sagot, and Gabriel Synnaeve.
BigO(Bench): Can LLMs Generate Code with Controlled Time and Space
Complexity?
arXiv preprint arXiv:2503.15242, 2025.
arXiv:2503.15242.
Chambon et al. (2026)
Pierre Chambon, Kunhao Zheng, Juliette Decugis, Benoit Sagot, and Gabriel
Synnaeve.
Reinforcement Learning for Code Optimization.
arXiv preprint arXiv:2607.25970, 2026.
URL https://arxiv.org/abs/2607.25970.
Chan et al. (2023)
Aaron Chan, Anant Kharkar, Roshanak Zilouchian Moghaddam, et al.
Transformer-based Vulnerability Detection in Code at EditTime:
Zero-shot, Few-shot, or Fine-tuning?
arXiv preprint arXiv:2306.01754, 2023.
arXiv:2306.01754.
Chen et al. (2023)
Bei Chen, Fengji Zhang, Anh Nguyen, et al.
CodeT: Code Generation with Generated Tests.
In International Conference on Learning Representations
(ICLR), 2023.
URL https://openreview.net/forum?id=9Daa29sl1u.
Chen et al. (2026a)
Jialong Chen, Xander Xu, Hu Wei, Chuan Chen, and Bing Zhao.
SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via
Continuous Integration.
arXiv preprint arXiv:2603.03823, 2026a.
URL https://arxiv.org/abs/2603.03823.
Chen et al. (2026b)
Junkai Chen, Huihui Huang, Yunbo Lyu, et al.
SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via
Reconstructing Vulnerability-Introducing Scenarios.
In Proceedings of the 64th Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers), pages 24144–24168,
2026b.
doi: 10.18653/v1/2026.acl-long.1107.
Chen et al. (2024a)
Lichang Chen, Chen Zhu, Davit Soselia, et al.
ODIN: Disentangled Reward Mitigates Hacking in RLHF.
In Proceedings of the International Conference on Machine
Learning (ICML), 2024a.
URL https://openreview.net/forum?id=45FuR901Di.
Chen et al. (2026c)
Longfei Chen, Ji Zhao, Lanxiao Cui, et al.
SecCodeBench-V2 Technical Report.
arXiv preprint arXiv:2602.15485, 2026c.
arXiv:2602.15485.
Chen et al. (2026d)
Silin Chen, Yufei Yang, Xiaodong Gu, Yuling Shi, Chengcheng Wan, and Haibing
Guan.
Schrödinger’s Code Repository: Have LLMs Learned SWE-bench or
Memorized It?
arXiv preprint arXiv:2609.27891, 2026d.
arXiv:2609.27891.
Chen et al. (2025a)
Xiancai Chen, Zhengwei Tao, Kechi Zhang, et al.
Revisit Self-Debugging with Self-Generated Tests for Code
Generation.
In Proceedings of the 63rd Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers), pages 18003–18023,
2025a.
doi: 10.18653/v1/2025.acl-long.881.
Chen et al. (2024b)
Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou.
Teaching Large Language Models to Self-Debug.
In International Conference on Learning Representations
(ICLR), 2024b.
URL https://openreview.net/forum?id=4XG42MJmTp.
Chen et al. (2025b)
Yang Chen, Zhuolin Yang, Zihan Liu, et al.
AceReason-Nemotron: Advancing Math and Code Reasoning through
Reinforcement Learning.
In Advances in Neural Information Processing Systems 38, pages
122305–122330, 2025b.
doi: 10.52202/085713-3685.
Chen et al. (2026e)
Yi Chen, Yun Bian, Haiquan Wang, Shihao Li, and Zhe Cui.
SCAFFOLD-CEGIS: Preventing Latent Security Degradation in LLM-Driven
Iterative Code Refinement.
In 2026 9th International Conference on Artificial Intelligence
and Big Data (ICAIBD), pages 477–483, 2026e.
doi: 10.1109/icaibd69640.2026.11637170.
Chochlov et al. (2026)
Muslim Chochlov, Michael English, and Jim Buckley.
A Tertiary Review of Large Language Model-Based Code Generating
Tasks: Trends, Challenges, and Future Directions.
arXiv preprint arXiv:2605.25536, 2026.
arXiv:2605.25536.
Codefuse et al. (2025)
Codefuse, Ling Team, :, et al.
Every Sample Matters: Leveraging Mixture-of-Experts and High-Quality
Data for Efficient and Accurate Code LLM.
arXiv preprint arXiv:2503.17793, 2025.
arXiv:2503.17793.
Cognition (2025)
Cognition.
Introducing SWE-1.5: Our Fast Agent Model.
Vendor documentation, 2025.
URL https://cognition.com/blog/swe-1-5.
Cognition (2026)
Cognition.
Devin Desktop changelog.
Vendor documentation, 2026.
URL https://docs.devin.ai/desktop/changelog.
Cognition (2026)
Cognition.
FrontierCode: leaderboard and benchmark description.
https://cognition.com/frontiercode, 2026.
Cognition (2026a)
Cognition.
Introducing SWE 1.6: Improving Model UX.
Vendor documentation, 2026a.
URL https://cognition.com/blog/swe-1-6.
Cognition (2026b)
Cognition.
Introducing SWE-2: Pushing the Pareto Frontier.
Vendor documentation, 2026b.
URL https://cognition.com/blog/swe-2.
Cognition (2026c)
Cognition.
SWE-1.7: Frontier Intelligence at a Fraction of the Cost.
Vendor documentation, 2026c.
URL https://cognition.com/blog/swe-1-7.
Cohere (2025a)
Cohere.
Announcing Command A.
Vendor documentation, 2025a.
URL https://docs.cohere.com/changelog/command-a.
Cohere (2025b)
Cohere.
Announcing Cohere’s Command A Reasoning Model.
Vendor documentation, 2025b.
URL
https://docs.cohere.com/changelog/2025-08-21-command-a-reasoning.
Cohere (2025c)
Cohere.
CohereLabs/c4ai-command-a-03-2025.
Vendor documentation, 2025c.
URL https://huggingface.co/CohereLabs/c4ai-command-a-03-2025.
Cohere (2025d)
Cohere.
CohereLabs/command-a-reasoning-08-2025.
Vendor documentation, 2025d.
URL
https://huggingface.co/CohereLabs/command-a-reasoning-08-2025.
Cohere (2026a)
Cohere.
Announcing Cohere’s Command A+.
Vendor documentation, 2026a.
URL https://docs.cohere.com/changelog/command-a-plus-05-2026.
Cohere (2026b)
Cohere.
Announcing Cohere’s North Mini Code.
Vendor documentation, 2026b.
URL https://docs.cohere.com/changelog/north-mini-code-1-0.
Comanici et al. (2025)
Gheorghe Comanici, Eric Bieber, Mike Schaekermann, et al.
Gemini 2.5: Pushing the Frontier with Advanced Reasoning,
Multimodality, Long Context, and Next Generation Agentic Capabilities.
arXiv preprint arXiv:2507.06261, 2025.
arXiv:2507.06261.
Cursor (2025)
Cursor.
Composer: Building a fast frontier model with RL.
Vendor documentation, 2025.
URL https://cursor.com/blog/composer.
Cursor (2026a)
Cursor.
Composer 2.5.
Vendor documentation, 2026a.
URL https://cursor.com/changelog/composer-2-5.
Cursor (2026b)
Cursor.
Introducing Composer 1.5.
Vendor documentation, 2026b.
URL https://cursor.com/blog/composer-1-5.
Cursor (2026c)
Cursor.
Introducing Composer 2.
Vendor documentation, 2026c.
URL https://cursor.com/blog/composer-2.
Cynthia et al. (2026)
Shamse Tasnim Cynthia, Al Muttakin, and Banani Roy.
Beyond Bug Fixes: An Empirical Investigation of Post-Merge Code
Quality Issues in Agent-Generated Pull Requests.
In Proceedings of the 23rd International Conference on Mining
Software Repositories, pages 989–993, 2026.
doi: 10.1145/3793302.3793615.
Dai et al. (2026a)
Shih-Chieh Dai, Jun Xu, and Guanhong Tao.
Rethinking the Evaluation of Secure Code Generation.
In Proceedings of the 2026 IEEE/ACM 48th International
Conference on Software Engineering, pages 336–348, 2026a.
doi: 10.1145/3744916.3773217.
Dai et al. (2026b)
Weinan Dai, Hanlin Wu, Qiying Yu, Huan ang Gao, Jiahao Li, Chengquan Jiang,
Weiqiang Lou, Yufan Song, Hongli Yu, Jiaze Chen, Wei-Ying Ma, Ya-Qin Zhang,
Jingjing Liu, Mingxuan Wang, Xin Liu, and Hao Zhou.
CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel
Generation.
arXiv preprint arXiv:2602.24286, 2026b.
URL https://arxiv.org/abs/2602.24286.
Dai et al. (2024)
Zhenlong Dai, Chang Yao, Wenkang Han, et al.
MPCoder: Multi-user Personalized Code Generator with Explicit and
Implicit Style Representation Learning.
arXiv preprint arXiv:2406.17255, 2024.
URL https://arxiv.org/abs/2406.17255.
arXiv:2406.17255.
Datta et al. (2025)
Arup Datta, Ahmed Aljohani, and Hyunsook Do.
Secure Code Generation at Scale with Reflexion.
In 2025 2nd IEEE/ACM International Conference on AI-powered
Software (AIware), pages 01–09, 2025.
doi: 10.1109/aiware69974.2025.00038.
DeepSeek (2026)
DeepSeek.
Change Log.
Vendor documentation, 2026.
URL https://api-docs.deepseek.com/updates.
DeepSeek-AI (2025a)
DeepSeek-AI.
deepseek-ai/DeepSeek-R1-0528.
Vendor documentation, 2025a.
URL https://huggingface.co/deepseek-ai/DeepSeek-R1-0528.
DeepSeek-AI (2025b)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3-0324.
Vendor documentation, 2025b.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3-0324.
DeepSeek-AI (2025c)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.1.
Vendor documentation, 2025c.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.1.
DeepSeek-AI (2025d)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.1-Terminus.
Vendor documentation, 2025d.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.1-Terminus.
DeepSeek-AI (2025e)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.2.
Vendor documentation, 2025e.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2.
DeepSeek-AI (2025f)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.2-Exp.
Vendor documentation, 2025f.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Exp.
DeepSeek-AI (2025g)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.2-Speciale.
Vendor documentation, 2025g.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Speciale.
DeepSeek-AI (2026a)
DeepSeek-AI.
deepseek-ai/DeepSeek-V4-Flash-0731.
Vendor documentation, 2026a.
URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731.
DeepSeek-AI (2026b)
DeepSeek-AI.
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp.
Vendor documentation, 2026b.
URL
https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Vision-Exp.
DeepSeek-AI (2026c)
DeepSeek-AI.
deepseek-ai/DeepSeek-V4-Pro-0813.
Vendor documentation, 2026c.
URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-0813.
DeepSeek-AI (2026d)
DeepSeek-AI.
DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression.
Vendor documentation, 2026d.
URL
https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/resolve/main/DeepSeek_V41_Tech_Report.pdf.
DeepSeek-AI et al. (2025a)
DeepSeek-AI, Daya Guo, Dejian Yang, et al.
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via
Reinforcement Learning.
arXiv preprint arXiv:2501.12948, 2025a.
arXiv:2501.12948.
DeepSeek-AI et al. (2025b)
DeepSeek-AI, Aixin Liu, Aoxue Mei, et al.
DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models.
arXiv preprint arXiv:2512.02556, 2025b.
arXiv:2512.02556.
DeepSeek-AI et al. (2026)
DeepSeek-AI, Anyi Xu, Bangcai Lin, et al.
DeepSeek-V4: Towards Highly Efficient Million-Token Context
Intelligence.
arXiv preprint arXiv:2606.19348, 2026.
arXiv:2606.19348.
Deng et al. (2026a)
Ryan Deng, Yuanzhe Liu, Bastian Lipka, et al.
PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level
Code Optimization.
arXiv preprint arXiv:2607.19653, 2026a.
arXiv:2607.19653.
Deng et al. (2026b)
Xiang Deng, Jeff Da, Edwin Pan, et al.
SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering
Tasks?
In Proceedings of the International Conference on Machine
Learning (ICML), 2026b.
URL https://openreview.net/forum?id=uEVTdoAbnK.
Dolcetti et al. (2026)
Greta Dolcetti, Vincenzo Arceri, Eleonora Iotti, Sergio Maffeis, Agostino
Cortesi, and Enea Zaffanella.
Helping LLMs improve code generation using feedback from testing and
static analysis.
Discover Artificial Intelligence, 6(1):314, 2026.
doi: 10.1007/s44163-026-01009-5.
Dong et al. (2024)
Yihong Dong, Xue Jiang, Zhi Jin, and Ge Li.
Self-Collaboration Code Generation via ChatGPT.
ACM Transactions on Software Engineering and Methodology,
33(7):1–38, 2024.
doi: 10.1145/3672459.
Dong et al. (2025a)
Yihong Dong, Xue Jiang, Jiaru Qian, et al.
A Survey on Code Generation with LLM-based Agents.
arXiv preprint arXiv:2508.00083, 2025a.
arXiv:2508.00083.
Dong et al. (2025b)
Yihong Dong, Yuchen Liu, Xue Jiang, Bin Gu, Zhi Jin, and Ge Li.
Rethinking Repetition Problems of LLMs in Code Generation.
In Proceedings of the 63rd Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers), pages 965–985,
2025b.
doi: 10.18653/v1/2025.acl-long.48.
Du et al. (2024)
Mingzhe Du, Luu Tuan, Bin Ji, Qian Liu, and See-Kiong Ng.
Mercury: A Code Efficiency Benchmark for Code Large Language
Models.
In Advances in Neural Information Processing Systems 37, pages
16601–16622, 2024.
doi: 10.52202/079017-0529.
Du et al. (2025)
Mingzhe Du, Anh Tuan Luu, Yue Liu, et al.
Afterburner: Reinforcement Learning Facilitates Self-Improving Code
Efficiency Optimization.
In Advances in Neural Information Processing Systems 38, pages
9944–9976, 2025.
doi: 10.52202/085713-0304.
Ehrlich et al. (2025)
Ryan Ehrlich, Bradley Brown, Jordan Juravsky, Ronald Clark, Christopher Ré,
and Azalia Mirhoseini.
CodeMonkeys: Scaling Test-Time Compute for Software Engineering.
arXiv preprint arXiv:2501.14723, 2025.
arXiv:2501.14723.
Ehsani et al. (2026a)
Ramtin Ehsani, Sakshi Pathak, Shriya Rawal, Abdullah Al Mujahid, Mia Mohammad
Imran, and Preetha Chatterjee.
Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic
Pull Requests in GitHub.
In Proceedings of the 23rd International Conference on Mining
Software Repositories, pages 807–811, 2026a.
doi: 10.1145/3793302.3793579.
Ehsani et al. (2026b)
Ramtin Ehsani, Shriya Rawal, Yuanfang Cai, and Preetha Chatterjee.
Faster Code, Deeper Debt? A Multivocal Literature Review on
Technical Debt and Its Early Signs in LLM-Assisted Software Development.
ACM Transactions on Software Engineering and Methodology, page
3820165, 2026b.
doi: 10.1145/3820165.
Face (2025)
Hugging Face.
SmolLM3: smol, multilingual, long-context reasoner.
Vendor documentation, 2025.
URL https://huggingface.co/blog/smollm3.
FAIR CodeGen team et al. (2025)
FAIR CodeGen team, Jade Copet, Quentin Carbonneaux, et al.
CWM: An Open-Weights LLM for Research on Code Generation with World
Models.
arXiv preprint arXiv:2510.02387, 2025.
arXiv:2510.02387.
Fu et al. (2024)
Yanjun Fu, Ethan Baker, Yu Ding, and Yizheng Chen.
Constrained Decoding for Secure Code Generation.
arXiv preprint arXiv:2405.00218, 2024.
arXiv:2405.00218.
Fu et al. (2025)
Yujia Fu, Peng Liang, Amjed Tahir, et al.
Security Weaknesses of Copilot-Generated Code in GitHub Projects: An
Empirical Study.
ACM Transactions on Software Engineering and Methodology,
34(8):1–34, 2025.
doi: 10.1145/3716848.
Fujii et al. (2026)
Kazuki Fujii, Yukito Tajima, Sakae Mizuki, et al.
Rewriting Pre-Training Data Boosts LLM Performance in Math and
Code.
In International Conference on Learning Representations
(ICLR), 2026.
URL https://openreview.net/forum?id=45btPYgSSX.
Gadey et al. (2026)
Varun Gadey, Markus Tohn, Lichao Wu, Ahmad-Reza Sadeghi, and Alexandra
Dmitrienko.
SEEK: Agentic Knowledge Graph Retrieval for Secure Code Generation.
arXiv preprint arXiv:2610.14968, 2026.
arXiv:2610.14968.
Gajjar et al. (2025)
Jugal Gajjar, Kamalasankari Subramaniakuppusamy, Relsy Puthal, and Kaustik
Ranaware.
SecureFixAgent: A Hybrid LLM Agent for Automated Python Static
Vulnerability Repair.
In 2025 International Conference on Machine Learning and
Applications (ICMLA), pages 1390–1395, 2025.
doi: 10.1109/icmla66185.2025.00212.
Gao et al. (2026)
Huifan Gao, Liuhua He, Yinghui Pan, et al.
Towards the Readability of LLM-Generated Codes through Multitask
Representation Engineering.
arXiv preprint arXiv:2606.06214, 2026.
arXiv:2606.06214.
Gao et al. (2025a)
Mingyan Gao, Yanzi Li, Banruo Liu, et al.
Single-agent or Multi-agent Systems? Why Not Both?
arXiv preprint arXiv:2505.18286, 2025a.
arXiv:2505.18286.
Gao et al. (2025b)
Shuzheng Gao, Cuiyun Gao, Wenchao Gu, and Michael R. Lyu.
Search-Based LLMs for Code Optimization.
In 2025 IEEE/ACM 47th International Conference on Software
Engineering (ICSE), pages 578–590, 2025b.
doi: 10.1109/icse55347.2025.00021.
Garg et al. (2025)
Spandan Garg, Roshanak Zilouchian Moghaddam, and Neel Sundaresan.
RAPGen: An Approach for Fixing Code Inefficiencies in Zero-Shot.
In 2025 IEEE/ACM 47th International Conference on Software
Engineering: Software Engineering in Practice (ICSE-SEIP), pages 124–135,
2025.
doi: 10.1109/icse-seip66354.2025.00017.
GitClear (2025)
GitClear.
AI Copilot Code Quality: 2025 Look Back at 12 Months of Data.
Vendor documentation, 2025.
URL
https://www.gitclear.com/ai_assistant_code_quality_2025_research.
GitHub (2026)
GitHub.
MAI-Code-1.1-Flash available in GitHub Copilot.
Vendor documentation, 2026.
URL
https://github.blog/changelog/2026-08-11-mai-code-1-1-flash-available-in-github-copilot/.
GLM-4.5 Team et al. (2025)
GLM-4.5 Team, :, Aohan Zeng, et al.
GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models.
arXiv preprint arXiv:2508.06471, 2025.
arXiv:2508.06471.
GLM-5-Team et al. (2026)
GLM-5-Team, :, Aohan Zeng, et al.
GLM-5: from Vibe Coding to Agentic Engineering.
arXiv preprint arXiv:2602.15763, 2026.
arXiv:2602.15763.
Gong et al. (2025a)
Jingzhi Gong, Rafail Giavrimis, Paul Brookes, et al.
Tuning LLM-based Code Optimization via Meta-Prompting: An Industrial
Perspective.
In 2025 40th IEEE/ACM International Conference on Automated
Software Engineering (ASE), pages 3569–3580, 2025a.
doi: 10.1109/ase63991.2025.00295.
Gong et al. (2025b)
Jingzhi Gong, Vardan Voskanyan, Paul Brookes, et al.
Language Models for Code Optimization: Survey, Challenges and Future
Directions.
arXiv preprint arXiv:2501.01277, 2025b.
arXiv:2501.01277.
Google (2025a)
Google.
Gemini 2.5: Deep Think is now rolling out.
Vendor documentation, 2025a.
URL https://blog.google/products/gemini/gemini-2-5-deep-think/.
Google (2025b)
Google.
Gemini 3 Deep Think is now available.
Vendor documentation, 2025b.
URL https://blog.google/products/gemini/gemini-3-deep-think/.
Google (2026a)
Google.
Gemini 3 developer guide.
Vendor documentation, 2026a.
URL https://ai.google.dev/gemini-api/docs/gemini-3.
Google (2026b)
Google.
Gemma releases.
Vendor documentation, 2026b.
URL https://ai.google.dev/gemma/docs/releases.
Google (2026c)
Google.
google/diffusiongemma-26B-A4B-it.
Vendor documentation, 2026c.
URL https://huggingface.co/google/diffusiongemma-26B-A4B-it.
Google (2026d)
Google.
Introducing DiffusionGemma.
Vendor documentation, 2026d.
URL
https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-generation/.
Google (2026e)
Google.
Release notes.
Vendor documentation, 2026e.
URL https://ai.google.dev/gemini-api/docs/changelog.
Google (2026f)
Google.
What’s new in Gemini 4 Argon.
Vendor documentation, 2026f.
URL https://ai.google.dev/gemini-api/docs/latest-model.
Google DeepMind (2025a)
Google DeepMind.
Gemma 3 model card.
Vendor documentation, 2025a.
URL https://ai.google.dev/gemma/docs/core/model_card_3.
Google DeepMind (2025b)
Google DeepMind.
Gemma 3n model card.
Vendor documentation, 2025b.
URL https://ai.google.dev/gemma/docs/gemma-3n/model_card.
Google DeepMind (2026a)
Google DeepMind.
Gemini 3.1 Pro - Model Card.
Vendor documentation, 2026a.
URL https://deepmind.google/models/model-cards/gemini-3-1-pro/.
Google DeepMind (2026b)
Google DeepMind.
Gemini 3.7 Flash - Model Card.
Vendor documentation, 2026b.
URL
https://deepmind.google/models/model-cards/gemini-3-7-flash/.
Google DeepMind (2026c)
Google DeepMind.
Gemini 3.8 Flash - Model Card.
Vendor documentation, 2026c.
URL
https://deepmind.google/models/model-cards/gemini-3-8-flash/.
Google DeepMind (2026d)
Google DeepMind.
Gemini 4 Argon - Model Card.
Vendor documentation, 2026d.
URL https://deepmind.google/models/model-cards/gemini-4-argon/.
Google DeepMind (2026e)
Google DeepMind.
Gemma 4 model card.
Vendor documentation, 2026e.
URL https://ai.google.dev/gemma/docs/core/model_card_4.
Gou et al. (2024)
Zhibin Gou, Zhihong Shao, Yeyun Gong, et al.
CRITIC: Large Language Models Can Self-Correct with Tool-Interactive
Critiquing.
In International Conference on Learning Representations
(ICLR), 2024.
URL https://openreview.net/forum?id=vCQaGYDckV.
Grubisic et al. (2024)
Dejan Grubisic, Chris Cummins, Volker Seeker, and Hugh Leather.
Priority Sampling of Large Language Models for Compilers.
arXiv preprint arXiv:2402.18734, 2024.
URL https://arxiv.org/abs/2402.18734.
Gu et al. (2026)
Shanzhi Gu, Mingyang Geng, Yihong Dong, et al.
Mitigating Collaboration Degeneration in Multi-Agent Code Generation
via a Controllable Competitive Collaboration Approach.
In Proceedings of the Thirty-Fifth International Joint
Conference on Artificial Intelligence, pages 127–135, 2026.
doi: 10.24963/ijcai.2026/15.
Gunasekar et al. (2023)
Suriya Gunasekar, Yi Zhang, Jyoti Aneja, et al.
Textbooks Are All You Need.
arXiv preprint arXiv:2306.11644, 2023.
arXiv:2306.11644.
Gunnu et al. (2025)
Sravani Gunnu, Shanmukha Gutt
采集信息与校验
完整来源元数据
{
  "authors": [
    "Kadam, Prashank"
  ],
  "content_level": "full_text_segment",
  "date_basis": "explicit_published",
  "date_evidence": {
    "published": "2026-10-28T22:02:40Z",
    "updated": "2026-10-28T22:02:40Z"
  },
  "fallback_pdf_url": "https://arxiv.org/pdf/2610.38977v1",
  "html_coordinate_space": "complete_deterministic_HTML_text_conversion",
  "html_group_id": "HTML-29b6bac047286ef64b35437e9637e4e9bec3af8b852f0c60c7e7878008c58cfb",
  "html_head_external_id": "arxiv:2610.38977",
  "html_original_title": "Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code",
  "html_segment_count": 7,
  "html_segment_index": 6,
  "html_text_end": 599994,
  "html_text_sha256": "1a56e9b6c7bc3f56d533af2a379f110d322367b5e5c93c6f97162067b2979f9c",
  "html_text_start": 499994,
  "html_total_chars": 692207,
  "identifiers": [
    "arxiv:2610.38977"
  ],
  "landing_page": "https://arxiv.org/abs/2610.38977v1",
  "rolling_atom_sha256": "3c34ba1af117a58a9031246c2b6b44b80d6d418f3244338eac2d87c4fab1d876",
  "source_updated_at": "2026-10-28T22:02:40+00:00",
  "version_label": "v1"
}
{
  "format": "source_html",
  "source_fields": {
    "authors": [
      "Kadam, Prashank"
    ],
    "content_level": "full_text_segment",
    "date_basis": "explicit_published",
    "field_evidence": {},
    "html_text_end": 599994,
    "html_text_start": 499994,
    "identifiers": [
      "arxiv:2610.38977"
    ],
    "mapping_version": 1,
    "published_at": "2026-10-28T22:02:40Z",
    "source_format": "a_622f2d2c978f798f_html",
    "source_key": "a-622f2d2c978f798f",
    "source_updated_at": "2026-10-28T22:02:40Z",
    "title": "Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code",
    "unknown_fields": [],
    "url": "https://arxiv.org/html/2610.38977v1"
  },
  "source_format": "a_622f2d2c978f798f_html"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-11-05 09:46 UTC2026-10-28 22:02 UTC59693cbe15004ce0a1c3204542b43c077947fc8e830f96c78596e28d4f2afa92
可引用分片 · 85 段

CHK-8cf8786267c5b93cef44fa1a

y (§); A3-CodGen counts calls to existing functions, not whether code is better.
S17.6. Decoding
Constrained decoding and steering.
Synchromesh enforces syntax, scope and typing on partial programs in three domain-specific languages
(Poesia et al., 2022); type-constrained decoding extends this well-formedness target to
TypeScript, more than halving compilation errors (Mündler et al., 2025). For R/M,
PG-TD swaps its test reward for a length or comment reward (Zhang et al., 2023b) and RPG penalizes
structural repetition (Dong et al., 2025b). For SEC, constrained beam sampling writes
constraints for each of the 91 CodeGuard+ prompts from the CWE it might trigger
(Fu et al., 2024); co-decoding replaces the rules with a small security model
(Hu et al., 2026a); and 2026 steering methods (SCS-Code, DuoSteer)
use the target’s own activations. MRepE, the only R/M steering method we found, combines
comment-density, naming and cyclomatic-complexity vectors while bounding correctness loss
(Gao et al., 2026, preprint). Sandoval et al. (2026) trace insecure generation to one late
layer; per-vulnerability steering vectors “reduce insecure generation by up to 74%” across
five models.
Sample-and-select.
MBR-exec keeps the candidate whose execution results agree most with the others
(Shi et al., 2022); CodeT adds model-generated tests (Chen et al., 2023); Coder-Reviewer rescores

CHK-e673a25df47cd806c2491144

 candidate whose execution results agree most with the others
(Shi et al., 2022); CodeT adds model-generated tests (Chen et al., 2023); Coder-Reviewer rescores
by instruction likelihood because likelihood-only reranking is “prone
to preferring degenerate solutions” (Zhang et al., 2023c); LEVER learns a verifier over program
and execution result (Ni et al., 2023). Without execution feedback, a code process reward model
is no better than a random reward in best-of-NN (Li et al., 2025d); FunPRM meta-learns
step-reward corrections from unit-test outcomes (Zhang et al., 2026). Quality-aware
selection needs a quality preference model: CodeFavor learns pairwise preferences from commits and
critiques, improving preference accuracy for correctness, efficiency
and security “by up to 28.8%” (Liu et al., 2024a); Priority Sampling, a deterministic
confidence-ordered search over unique samples, raises a compiler model’s code-size gain over
-Oz “from 2.87% to 5%” (Grubisic et al., 2024). Test-time scaling adds
sequential revision to execution-grounded selection (Li et al., 2025a); CodeMonkeys selects among
repository edits with model-generated tests (Ehrlich et al., 2025). The
quality-verifier gap is now partly closed: SecCodePRM (ICML 2026), a step-level security reward
model trained on analyzer labels, outranks probability ranking for best-of-NN on CWEval
(Yu et al., 2026b).

CHK-ed51bef7ef9d2812f9e9c5e6

SecCodePRM (ICML 2026), a step-level security reward
model trained on analyzer labels, outranks probability ranking for best-of-NN on CWEval
(Yu et al., 2026b). For EFF, surprisal-guided selection is a preprint
(Barnes, 2026, preprint) and PIE’s Best@kk (fastest program passing all tests in
a simulator) an oracle bound (Shypula et al., 2024). We found no peer-reviewed R/M or
EFF selector, and none reranking by static maintainability scores or profiled instruction counts.
Highlighted techniques.
Table S38 lists the highlighted techniques (selection rule in
§). MoC trains per-CWE linear probes on a code model’s hidden states and, only when a probe flags a vulnerable state, adds a decaying mix of correction vectors, raising Qwen2.5-Coder-7B’s CodeQL security ratio on the SVEN test set from 76.8 to 85.7 with HumanEval pass@1 79.9 →\to 81.2 (Yu et al., 2025). RobGen uses a small classifier to predict whether the next line should open an if guard and, when if is among the three most likely tokens, raises its logit, cutting the share of DeepSeekCoder-1.3B’s CoderEval Java outputs that GPT-4o judges less robust than the reference from 42.2% to 28.7% with Pass@1 slightly higher (Li et al., 2025h).
Caveats.
Correctness effects are mixed. PG-TD’s length penalty slightly lowers the public-test pass rate
(23.14 to 22.82); constrained beam sampling lowers Llama3-8B pass@1 from 82.20 to

CHK-573c59cb39893fdfa5fcaf8a

s are mixed. PG-TD’s length penalty slightly lowers the public-test pass rate
(23.14 to 22.82); constrained beam sampling lowers Llama3-8B pass@1 from 82.20 to
72.21, and an independent study found, and repaired by script before testing, indentation issues
in most CodeGuard+ outputs for CodeLlama and Mistral (Dai et al., 2026a); SCS-Code lowers
CodeLlama pass@1 from 68.1 to 65.7, whereas DuoSteer reports an average correctness change
of +7.5%. RPG improves on repetition penalty, which also cuts repetition but lowers HumanEval
pass@1 to 0.092 (greedy: 0.301; RPG: 0.325). Evidence is thin for several recent
rows: surprisal selection rests on 10 task–seed pairs
(sign test p=0.125p=0.125); FunPRM targets correctness, and its readability gain comes from three
raters on 100 pairs, read off a figure; DuoSteer reports both a test-swept and a held-out
configuration protocol.
Effects on correctness and non-targeted dimensions.
Correctness selectors measure no other dimension. With the QC3-30B generator, SecCodePRM raises func@1 by 11.09 points alongside
security (Yu et al., 2026b). The ICSE 2026 re-evaluation finds CodeGuard+’s security gains
limited or negative on Mistral and notes the original never measured the indentation defect above
(Dai et al., 2026a); its implementation also returns no code without its constraints
(Wendlinger et al., 2026).

CHK-7b4be116042549e672997fbb

inal never measured the indentation defect above
(Dai et al., 2026a); its implementation also returns no code without its constraints
(Wendlinger et al., 2026). No steering study we found measures SEC after R/M
steering or the reverse.
Compute fairness.
Selectors compared at equal NN are budget-matched; comparisons with one greedy sample are not. CodeT
samples 100 test generations per HumanEval problem (Chen et al., 2023); CodeMonkeys spends
approximately 2300 USD and resolves 57.4% of issues from a pool whose oracle coverage is
69.8% (Ehrlich et al., 2025); type constraints add 39.1% average HumanEval
runtime (Mündler et al., 2025). Surprisal selection is free only because every compared
strategy already tests all samples (Barnes, 2026). Best-of-nn at equal verifier
and call budget is thus the baseline for iterative methods
(§–§), as in §.
Limitations.
Logit- and activation-level methods need white-box access (surprisal selection needs sequence
log-probabilities); of the highlighted techniques only FunPRM does not. The ICSE 2026 study could not
run three of four security techniques on commercial models (Dai et al., 2026a), and none applies
to the frontier APIs of §. Per-prompt CWE constraints do not transfer to unseen
tasks, and CodeQL labels miss vulnerabilities (Dai et al., 2026a).
S17.7. Training
Data curation and supervised fine-tuning.

CHK-1a7893c0d6c6ac3f4648c2b6

straints do not transfer to unseen
tasks, and CodeQL labels miss vulnerabilities (Dai et al., 2026a).
S17.7. Training
Data curation and supervised fine-tuning.
phi-1 filtered web code with a classifier trained on GPT-4 “educational value” ratings of about 100k files, added GPT-3.5-generated textbooks, and reached 50.6% HumanEval pass@1 at 1.3B (Gunasekar et al., 2023). Open pipelines followed: The Stack v2 removes low-quality files heuristically (Lozhkov et al., 2024); OpenCoder applies over 130 language-specific rules and reports that filtering by GitHub stars reduced diversity and worsened the model (Huang et al., 2025b); Seed-Coder distills an LLM oracle’s readability, modularity, clarity and reusability scores into a 1.3B regression scorer (Seed et al., 2025b); and SwallowCode combines pylint-based filtering with LLM rewriting that “enforces style conformity” (Fujii et al., 2026). Some studies clean the code itself: Jain et al. (2024) rename variables and modularize solutions with an LLM, gaining up to 30% correctness. Few curation studies measure R/M of generated code: beyond the SmellCC row of Table S40, Xue et al. (2026b) report 79.6% and 83.1% fewer smells for DeepSeek-V2 and Qwen-Coder (their refactoring tool kept only 91.3% correctness in its own test verification), and Kuang et al.

CHK-21e7e2127367ed1370d40a8b

 79.6% and 83.1% fewer smells for DeepSeek-V2 and Qwen-Coder (their refactoring tool kept only 91.3% correctness in its own test verification), and Kuang et al. (2026) find that data refactoring, selection and cleaning raise the Maintainability Index of generated code while synthesis and augmentation lower it. Large pretraining pipelines filter for readability-like properties but report only functional benchmarks.
Preference optimization with quality signals.
Preference optimization learns from pairs of better and worse programs. CodeUltraFeedback draws responses from 14 LLMs and brought CodeLlama-7B-Instruct to a CUF-Bench judge score of 7.08 (GPT-3.5-Turbo: 7.18) and pass@1 from 37.9 to 43.1, though DPO variants scored slightly below SFT alone (Weyssow et al., 2026). CodeDPO reaches a 1.45x speedup on HumanEval+ with MagiCoder-S-DS-6.7B at 83.5% correctness (Zhang et al., 2025a). PLUM (Zhang et al., 2024b) and AceCoder (Zeng et al., 2025) (unrelated to ACECode below) use synthesized tests for correctness only. For efficiency, Mercury found DPO stronger than SFT (Du et al., 2024), while Afterburner found both “rapidly saturate” (Du et al., 2025).
Several security results share a mechanism: secure and insecure programs often differ in a few tokens (a sanitizer call, a parameterized query), which a sequence-level loss dilutes.

CHK-f8cb3357826748d1081b78ff

lts share a mechanism: secure and insecure programs often differ in a few tokens (a sanitizer call, a parameterized query), which a sequence-level loss dilutes. Hence SVEN and SafeCoder mask their losses to the changed regions (He and Vechev, 2023; He et al., 2024), Localized Preference Optimization (LPO) masks security-relevant tokens after finding SimPO ineffective (Hasan et al., 2025), and SRCode assigns token-level RL rewards (Quan et al., 2026).
Security-targeted training.
Security training has moved from curated fixes (SVEN, SafeCoder) to synthesized data and then RL. HexaCoder synthesizes vulnerable and repaired pairs with a CodeQL oracle (Hajipour et al., 2024); ProSec synthesizes vulnerability-inducing instructions from CWEs and trains on preference pairs (Xu et al., 2025); LPO refines its distilled pairs with CodeQL and Bandit feedback, reporting 31% and 64% fewer insecure files on Phi-2 and StarCoder2-7B (Hasan et al., 2025). RL methods include PurpCode (rule-referencing SFT plus multi-objective RL) (Liu et al., 2025a), SecCoderX (a learned vulnerability reward model in place of the analyzer) (Wu et al., 2026a), SRCode (Quan et al., 2026), and pilots such as SecureCodeRL, whose evaluation had no Bandit findings at all (Sijwali and Saha, 2026).

CHK-f4bb4db8704bec50a3d8124f

lyzer) (Wu et al., 2026a), SRCode (Quan et al., 2026), and pilots such as SecureCodeRL, whose evaluation had no Bandit findings at all (Sijwali and Saha, 2026). Training has also reached coding agents: SecureVibe applies SFT and execution-feedback RL to the agent’s security planning and testing, raising security pass@1 by 6.9 points on BaxBench and 11.5 on SusVibes, and functionality pass@1 by 4.1 on SWE-bench Verified (Wang et al., 2026c).
Efficiency-targeted training.
Efficiency work uses profilers or simulators as the signal. PIE fine-tunes on 77,967 human performance-improving C++ edit pairs timed in the gem5 simulator, adding performance-conditioned generation and self-play data (Shypula et al., 2024); EffiCoder fine-tunes on the fastest correct candidate from several LLMs (Huang et al., 2025a). ACECode trains with proximal policy optimization (PPO) on a combined correctness-runtime reward (Yang et al., 2024a); Afterburner runs Group Relative Policy Optimization (GRPO) in an iterative refinement loop (Du et al., 2025); SuperCoder rewards assembly speedup over gcc -O3 (Wei et al., 2026); Nichols et al. (2026) align models to serial and OpenMP code performance; and RLPF ranks failed programs by execution progress and correct ones by improvement toward an expert reference (Jing et al., 2026). Making execution time a usable reward is itself studied: Chambon et al.

CHK-3b47a312dc11c816f88c5310

progress and correct ones by improvement toward an expert reference (Jing et al., 2026). Making execution time a usable reward is itself studied: Chambon et al. (2026) report that “once timing drives the reward, small problems in measurement noise, reward sparsity, or GRPO instability overwhelm the signal and make RL fail”; with a calibrated sandbox and adapted GRPO they raise strict top-50% pass@1 on their optimization tests from 18.0% to 31.3% on Qwen 2.5 7B and from 30.7% to 50.4% on CWM 32B “while preserving pure-correctness scores”. The largest RL efficiency gains are on GPU kernels: Kevin’s multi-turn RL raises its base model’s kernel correctness from 56% to 82% and mean speedup over PyTorch Eager from 0.53x to 1.10x, finding serial refinement more useful than parallel sampling (Baronio et al., 2025); CUDA-L1 reports an average speedup of x3.12 (median x1.42) over default KernelBench baselines (Li et al., 2025f); and CUDA Agent reports 100%, 100% and 92% faster rates over torch.compile on the three KernelBench levels (Dai et al., 2026b). Kernels fall outside the general-purpose scope of the highlighted techniques (§) but show what a precise, cheap-to-measure efficiency reward can do.
Reinforcement learning with program-analysis rewards.

CHK-0c55066098911dd91562ebe2

ope of the highlighted techniques (§) but show what a precise, cheap-to-measure efficiency reward can do.
Reinforcement learning with program-analysis rewards.
REAL is the clearest attempt to train for SEC and R/M jointly with COR (its maintainability detector is MyPy type checking) (Yao et al., 2025). Its motivating negative result is that “optimizing for code quality alone leads to reward hacking”, with the model emitting empty code or comments that maximize quality scores; its ablation confirms that a quality-only reward yields safer but less functional code. In 2026, Jolfaei et al. (2026) map Ruff violations to the tokens causing them, and Skopin and Kotelnikov (2026) find that static-analysis penalties alone bias small models toward shorter completions. Themis trains code reward models with readability and maintainability criteria, citing “the limited proficiency of current RMs beyond scoring for functional correctness” (Paul et al., 2026); we found no well-documented study using such a model as an RL reward and measuring R/M with independent instruments.
Side effects of reward optimization.
The first side effect is length.

CHK-f3e989b6ef24bb0245a0d5f5

d study using such a model as an RL reward and measuring R/M with independent instruments.
Side effects of reward optimization.
The first side effect is length. In RL from human feedback, “a purely length-based reward reproduces most downstream RLHF improvements” (Singhal et al., 2023); DPO also exploits verbosity (Park et al., 2024); ODIN counters it by discarding a dedicated length head of the reward model (Chen et al., 2024a); and in RL with verifiable rewards (RLVR), GRPO has an optimization bias that “artificially increases response length (especially for incorrect outputs)” (Liu et al., 2025d). Since length moves with lines of code, comment density and complexity metrics, judge-based R/M rewards face the same confound, which no code study we found controls for. Analyzer-only rewards pull the other way, toward short or empty code (Skopin and Kotelnikov, 2026; Yao et al., 2025); PurpCode reports that with binary rewards “models learn that generating no code is always ‘secure’ ” (Liu et al., 2025a).
The second is exploitation of the test oracle behind every correctness term.

CHK-51ffebfbca1d151059d44758

rds “models learn that generating no code is always ‘secure’ ” (Liu et al., 2025a).
The second is exploitation of the test oracle behind every correctness term. In a frontier RL run, an agent planned to “circumvent the tests by making verify always return true” (Baker et al., 2025); on ImpossibleBench, whose tests contradict the task, GPT-5 cheats on 76% of Oneoff-SWEbench tasks (Zhong et al., 2026); 28.5% of a SWE-bench Verified sample have tests accepting an incorrect patch (Rajan, 2026); in CATCH, a chain-of-thought monitor’s protection erodes as the policy learns to mislead it with code comments (Wang et al., 2026f); and hacking learned in production coding environments generalizes to broader misalignment (MacDiarmid et al., 2025). A correctness term thus does not prevent degenerate code: a special-cased solution is “correct” yet unmaintainable.
Highlighted techniques.
Table S40 lists the highlighted techniques (selection rule in §). Landmarks curate or mask data; recent leaders shape the objective, mostly through reinforcement-learning rewards.

CHK-92cf222ada9f12fcd49dc59a

 highlighted techniques (selection rule in §). Landmarks curate or mask data; recent leaders shape the objective, mostly through reinforcement-learning rewards. MPCoder learns Checkstyle style attributes, per-user style vectors and a shared, contrastively trained style adapter so that one CodeLlama-7B model writes Java in each user’s own style, raising its Coding Style Score on PCISparse from 46.29 to 66.18, while HumanEval-X Java correctness falls from 30.49% to 26.18% on that dataset (Dai et al., 2024).
Caveats. Several gains are measured with the training instrument: CodeUltraFeedback’s GPT-3.5 judge also labelled the training data (with a GPT-4-Turbo judge the authors report “more mitigated effects”), and REAL evaluates with its reward’s program-analysis detectors. SafeCoder “does not achieve strong generalization across different CWEs”. CodeDPO times only problems solved both before and after training. PurpCode’s baseline is its own untrained base model, SecCoderX’s the unaligned model, and Afterburner is evaluated on the same authors’ Venus benchmark. Correctness costs are uneven (§S17.7). No highlighted technique reports an effect on an untargeted dimension.
Effects on correctness and non-targeted dimensions.
Correctness.

CHK-d24984f576f106e0d3b0288b

sts are uneven (§S17.7). No highlighted technique reports an effect on an untargeted dimension.
Effects on correctness and non-targeted dimensions.
Correctness. The security literature reports small correctness costs, which the evidence partly supports: SVEN “closely matches the original LMs in functional correctness” (He and Vechev, 2023), although its CodeGen-2.7B pass@1 falls from 14.0 to 11.7, and ProSec and PurpCode report no or minimal utility loss (Xu et al., 2025; Liu et al., 2025a). SafeCoder leaves StarCoder-1B’s correctness unchanged, but on Phi-2, against standard instruction tuning, raises security from 69.9 to 90.9 while lowering HumanEval pass@1 from 48.3 to 46.1 (He et al., 2024). LPO lowers Mistral-7B’s HumanEvalX pass@1 from 37.1 (SFT) to 28.7, and without its regularizer gains security “at a steep cost of decreased general coding ability” (Hasan et al., 2025). On SecCodePLT+ the SFT baseline’s function score (0.8659) exceeds REAL’s (0.7561) (Yao et al., 2025). SecCoderX, whose metric weights safety rate by functional correctness, reports that prior methods “often degrade ESR by 14-54%” (Wu et al., 2026a).

CHK-b053cfd0596d2441fc9f365f

 al., 2025). SecCoderX, whose metric weights safety rate by functional correctness, reports that prior methods “often degrade ESR by 14-54%” (Wu et al., 2026a). Efficiency tuning shows the same tension: ACECode describes PIE as “improving efficiency but compromising correctness” (Yang et al., 2024a), ECCO finds that “no existing methods can improve time/space efficiency without sacrificing functional correctness” (Waghjale et al., 2024), and a stricter test-coverage reward on hard problems “reduces optimization failures but increases correctness failures” (Zheng et al., 2026a). Conversely, correctness-only RLVR neglects efficiency: 36.6% of the RLVR baseline’s correct programs were slow, versus 15.0% for RLPF (Jing et al., 2026). The correctness gains of EffiCoder, ACECode, Afterburner and SuperCoder cannot be separated from ordinary training on verified solutions.
Non-targeted dimensions are rarely measured (only 15 of 124 studies): no security study in Tables S39 and S40 reports readability or runtime, nor any efficiency study security or readability. LPO’s data pipeline hints at the risk: repeated security refinement produced “overengineered and low quality code, training on which reduced models’ code utility” (Hasan et al., 2025).

CHK-4bd204063d762ce8ff9e9764

s at the risk: repeated security refinement produced “overengineered and low quality code, training on which reduced models’ code utility” (Hasan et al., 2025). Terminology blurs the picture: LPO’s “code quality” means pass@kk, and REAL measures security and maintainability in separate scenarios, not on the same outputs.
Compute fairness.
Training-time methods trade a one-off training cost for no extra inference calls, so per-query comparison with the loops of § is not meaningful; most studies report training cost in no form permitting amortization (phi-1’s 8 A100s for 4 days excepted). Some headline numbers include inference-time search (PIE’s 6.86 speedup is the best of eight generations; Afterburner iterates with sandbox execution), and comparisons with inference-time baselines, such as REAL against constrained decoding and prompt optimization, are not budget-matched.
Limitations.
Base-model dependence. Most studies train models of at most 7B, REAL notes that “reinforcement learning often requires a reasonably strong base model” (Yao et al., 2025), and transfer to frontier models is untested. Oracle circularity. Training signal and evaluation often share an analyzer family or judge (§), and analyzers disagree: REAL found CodeQL “unexpectedly ineffective” on SecCodePLT+, and PurpCode found CodeGuru detects more vulnerabilities than CodeQL. Contamination.

CHK-9e14758c66879beac9c32cd6

zers disagree: REAL found CodeQL “unexpectedly ineffective” on SecCodePLT+, and PurpCode found CodeGuru detects more vulnerabilities than CodeQL. Contamination. Synthetic data from GPT-3.5, GPT-4 or frontier LLMs may overlap with public benchmarks; phi-1 studied contamination and PurpCode excluded benchmark sources, but many studies report neither. Reproducibility. Data are often partly closed (phi-1 omits synthetic-data details “for proprietary reasons”), and RL results depend on checkpoint selection, as RLPF notes.
S17.8. Hybrid and other techniques
The 191 studies of the hybrid and other group (§) are grouped here by the mechanisms their signal sources map to: retrieval (retrieved knowledge), self-refinement (the model’s own critique), another LLM (a critic, reviewer or second agent), tool feedback (static analyzer, compiler, test execution or profiler), a learned verifier, training (training-time stage or a reward model) and decoding (in-decoding stage). Human input, used by 17 studies, is not counted as a mechanism. For each combination, the number of studies and up to four representative studies are listed; studies without a bibliography entry are named by their technique and record identifier (§S4).
Table S26. Hybrid and other studies by combination of mechanisms (derived from their signal sources and stage), with representative studies.
Mechanisms
Studies

CHK-172a4188b1255111c6e74989

Table S26. Hybrid and other studies by combination of mechanisms (derived from their signal sources and stage), with representative studies.
Mechanisms
Studies
Representative studies
retrieval + self-refinement + tool feedback
33
Retrieval Augmented Search (Anupam et al., 2026); SCGAgent (Saul et al., 2025); ECO (Kim et al., 2025); Safety Sidecar (Wang et al., 2026a)
tool feedback
27
LLM4PLC (R00632); RustMap (R02061); LLMigrate (R02100); DeRep (R02183)
retrieval + tool feedback
26
SBLLM (Gao et al., 2025b); RAG + multi-tool (Sriram et al., 2026); LLM-driven HLS repair framework (R01058); APILOT (R01272)
another LLM + tool feedback
16
Codexity Preshot Repair (Kim et al., 2024); Hybrid pipeline P10 (Sabir et al., 2026); CodeEvolve (Borra et al., 2026); SecureForge (Liu et al., 2026a)
retrieval + another LLM + tool feedback
15
MARCO (Rahman et al., 2025); SysLLMatic (Peng et al., 2026a); HLSPilot (R01152); VeriOpt (R03540)
self-refinement + tool feedback
13
CodeChain (Le et al., 2024a); SecCode (Liu et al., 2024c); LLM4EFFI (Ye et al., 2025); ArchCode (R00592)
retrieval + self-refinement + another LLM + tool feedback
7
LASSI-EE (R02311); FM Agent (S03419); Rustine (S03494); Bespoke OLAP synthesis pipeline (S03781)
tool feedback + training
5
Afterburner-GRPO within the Iterative … (Du et al., 2025); TurduckenGen (R00265); opt-r1 / opt-r1-mini (R03479); AlgoSkill (R06051)

CHK-d3828ae1e6312db165bfc72b

tool feedback + training
5
Afterburner-GRPO within the Iterative … (Du et al., 2025); TurduckenGen (R00265); opt-r1 / opt-r1-mini (R03479); AlgoSkill (R06051)
retrieval + self-refinement
5
KPC (Ren et al., 2023); RefleXGen (Wang et al., 2025a); RAG with valid-package statements … (R00983); RAG-assisted segmented two-stage C-to-Rust … (R05241)
retrieval
4
AceCoder (R00277); Prototype2Code (R01185); Semantic patch learning from CVE patches (R04636); LLM-based AI agent with request classifier … (R05154)
learned verifier
4
SecCodePRM-guided inference-time scaling (Yu et al., 2026b); AutoParLLM (R00452); Fine-tuning on ACEOB efficient-inefficient … (R01180); PreMaQ (R06857)
self-refinement + another LLM + tool feedback
4
Adaptive self-improvement learning (S02612); Kernel-Smith (S03867); Feedback-grounded explicit planning in a … (S04124); SparseCraft (S04639)
learned verifier + training
3
FunPRM (Zhang et al., 2026); E-code (R01179); DeepGuard (R05109)
retrieval + self-refinement + another LLM
3
PEACE (Ren et al., 2025); HCAG (R04905); RTL-Obliger (R06574)
retrieval + tool feedback + training
3
IDIOMS (S00303); TPU-Gen (S02710); daVinci-kernel (S04225)
retrieval + another LLM + tool feedback + training
2
HexaCoder (Hajipour et al., 2024); StitchCUDA (R04757)
tool feedback + learned verifier
2
SecureCoder (R01618); Surrogate-assisted kernel search (S04142)
none of these signals
2

CHK-1cd9908fe7cb7ffba9f17046

r et al., 2024); StitchCUDA (R04757)
tool feedback + learned verifier
2
SecureCoder (R01618); Surrogate-assisted kernel search (S04142)
none of these signals
2
iProg (R02038); CliffCompaction (S04576)
another LLM + tool feedback + learned verifier
2
T-LLM Compiler (R06491); Macro Thinking Micro Coding (S03493)
tool feedback + decoding
1
Vulnerability-tuning with … (R00457)
training
1
WaDec (R00998)
self-refinement + tool feedback + learned verifier
1
PromSec (Nazzal et al., 2024)
retrieval + another LLM + tool feedback + learned verifier
1
AutoPatch (Seo et al., 2025)
another LLM + training
1
RefactorCoder-MoE (R03154)
retrieval + self-refinement + training
1
Stream of Revision (R04484)
retrieval + self-refinement + tool feedback + training
1
DepTrans (R05047)
self-refinement
1
Accumulated behavioral rules (R06233)
another LLM
1
Security-requirement appending / … (R06284)
retrieval + another LLM
1
Pipeline 1 (Surikov, 2026)
another LLM + learned verifier
1
ProbeDebias (R06886)
tool feedback + learned verifier + decoding
1
BetterV (S01747)
self-refinement + decoding
1
EfficientUICoder (S03256)
retrieval + another LLM + tool feedback + learned verifier + training
1
SwiftTrans (S04226)
self-refinement + tool feedback + decoding
1
Explicit agent-first (S04598)
Domains.

CHK-56eff585e0ec4fc69d83fd22

her LLM + tool feedback + learned verifier + training
1
SwiftTrans (S04226)
self-refinement + tool feedback + decoding
1
Explicit agent-first (S04598)
Domains.
By keywords in their languages, benchmarks and titles, 111 of the studies work on specialized code: GPU or accelerator kernels (66), hardware design in Verilog, VHDL, Chisel or high-level synthesis (24), C-to-Rust migration (20), parallel code with OpenMP, MPI or OpenACC (9), smart contracts (3) and PLC programs (2); a study can fall under several. 90 evaluate on Python. The keyword match is approximate; the head-to-head excludes domain-specific techniques by the pass-2 rule of §, not by these keywords.
Targets and effects.
By technique row, the target improves in 112 of 122 efficiency rows, 39 of 46 security rows and 33 of 35 readability/maintainability rows; correctness is unreported in 31, 9 and 3 of them. Efficiency rows thus carry most of the unreported correctness, as in the review overall.
S18. Per-family result tables and highlighted techniques
The reported-effect and design tables of each technique family and its highlighted techniques, referenced from the family sections of the main article. Values are as reported by the original authors; settings differ across rows, so values are not directly comparable.
Prompting
Table S27. Reported effects of prompting strategies on quality and correctness.

CHK-effcbe380b299f392c3ca142

s; settings differ across rows, so values are not directly comparable.
Prompting
Table S27. Reported effects of prompting strategies on quality and correctness. ↑\uparrow/↓\downarrow/↔\leftrightarrow: improvement/degradation/no significant change in the stated metric relative to the study’s baseline. Values as reported; settings differ, so rows are not directly comparable.
Study
Strategy
Models; benchmark
Target-dimension effect
COR effect
Tony (Tony et al., 2025)
RCI (one critique–improve round)
GPT-3/3.5/4; LLMSecEval, Bandit
SEC ↑\uparrow: weakness density 77.55% lower (GPT-4)
nr
Bruni (Bruni et al., 2025)
Security-aware persona prefix
GPT-4o; LLMSecEval + SecurityEval, Semgrep/CodeQL
SEC ↑\uparrow: 56% fewer vulnerabilities
HumanEval pass@1 86.77% →\to 86.65% (GPT-4o-mini)
Bruni (Bruni et al., 2025)
RCI on baseline code
GPT-4o; as above
SEC ↑\uparrow: 64.7% fewer vulnerabilities
↓\downarrow pass@1 86.77% →\to 76.65% (GPT-4o-mini)
Kharma (Kharma et al., 2026a)
WA-0CoT (CWE-aware CoT)
5 LLMs; Java, C++, C, Python
SEC ↔\leftrightarrow frequency and density; CWE mix shifts; R/M ↓\downarrow more warnings (C)
nr
Urmi (Urmi et al., 2026)
Structured + security guidance
GPT-4o; 424 Python tasks, Bandit/CodeQL
SEC high-severity 20.8% →\to 13.6%; low-severity 32% →\to 43.5%
nr (requested constructs sometimes removed)
Pereira (Pereira and Garcia, 2026)

CHK-9cee7fba8832f0e468d855f5

s, Bandit/CodeQL
SEC high-severity 20.8% →\to 13.6%; low-severity 32% →\to 43.5%
nr (requested constructs sometimes removed)
Pereira (Pereira and Garcia, 2026)
ISO/IEC 25010-grounded requirements
GPT-5.4; HumanEval/ET
R/M ↑\uparrow unreadability density 0.88 →\to 0.69 (performance requirement)
not reliably improved; ET pass rate ↓\downarrow (error handling)
Khojah (Khojah et al., 2025)
Few-shot vs. CoT+persona+packages
GPT-4o; CoderEval, Pylint
R/M missing docstring 71% vs. 22%
few-shot ↑\uparrow; persona/CoT ↓\downarrow
RACE (Zheng et al., 2024)
Explicit style requirement
28 LLMs; RACE
R/M camel-case compliance below 30% (CodeLlama, WizardCoder)
joint metric only
Apsan (Apsan et al., 2026)
Energy-oriented prompts
6 LLMs; 9 EvoEval problems
EFF ↔\leftrightarrow no consistent energy saving
nr
Rekhi (Rekhi et al., 2026)
8 energy prompts
10 LLMs; EffiBench
EFF ↑\uparrow up to 25% (Python), 17% (C++)
nr (correct subset only)
ECCO (Waghjale et al., 2024)
Few-shot exemplars
open code LLMs, GPT-4o; ECCO
EFF mixed by model
mixed by model
Table S28. Highlighted prompting techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction.

CHK-c9937b91c4e1670dd9a79d1b

in). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SCoT (Li et al., 2025b)
2025
405
L
Constrains the chain of thought to sequence, branch and loop structures, then implements code from it.
R/M
Maintainability, human rating 0–2, ChatGPT: CoT 1.616 →\to 1.873
↑\uparrow
–
Self-planning (Jiang et al., 2024)
2024
306
L
Few-shot prompts make the model write a concise step plan, then code guided by that plan.
R/M
Readability, human rating: gain reported without numbers (nr)
↑\uparrow
–
LLM4EFFI (Ye et al., 2025)
2025
15
L
Explores algorithms in a logic domain, optimizes the implementation in a code domain, then verifies with synthetic tests.
EFF
eff@1, ENAMEL, DeepSeek-V3: Effi-Learner 52.22 →\to 60.41
↑\uparrow
✓
Code2API (Mai et al., 2024)
2024
12
L
Role, chain-of-thought and few-shot prompting turn Stack Overflow snippets into reusable, well-named API methods.
R/M
Method-name expressiveness, human rating 1–4, GPT-3.5: APIzator 2.23 →\to 3.65
mixed
✓
MPCO (Gong et al., 2025a)
2025
10
L
A meta-prompter LLM writes project-, task- and model-aware code-optimization prompts.
EFF

CHK-ae1a1a45f7a2fc05c5ef0add

: APIzator 2.23 →\to 3.65
mixed
✓
MPCO (Gong et al., 2025a)
2025
10
L
A meta-prompter LLM writes project-, task- and model-aware code-optimization prompts.
EFF
Mean rank of %PI over five projects (lower is better): contextual prompting 2.00 →\to 1.00
nr
–
BRACE (Xu et al., 2026a)
2026
1
R
A separate LLM predicts the task’s likely CWEs; after catalog validation they are given to the target model as a cue.
SEC
Safe Code Rate (judge classifier), CyberNative, open-weight models (avg.): Secure Prompt 33.9% →\to 91.2%
mixed
–
ECO (Kim et al., 2025)
2025
2
R
Prompt combines a rule-based static bottleneck diagnosis with retrieved optimization instructions distilled from slow–fast pairs.
EFF
Speedup, PIE, best of five, GPT-o4-mini: instruction-only 1.99×\times →\to 7.81×\times
mixed
–
CSDD (Marri, 2026)
2026
3
R
A versioned constitution of CWE-mapped security principles constrains specifications and AI generation, traced to code.
SEC
CWE violations, one banking application, Claude: unconstrained 11 →\to 3
nr
✓
SecureForge (Liu et al., 2026a)
2026
3
R
Mines benign prompts whose code Semgrep flags, broadens them by MCMC rephrasing, then evolves the system prompt with GEPA using the Semgrep findings as reflection feedback.
SEC
Semgrep weakness rate of test-passing outputs, ten LLMs, held-out CWE Top-25 scenarios: up to 48% lower than the security-aware prompt
↔\leftrightarrow
✓

CHK-f835cd565aab59b534e43e86

.
SEC
Semgrep weakness rate of test-passing outputs, ten LLMs, held-out CWE Top-25 scenarios: up to 48% lower than the security-aware prompt
↔\leftrightarrow
✓
StoryCoder (Jang et al., 2026)
2026
0
R
Retells the problem as a narrative (task overview, constraints, example input/output) in a genre matched to the algorithm it picks, then generates code from the narrative.
R/M
Functions per correct solution, CodeForces, Gemini-2.5-Flash: repeated sampling 1.820 →\to 2.338
↑\uparrow
✓
Tool-feedback loops
Table S29. Design space of tool-feedback loops. Gate: acceptance check other than the driving tool. COR: correctness measured, with direction. Author-reported values, not directly comparable across rows.
Study
Tool(s)
Feedback format
Max iter.
Gate
COR
Lang.; models
Blyth et al. (2025)
Bandit, Pylint
inline tags, severity order
10
fitness
↑\uparrow
Py; GPT-4o
Wadhwa et al. (2024)
CodeQL, Sonar
rule + fix advice; ranker
one pass, 10 samples
ranker
review
Py, Java; GPT-3.5/4
Abtahi and Azim (2025)
SonarQube
issue table + RAG
two phases
manual
manual
one project; GPT-3.5/4o
Joos et al. (2026)
SonarQube
agent + rejection context
40 cycles
build, tests
manual
Java; GPT-4.1 mini
Islam et al. (2026)
Pylint, Radon, Bandit, …
metric diagnostics
five
none
no
Py; several
Ravi et al. (2025)
javac, PMD, tests
errors, violations
five/loop
tests
↑\uparrow
Java; GPT-4o-mini
Alrashedy et al. (2023)

CHK-f8d963de89aeea6a07e4750d

iagnostics
five
none
no
Py; several
Ravi et al. (2025)
javac, PMD, tests
errors, violations
five/loop
tests
↑\uparrow
Java; GPT-4o-mini
Alrashedy et al. (2023)
Bandit
raw vs. verbalized; JJ fixes
KK
none
no
Py; three LLMs
Nazzal et al. (2024)
Bandit, SpotBugs
graph fix →\to new prompt
until clean
similarity
↓\downarrowa
Py, Java; GPT-3.5
Kim et al. (2024)
Infer, CppCheck
type + location
3
none
no
C; five LLMs
Gajjar et al. (2025)
Bandit
report + LLM check
to clean
none
no
Py; <<8B tuned
Yan et al. (2026)
CodeQL
raw vs. explained
nr
none
no
Py; eight LLMs
Dolcetti et al. (2026)
Infer; tests
one finding per prompt
6
separate
↑\uparrow
C; 4 open
Sriram et al. (2026)
GCC, CodeQL, KLEE
diagnostics + RAG
three
KLEE
↑\uparrow
C/C++; two small
Nunez et al. (2024)
LLM “analyzer”
CWE + advice
four
fuzzing
↓\downarrow
Py; GPT-4o
Huang et al. (2024a)
line/mem. profiler
per-line profile
0 to 5
open tests
small ↓\downarrow
Py; 16+6 LLMs
Peng et al. (2025b)
runtime
slowest test
one
tests
↑\uparrow
Py; open, GPT-3.5/4
Peng et al. (2026a)
async-prof., perf
hotspots + catalog
T = 2
tests
held
C++, Java; GPT-4o/4.1
Deng et al. (2026a)
py-spy
hotspots, timing
5
tests
↑\uparrow
Py; GPT-5.1, Kimi-K2
a functionality proxied mainly by code-graph similarity; Pass@1 fell when Dai et al. (2026a) ran unit tests.
Table S30.

CHK-b647539b25251b3124d76ccd

g
5
tests
↑\uparrow
Py; GPT-5.1, Kimi-K2
a functionality proxied mainly by code-graph similarity; Pass@1 fell when Dai et al. (2026a) ran unit tests.
Table S30. Reported effects on the target dimension and on correctness (→\to: before to after). Author-reported values, not directly comparable across rows.
Study
Setting
Target-dimension effect
COR effect
Blyth et al. (2025)
GPT-4o; PythonSecurityEval
insecure >>40%→\to13%; readability viol. >>80%→\to11%
pass@1 38.16%→\to47.81%
Wadhwa et al. (2024)
GPT-3.5/4; CodeQL, Python
pass checks 81.57%; reviewer rejection 55.11% (47.55% ranked)
review only
Joos et al. (2026)
GPT-4.1 mini; SonarQube
plausible 96.8%; correct 86.3%
gated
Abtahi and Azim (2025)
GPT-3.5→\to4o; one project
issues 7,599→\to4,340→\to1,058
manual
Alrashedy et al. (2023)
GPT-4; PythonSecurityEval
vulnerable: Bandit 40.2%→\to7.4%; CodeQL 17.9%→\to7.7%
nr
PromSec in (Dai et al., 2026a)
GPT-3.5; BigCodeBench
Secure-Pass@1 0.3219→\to0.2447
Pass@1 ↓\downarrow
Kim et al. (2024)
gpt-3.5-turbo; C
vulnerable 75.9%→\to15.9%
nr
Gajjar et al. (2025)
tuned <<8B; Bandit
fix accuracy 87.83 vs. 79.72 single-pass
nr
Yan et al. (2026)
GPT-4o; CodeQL
target-vuln. rate −-7.3%, −-15.7%, −-8.7%
nr
Dolcetti et al. (2026)
best models; Infer, C
89% of vulnerabilities fixed
62% of incorrect repaired
Sriram et al. (2026)
CodeLlama-7B; C/C++
CodeQL defects 58.55%→\to22.19%

CHK-537aba38e8e93c9b3b21e387

l. (2026)
best models; Infer, C
89% of vulnerabilities fixed
62% of incorrect repaired
Sriram et al. (2026)
CodeLlama-7B; C/C++
CodeQL defects 58.55%→\to22.19%
KLEE 19.98%→\to12.18%
Nunez et al. (2024)
GPT-4o; SecurityEval
vulnerable 59/121 (49%)→\to44/121 (36%)
pass@1 0.9085→\to0.8780
Ravi et al. (2025)
GPT-4o-mini; HumanEval-X
PMD nr
pass@1 71.65%→\to80.85%
Huang et al. (2024a)
StarCoder2-15B; EffiBench
time 0.93 (s)→\to0.12 (s)
e.g. 5.8→\to5.4b
Peng et al. (2026a)
GPT-4.1; DaCapo
latency 1.54x (compiler 1.01x)
gated
Deng et al. (2026a)
GPT-5.1; GSO / SWE-fficiency-Lite
expert-level 19.6%→\to39.2% / 26%→\to74%
gated
b pass@1 of OpenCodeInterpreter-DS-1.3B.
Table S31. Highlighted tool-feedback loop techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SBLLM (Gao et al., 2025b)
2025
76
L
Evolves optimized programs: selects representative executed samples, retrieves optimization patterns, combines them with genetic-operator-style prompts.
EFF
SP@5 (%), GPT-4, PIE Python: ICL 181.53 →\to 209.59
↑\uparrow
✓

CHK-04947f74740e920061f5a929

amples, retrieves optimization patterns, combines them with genetic-operator-style prompts.
EFF
SP@5 (%), GPT-4, PIE Python: ICL 181.53 →\to 209.59
↑\uparrow
✓
PerfCodeGen (Peng et al., 2025b)
2025
58
L
After a correctness phase, returns the most time-consuming unit test and asks for a faster program.
EFF
%Opt Best@8, GPT-4, MBPP: base 43.48 →\to 56.52
↑\uparrow
–
PromSec (Nazzal et al., 2024)
2024
55
L
A contrastively trained graph GAN repairs the vulnerable code graph; the repaired code is turned into an improved prompt, iteratively.
SEC
nr (CWE counts shown only in plots)
↑\uparrow
✓
DeepDevVuln filter (Chan et al., 2023)
2023
41
L
A fine-tuned transformer vulnerability detector flags incomplete code; completions it flags are discarded.
SEC
vulnerable scenarios, text-davinci-003: unfiltered 78.00% →\to filtered 8.0%
nr
–
FRANC repair (Siddiq et al., 2024a)
2024
32
L
Builds a repair prompt from Bandit or SpotBugs messages (generated-knowledge prompting, three prompt structures) and re-queries the model.
SEC, R/M
prompts with a good suggestion after repair: up to 80%; no pre-repair value
nr
✓
Optimo (Peng et al., 2026b)
2026
0
R
Differential profiling finds bottlenecks, routed to multi-level, pattern-specific optimization prompts with shared and special strategies and correctness reflection.
EFF
Opt%, GPT-4o code, EffiBench: SBLLM 3.58% →\to 35.79%
↑\uparrow
✓

CHK-c9823afbfbb565716363c542

cific optimization prompts with shared and special strategies and correctness reflection.
EFF
Opt%, GPT-4o code, EffiBench: SBLLM 3.58% →\to 35.79%
↑\uparrow
✓
Infer repair loop (Dolcetti et al., 2026)
2026
27
R
Feeds one Infer warning at a time, with fix instructions, back to the model for iterative repair.
SEC
Infer findings fixed, C, best of four open models: 39 out of 44 (89%)
nr
–
CodeEvolve (Borra et al., 2026)
2026
1
R
Selects targets from runtime profiles; evolves edits with MCTS-augmented search, a refinement agent and cascaded validation.
EFF
avg. speedup, 7 Java hotspots: single-call RPBD 7.12×\times →\to 15.22×\times
↑\uparrow
–
PerfAgent (Deng et al., 2026a)
2026
3
R
Curated profiler hotspot summary, an objective-driven loop that keeps optimizing, selective test validation, and best-patch selection.
EFF
hack-adjusted Opt@1, GPT-5.1, GSO: OpenHands 19.6% →\to 39.2%
↑\uparrow
–
SelectIssue loop (Blyth et al., 2025)
2025
17
R
Each round tags a few Bandit and Pylint issues, picked by severity weight, inline at their code lines; a revision is kept only if its test-gated fitness does not fall.
SEC, R/M
Bandit-flagged insecure snippets, GPT-4o, PythonSecurityEval, two issues per round, ten rounds: 45.05% →\to 13.41%
↑\uparrow
–
Self-refinement
Table S32. Reported effects of self-refinement on non-functional quality (Self-Refine on PIE: Table S33).

CHK-ad2d468c4c677dc5578c4a85

rounds: 45.05% →\to 13.41%
↑\uparrow
–
Self-refinement
Table S32. Reported effects of self-refinement on non-functional quality (Self-Refine on PIE: Table S33). Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Study (model)
Setting and metric
Before →\rightarrow after
COR
Self-Refine (GPT-4)
CodeNet rewrite; GPT-4-judged meaningful names (R/M)
27.4 →\rightarrow 56.2
nr
EffiLearner (StarCoder2-15B)
EffiBench; execution time, s (EFF)
0.93 →\rightarrow 0.12
↓\downarrow 0% to 0.5%
EffiLearner (StarCoder2-15B)
EffiBench; total memory usage, Mb⋅\cdots (EFF)
22.02 →\rightarrow 2.03
as above
Self-Refine in EffiLearner (CodeLlama-70B)
EffiBench; execution time change (EFF)
++51.9%
nr
Reflexion + ICD (five open code LLMs)
Instruct Prime; ICD secure rate (SEC)
70.74% →\rightarrow 79.43%
nr
Table S33. Highlighted self-refinement techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
Self-Refine (Madaan et al., 2023)
2023
5050
L

CHK-17f5be50b0954cba65b0ec20

ss rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
Self-Refine (Madaan et al., 2023)
2023
5050
L
One LLM alternates between feedback on its own output and refinement using that feedback, for several iterations.
EFF
% programs optimized, PIE, GPT-4: no refinement 27.3 →\to 36.0
nr
✓
CodeChain (Le et al., 2024a)
2024
91
L
Modular chain of thought, then self-revisions conditioned on clustered representative sub-modules from earlier samples.
R/M
Modularity and reusability, GPT-4 Likert rating, 20 APPS tasks: shown only as a figure (nr)
↑\uparrow
✓
SecCode (Liu et al., 2024c)
2024
8
L
Score-based “encouragement” prompts drive repeated vulnerability detection and fixing, cross-checked with CodeQL.
SEC
Fix success rate after ten iterations, LEval, GPT-3.5: CoT 0.64 →\to 0.96
↑\uparrow
–
RefleXGen (Wang et al., 2025a)
2025
7
L
Self-reflection on code security; reflections and secure snippets accumulate in a knowledge base retrieved for later tasks.
SEC
CodeQL security rate, SVEN scenarios, GPT-3.5 Turbo: base 75.5 →\to 89.1
mixed
–
GRASP (Patir et al., 2025)
2025
4
L
Revises a seed solution by traversing a dependency graph (DAG) of the relevant secure coding practices.
SEC
CodeQL security rate, 37 Python scenarios, GPT-4o: PromSec 0.52 →\to 0.79
mixed
–
Safety Sidecar (Wang et al., 2026a)
2026
1
R

CHK-7e666fafeb771da7df9d3cb4

ant secure coding practices.
SEC
CodeQL security rate, 37 Python scenarios, GPT-4o: PromSec 0.52 →\to 0.79
mixed
–
Safety Sidecar (Wang et al., 2026a)
2026
1
R
A lightweight self-check routes risky code to a reflective prompt fed by a memory of past secure repairs.
SEC
CodeQL security rate, SVEN scenarios, GPT-4o: base agent 85.7 →\to 95.0
mixed
–
Multi-agent pipelines
Table S34. Highlighted multi-agent techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SecAwareCoder (Wang et al., 2026e)
2026
54
L
Task-adaptive threat modeling yields vulnerability hypotheses that guide constraint-aware generation and security-test synthesis; execution feedback drives repair.
SEC
S-Pass@1, CodeSecEval, GPT-5: CoT 27.45 →\to 34.90
↑\uparrow
✓
FlowGen (Lin et al., 2025b)
2025
51
L
Agents in requirement-engineer, architect, developer, tester and scrum-master roles emulate Waterfall, TDD or Scrum, with self-refinement.
R/M
Pylint error-smell density, GPT-3.5: 81.8% to 96.0% lower than RawGPT
↑\uparrow
✓

CHK-a4b93638545c072dafa1aec7

scrum-master roles emulate Waterfall, TDD or Scrum, with self-refinement.
R/M
Pylint error-smell density, GPT-3.5: 81.8% to 96.0% lower than RawGPT
↑\uparrow
✓
INDICT (Le et al., 2024b)
2024
4
L
A safety critic and a helpfulness critic, grounded in web search and code execution, give preemptive and post-hoc feedback to the coder.
SEC
Safety, CyberSecEval-1 split, GPT-4o-mini: direct 78.2 →\to 90.9
nr
✓
ContextEvolve (Su et al., 2026)
2026
2
R
Summarizer, Navigator and Sampler agents compress evolutionary-search context into semantic state, optimization direction and retrieved exemplars.
EFF
ADRS combined score vs. top baseline: 6.5% higher on average
↔\leftrightarrow
✓
Just-in-time remediation (P1) (Surikov, 2026)
2026
0
R
A validator LLM reviews generated code; its findings, enriched with ATT&CK techniques, CWE examples and best practices, drive remediation.
SEC
CodeQL+Bandit findings per sample, four Claude models pooled: initial 1.34 →\to 0.78
nr
✓
LessonL (Liu et al., 2025c)
2025
0
R
Agents solicit lessons from each other’s successes and failures, bank them, and select relevant lessons for later rounds.
EFF
Geometric-mean speedup, ParEval serial: Reflexion (Qwen14B) 1.88 →\to 2.16
↑\uparrow
✓
MARCO (Rahman et al., 2025)
2025
3
R
An optimizer agent and a performance-evaluator agent iterate in a feedback loop; web search supplies recent optimization techniques.
EFF

CHK-0a00f8d145f149895005f7e6

et al., 2025)
2025
3
R
An optimizer agent and a performance-evaluator agent iterate in a feedback loop; web search supplies recent optimization techniques.
EFF
Mean runtime (ms), LeetCode 75: Claude 3.5 Sonnet 57.5 →\to 49.1
nr
–
C3 (Gu et al., 2026)
2026
0
R
Adds auction-based role allocation (CAB) and opponent-aware decentralized competition (DCC) to a collaborative development pipeline.
R/M
Human maintainability rating, extended SoftwareDev, GPT-4o: MetaGPT 3.6 →\to 3.8
↑\uparrow
–
MaintainCoder (Wang et al., 2025c)
2025
18
L
Requirements-analysis, design-pattern-selection, framework-design and framework-evaluation agents produce an architectural blueprint; a coding agent and an execution-driven optimizer then write and refine the code.
R/M
Post-modification Pass@5 (code changed for new requirements), APPS-Dyn, DeepSeek-V3: plain 59.5 →\to 62.5
↑\uparrow
✓
ACCLAIM (Mikek et al., 2026)
2026
3
L
A guiding agent interleaves LLVM front-, middle- and back-end passes with LLM rewriting agents at source, IR and assembly level under one call budget; a test-generating agent checks every candidate.
EFF
Geometric-mean speedup over clang -O3, Claude 3.7 Sonnet, 100 CodeNet C programs, equal budget: source-only agent 1.18×\times →\to 1.25×\times
nr
✓
Retrieval
Table S35.

CHK-ae728beb525af10d75ea919f

c-mean speedup over clang -O3, Claude 3.7 Sonnet, 100 CodeNet C programs, equal budget: source-only agent 1.18×\times →\to 1.25×\times
nr
✓
Retrieval
Table S35. Reported effects of further retrieval-augmented methods on quality and correctness, as reported by the original authors; settings differ, so values are not directly comparable.
Method
Retrieved unit
Models; benchmark
Target-dimension effect
COR effect
SecCoder (Zhang et al., 2024a)
Secure demonstrations
CodeGen, SantaCoder, InCoder; CodeQL
SEC ↑\uparrow 7.20% avg. on unseen cases
↔\leftrightarrow “almost the same”
RESCUE (Shi and Zhang, 2026)
Distilled guidelines, sliced examples
6 LLMs; 4 benchmarks
SEC ↑\uparrow SecurePass@1 4.8 points
↔\leftrightarrow comparable
SEEK (Gadey et al., 2026)
CWE-graph fix instances
5 open LLMs; CodeGuard+
SEC SecurePass@1 77.45%
in SecurePass@1
SOSecure (Mukherjee and Hellendoorn, 2026)
Stack Overflow critiques (post-draft)
GPT-4; LLMSecEval
SEC fix rate 91.3% vs. 56.5%
nr
A3-CodGen (Liao et al., 2024)
Local functions
GPT-3.5; 13,784 PyPI functions
R/M reuse F1 0.589 (vanilla 0)
nr
Table S36. Highlighted retrieval techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction.

CHK-e6aad87f7547071ec2d8302a

in). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
PIE dynamic retrieval (Shypula et al., 2024)
2024
171
L
Retrieves the slow–fast program pairs most similar to the input and uses them as few-shot examples for optimization.
EFF
Speedup (Best@8), PIE, CodeLlama 34B: CoT 1.30×\times →\to 2.28×\times
mixed
✓
LAIL (Li et al., 2025c)
2025
92
L
Labels candidate examples by how much they raise the LLM’s likelihood of the reference program; trains a contrastive retriever on these labels.
R/M
Human code-quality score: best example selector 1.738 →\to 1.839
↑\uparrow
–
KPC (Ren et al., 2023)
2023
50
L
Builds an exception-handling knowledge base from Java API documentation; chained prompts check generated code for unhandled exceptions and rewrite it.
R/M
Good exception-handling practice (manual review), GPT-3.5: direct 14.58% →\to 98.86%
↑\uparrow
✓
RAPGen (Garg et al., 2025)
2025
36
L
Retrieves an instruction from a knowledge base of past performance-bug fixes and builds a zero-shot fix prompt from it.
EFF
Expert-judged closest-match top-100 accuracy, C# fixes, GPT-3.5: reasoning prompt 43.2 →\to 60.6
nr

CHK-b7d27b4d221dc303b67562cd

ce-bug fixes and builds a zero-shot fix prompt from it.
EFF
Expert-judged closest-match top-100 accuracy, C# fixes, GPT-3.5: reasoning prompt 43.2 →\to 60.6
nr
–
CodeGuarder (Lin et al., 2025a)
2025
30
L
Decomposes the query into sub-tasks, retrieves root causes and secure samples, re-ranks by model susceptibility, injects them into the prompt.
SEC
Security rate, CyberSecEval, average over LLMs: RACG without security knowledge 60.84 →\to 73.08
↑\uparrow
–
RAS (Anupam et al., 2026)
2026
6
R
Beam search over candidate optimizations; slow–fast exemplars are retrieved by an LLM-written natural-language description of the program.
EFF
Average speedup, PIE, Qwen3-Coder: dynamic retrieval 4.23×\times →\to 8.70×\times
↑\uparrow
✓
SemOpt (Zhao et al., 2026b)
2026
6
R
Builds a strategy library from optimization commits; LLM-written Semgrep rules locate applicable code; the LLM applies the matched strategy.
EFF
Equivalence to developer patch (manual), C/C++, DeepSeek-V3: BM25 RAG 23.80% →\to 42.38%
nr
✓
AutoPatch (Seo et al., 2025)
2025
7
R
Matches generated code to post-cutoff CVEs in a retrieval database, verifies the vulnerability, and patches with the retrieved CVE context.
SEC
Patch accuracy, authors’ CVE dataset: VSP 55.56% →\to 94.12% (GPT-4o)
nr
✓
PEACE (Ren et al., 2025)
2025
11
R

CHK-11adf2eea1509cf506b73001

, and patches with the retrieved CVE context.
SEC
Patch accuracy, authors’ CVE dataset: VSP 55.56% →\to 94.12% (GPT-4o)
nr
✓
PEACE (Ren et al., 2025)
2025
11
R
Optimizes functions in dependency order, guided by filtered historical edits; a fine-tuned optimizer also uses similar internal and external fast implementations.
EFF
Opt rate (%, CPU instructions vs. GPT-4o prompting), PeacExec: SBLLM +28.5 →\to +46.9
↑\uparrow
✓
MA-CoT (Kharma et al., 2026b)
2026
2
R
Classifies the task into security domains with an LLM, retrieves matching CWE mitigation strategies from a knowledge base, and builds them into the prompt.
SEC
Total security findings (SonarQube, expert-validated), authors’ primary dataset, three LLMs: Vanilla 92 →\to 39
nr
–
Decoding
Table S37. Further decoding-time results (highlighted techniques are in Table S38).
Values as reported by the authors; settings differ, so values are not directly comparable.
Method
Dim.
Setting (model; benchmark; metric)
Reported
Type-constrained (Mündler et al., 2025)
COR
2B–34B; HumanEval (TypeScript); compiler-error reduction
74.8%
MRepE (Gao et al., 2026)
R/M
DeepSeek-R1 14B; MBPP; correctness loss
0.79%
CodeT (Chen et al., 2023)
COR
code-davinci-002; HumanEval; pass@1
65.8%
S* (Li et al., 2025a)
COR
R1-Distill-Qwen-32B; LiveCodeBench; accuracy
85.7%
Table S38.

CHK-27235ba5ab9a1ca8a8aa3d17

CodeT (Chen et al., 2023)
COR
code-davinci-002; HumanEval; pass@1
65.8%
S* (Li et al., 2025a)
COR
R1-Distill-Qwen-32B; LiveCodeBench; accuracy
85.7%
Table S38. Highlighted decoding and selection techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
PG-TD, length reward (Zhang et al., 2023b)
2023
272
L
Tree search during decoding; replacing the test reward with a length penalty or comment reward controls code style.
R/M
code length, APPS: default reward 248.42 →\to length penalty 190.73
↔\leftrightarrow
✓
Constrained beam sampling (Fu et al., 2024)
2024
61
L
Beam sampling with hand-written positive and negative key-phrase constraints per prompt, enforcing secure API patterns.
SEC
secure-pass@1, CodeGen-2.7B, CodeGuard+: beam 33.77 →\to 51.25
mixed
✓
RPG (Dong et al., 2025b)
2025
15
L
A grammar-based pushdown automaton detects structural repetition during decoding and decays the likelihood of tokens causing it.
R/M
TR-S (lower is better), real-world repos: greedy 0.631, repetition penalty 0.358, RPG 0.335

CHK-93fc57d82832fb311f412165

during decoding and decays the likelihood of tokens causing it.
R/M
TR-S (lower is better), real-world repos: greedy 0.631, repetition penalty 0.358, RPG 0.335
↑\uparrow
✓
Surprisal-guided selection (Barnes, 2026)
2026
1
R
Among correct samples, keeps the one with the highest surprisal (lowest model confidence) instead of the most confident.
EFF
fast and correct, GPT-OSS-120B, KernelBench L1 subset: most confident 50% →\to 80%
nr
–
DuoSteer (Yan and Yao, 2026)
2026
0
R
Adds safety and correctness steering vectors at causally identified attention heads during inference.
SEC
vulnerability rate, Llama-3.1-8B-Instruct, five CWEs: average change −-26.9% vs. unsteered
↑\uparrow
✓
FunPRM (Zhang et al., 2026)
2026
4
R
Prompts for code written function by function, treats each function as a step, and selects best-of-NN with a meta-corrected process reward model.
R/M
readability preference, Qwen2.5-7B-Coder, correct pairs: base 45.8 vs. FunPRM 54.2
↑\uparrow
–
SCS-Code (Wendlinger et al., 2026)
2026
1
R
Adds a difference-in-means secure-code concept vector to the residual stream at inference.
SEC
sec-pass@1, DeepSeek-Coder-V2-Lite, CodeGuard+: unsteered 52.8 →\to 60.3
mixed
✓
MoC (Yu et al., 2025)
2025
6
L
Per-CWE linear probes on hidden states flag a vulnerable state; only then a decaying mix of per-CWE correction vectors is added to the hidden state.
SEC

CHK-ed7b381a09323ab4455fceb5

25
6
L
Per-CWE linear probes on hidden states flag a vulnerable state; only then a decaying mix of per-CWE correction vectors is added to the hidden state.
SEC
Security ratio (CodeQL), SVEN test set, Qwen2.5-Coder-7B: base 76.8 →\to 85.7 (learned dynamic corrections)
↑\uparrow
✓
SecCodePRM (Yu et al., 2026b)
2026
1
R
A process reward model, trained on step-level labels derived from vulnerability-fix diffs, scores each code step; best-of-NN keeps the candidate with the highest risk-weighted security reward.
SEC
func-sec@1, CWEval, QC3-30B generator, best of 20: probability ranking 41.64 →\to 54.62 (QwenPRM 47.90)
↑\uparrow
✓
RobGen (Li et al., 2025h)
2025
8
L
A small classifier predicts whether the next line should open an if guard; when if is among the three most likely tokens, a logits processor raises its logit.
SEC
Outputs judged less robust than the reference (GPT-4o), CoderEval Java, DeepSeekCoder-1.3B: greedy 42.2% →\to 28.7% (lower is better)
↑\uparrow
✓
Training
Table S39. Reported effects of further training-time techniques; the highlighted ones are in Table S40 (signal source in parentheses; PO = preference optimization; awith two-step generation; bas stated by the authors). Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Method
Signal
Base model
Target effect
COR effect
HexaCoder
SFT (CodeQL)
four LLMs

CHK-154e139c8e39addf515b445f

authors; settings differ across rows, so values are not directly comparable.
Method
Signal
Base model
Target effect
COR effect
HexaCoder
SFT (CodeQL)
four LLMs
SEC ↑\uparrow up to 85% fewer vulnerablea (3 benchmarks)
↔\leftrightarrowb
ProSec
PO (CWE tasks)
several code LLMs
SEC ↑\uparrow 25.2%–35.4% vs. SafeCoder data (PurpleLlama)
↔\leftrightarrowb
PurpCode
SFT+RL
Qwen2.5-32B
SEC ↑\uparrow 12% over next best (CyberSecEval)
↔\leftrightarrowb
SecCoderX
RL (learned RM)
CodeLlama-7B, Qwen2.5-Coder
SEC×\timesCOR ↑\uparrow ESR about 10%
in ESR
PIE
SFT (gem5)
GPT-3.5
EFF ↑\uparrow 6.86 speedup, best of 8 (PIE)
filtered
EffiCoder
SFT (profiler)
Qwen2.5-Coder-7B-Instr.
EFF ↑\uparrow time 48.4% lower (EffiBench)
44.8%→\to57.7%
ACECode
RL (execution)
four code LLMs
EFF ↑\uparrow faster in 65%–72%
1.84%–14.51% ↑\uparrow
Afterburner
RL (sandbox)
Qwen2.5-3B
EFF ↑\uparrow beats humans 31%→\to45% (Venus)
47%→\to62%
SuperCoder
RL (speedup)
Qwen2.5-Coder-7B-Instr.
EFF ↑\uparrow 1.10x→\to1.46x vs. -O3
61.4%→\to95.0%
RLPF
RL (runtime)
Qwen3-32B
EFF ↑\uparrow 8.1%→\to38.6% rel. efficiency (PerfCodeBench)
11.1%→\to54.6%
Table S40. Highlighted training techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026.

CHK-486125a776ab26446be87c16

rks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable.
Technique
Year
Cit.
L/R
Core idea
Target
Reported result
COR
Code
SVEN (He and Vechev, 2023)
2023
337
L
Learns property-specific prefixes with region-specific losses on vulnerability-fix diffs; LM weights unchanged.
SEC
Secure rate, CodeGen-2.7B: original LM 59.1% →\to 92.3%
mixed
✓
SafeCoder (He et al., 2024)
2024
110
L
Joint standard and security instruction tuning; masked likelihood on secure code, masked unlikelihood on vulnerable code.
SEC
Code security, StarCoder-1B: standard instr. tuning 62.9 →\to 92.1
↔\leftrightarrow
✓
CodeUltraFeedback (Weyssow et al., 2026)
2026
81
L
GPT-3.5 judge rates responses of many LLMs on five coding preferences; SFT then DPO on the ratings.
R/M, EFF (judged)
Judge score, complexity/efficiency, CodeLlama-7B-Instr.: base 6.16 →\to 7.89
↑\uparrow
✓
CodeDPO (Zhang et al., 2025a)
2025
63
L
Ranks self-generated code and tests by PageRank-style mutual validation, adds fastest-versus-slowest pairs, trains with DPO.
EFF
Mean time (s), HumanEval+, commonly solved: before 0.250 →\to 0.172
↑\uparrow
✓

CHK-ac134294c7ce1fcc0633ab51

tyle mutual validation, adds fastest-versus-slowest pairs, trains with DPO.
EFF
Mean time (s), HumanEval+, commonly solved: before 0.250 →\to 0.172
↑\uparrow
✓
Afterburner (Du et al., 2025)
2025
20
R
GRPO with execution-time rewards inside an iterative optimization loop that feeds back measured performance.
EFF
Beyond-I, Venus, Qwen2.5-3B: 31% →\to 45%
↑\uparrow
✓
PurpCode (Liu et al., 2025a)
2025
23
R
Rule-learning SFT on safety rules, then GRPO with multi-objective rewards from code analyzers, tests and a learned verifier.
SEC
Secure code, CodeLMSec, Qwen2.5-32B: base 29.2 →\to 94.8
↔\leftrightarrow
✓
SmellCC data (Xue et al., 2026b)
2026
9
R
Removes code smells from the fine-tuning corpus by LLM-based refactoring before training.
R/M
SonarQube smells, DeepSeek-V1: 61.0% fewer than fine-tuning on the original data
↑\uparrow
✓
SecCoderX (Wu et al., 2026a)
2026
5
R
Online GRPO against a CWE-conditioned reasoning vulnerability reward model, with rewards that preserve functionality.
SEC
Safety rate vs. the unaligned model: 11%–16% gain
mixed
✓
REAL (Yao et al., 2025)
2025
12
R
RL whose reward combines program-analysis detection of security or maintainability issues with unit-test results.
SEC, R/M
Quality, SecCodePLT+, Qwen2.5-Coder-7B: SFT 0.5122 →\to 0.8293
↑\uparrow
✓
MPCoder (Dai et al., 2024)
2024
33
L

CHK-f6b5bf57d37dbcb4054493e7

ability issues with unit-test results.
SEC, R/M
Quality, SecCodePLT+, Qwen2.5-Coder-7B: SFT 0.5122 →\to 0.8293
↑\uparrow
✓
MPCoder (Dai et al., 2024)
2024
33
L
Learns Checkstyle style attributes through residual prompts, per-user style vectors, and a contrastively trained multi-user style adapter gated into the output distribution.
R/M
Coding Style Score (similarity to the user’s own Java style), CodeLlama-7B-Instr., PCISparse: base 46.29 →\to 66.18 (single-user L-LDB 61.09)
mixed
✓
S19. The model landscape: sampling, reasoning, cutoffs and vendor reports
S19.1. Overview of the 2025–2026 models
Most techniques in §§– of the main article were evaluated on now-superseded models. Table S9 (§S7.3) lists frontier closed and major open-weight and code-specialized models released January 2025 to October 2026, under vendor names, with vendor-reported coding scores, architecture and training cutoffs; the Supplementary Material (§S5) lists every release with its month and source. The experiments (§) use a fixed subset.
S19.1.1. Frontier and open-weight models
Frontier closed models.
Frontier vendors now ship tiered flagships every few months.

CHK-ccc71b85d440b40fbaf87126

xperiments (§) use a fixed subset.
S19.1.1. Frontier and open-weight models
Frontier closed models.
Frontier vendors now ship tiered flagships every few months. Anthropic’s fifth generation adds a top tier, Claude Fable, alongside Claude Mythos variants whose most sensitive capabilities go to vetted users via a trusted access program (Anthropic, 2026h); current models are Claude Fable 5.1, Opus 5.5, Sonnet 5.5 and Haiku 5.5 (Anthropic, 2026f). OpenAI moved to three tiers per generation: GPT-5.6 Sol, Terra and Luna (OpenAI, 2026g), then GPT-6 Astra, Sol and Luna (OpenAI, 2026i). Google’s Gemini 2.5 and Gemini 4 Argon are sparse mixture-of-experts (MoE) models (Comanici et al., 2025; Google DeepMind, 2026d), and xAI’s recent cards name the vendor SpaceXAI, “a doing-business-as (DBA) name of XAI LLC” (SpaceXAI, 2026b).
Open-weight and code models.
The largest open-weight models are MoEs from DeepSeek, Qwen, Z.ai, Moonshot, MiniMax and Xiaomi, up to 2.4T total and 95B active parameters for Qwen3.8 (Qwen Team, 2026e). Western releases are mostly smaller (gpt-oss, Gemma, Llama 4, Olmo, Muse Glimmer), except NVIDIA’s Nemotron 3 Ultra and Mistral Large 4 (weights announced, not yet released).

CHK-ebb9708ea3b7551df69606e4

es are mostly smaller (gpt-oss, Gemma, Llama 4, Olmo, Muse Glimmer), except NVIDIA’s Nemotron 3 Ultra and Mistral Large 4 (weights announced, not yet released). Technical reports describe DeepSeek-R1 (DeepSeek-AI et al., 2025a), Kimi k1.5, K2 and K2.5 (Team et al., 2025c; Team et al., 2025b; Team et al., 2026b), MiniMax-M1 (MiniMax et al., 2025a), Magistral (Mistral-AI et al., 2025), OLMo 2 (OLMo et al., 2024), Llama-Nemotron (Bercovich et al., 2025), and Gemma 3 and Gemma 4 (Team et al., 2025a; Team et al., 2026a), the latter pairing dense and MoE variants; Ai2’s Olmo 3 also releases its training data (Olmo et al., 2025). Code-specialized releases include Meta’s CWM (FAIR CodeGen team et al., 2025), Qwen3-Coder and Qwen3-Coder-Next (Qwen Team, 2025d; Cao et al., 2026), Mistral’s Devstral (Mistral AI, 2025c) and Ai2’s SERA coding agents (Shen et al., 2026b).
Benchmarks.
Vendor benchmarks changed as fast as the models. By September 2026 the top SWE-bench Verified entry on the vals.ai leaderboard (grey literature) reached 97.00% (Vals AI, 2026), and OpenAI “stopped reporting SWE-bench Verified scores” in February 2026 (OpenAI, 2026m). Recent cards report SWE-bench Pro (a public set plus held-out and proprietary commercial repository sets) (Deng et al., 2026b), Terminal-Bench 2.0 to 4.0 (Merrill et al., 2026) and DeepSWE.

CHK-5729bee26d7a41c5b314a21d

 Pro (a public set plus held-out and proprietary commercial repository sets) (Deng et al., 2026b), Terminal-Bench 2.0 to 4.0 (Merrill et al., 2026) and DeepSWE. On Terminal-Bench 2.1, open models report 90.6% (DeepSeek-V4.1-Flash, above Claude Opus 5 at 89.1%) (DeepSeek-AI, 2026d), 88.3 (Kimi K3) (Moonshot AI, 2026c) and 88.2 (GLM-5.3) (Z.ai, 2026g), against 88.8% for GPT-5.6 Sol (OpenAI, 2026g). Harnesses differ, so the numbers are not comparable, but open weights, required for decoding- and training-time techniques (§, §), no longer trail far on correctness.
How vendors moved away from user-controlled sampling, what reasoning models change for code quality, the training cutoffs that define our contamination windows, and what vendors themselves report about code quality are detailed in the following subsections.
S19.2. The Retreat From Sampling Control
From Claude Opus 4.7 onward, non-default temperature, top_p or top_k values on Anthropic’s models “return a 400 error on every request, regardless of whether thinking is used”; older models restrict them only with thinking on (Anthropic, 2026i). OpenAI’s GPT-6 guide says to drop temperature and top_p unless reasoning effort is none (OpenAI, 2026l). Google recommended Gemini 3’s default temperature of 1.0 (Google, 2026a), and for Gemini 4 Argon sampling parameters “are ignored” (Google, 2026f).

CHK-d6be28f071504c74d62378b8

nAI, 2026l). Google recommended Gemini 3’s default temperature of 1.0 (Google, 2026a), and for Gemini 4 Argon sampling parameters “are ignored” (Google, 2026f). xAI’s reasoning models cannot turn reasoning off and reject penalty and stop parameters (SpaceXAI, 2026c). Only an effort level remains. Greedy decoding and temperature sweeps, the usual pass@kk setting in the surveyed papers, are not reproducible on these APIs; variance must come from repeated samples at a recorded effort, and logit-level techniques (§) need open weights.
S19.3. Reasoning Models and Code Quality
Most flagships since mid-2025 are reasoning models with adjustable effort. Vendors report effort’s effect on correctness and cost, not quality; independent evidence covers only security. On CWEval, o4-mini produced secure code more often than the non-reasoning Claude 3.7 Sonnet, yet a non-reasoning model in an agentic workflow matched it (Saul et al., 2025). SecPI reports that “even state-of-the-art RLMs frequently introduce critical security vulnerabilities” and that generic security reminders “consistently degrade functional correctness” (Wang et al., 2026d). We found no study of reasoning effort’s effect on readability, maintainability or efficiency. Hidden reasoning also complicates compute fairness: an added critique step competes with the model’s own deliberation (§).
S19.4.

CHK-fee72cebd4ad5793fb0ae0bd

maintainability or efficiency. Hidden reasoning also complicates compute fairness: an added critique step competes with the model’s own deliberation (§).
S19.4. Training Cutoffs and Contamination Windows
Stated cutoffs range from June 2024 for gpt-oss (OpenAI et al., 2025) and GPT-4.1 (OpenAI, 2025h), and August 2024 for Llama 4 and Gemma 3 (Meta, 2025; Google DeepMind, 2025a), to Jun 2026 for Anthropic’s current models (Anthropic, 2026f) and June 2026 pretraining for Grok 4.7 (SpaceXAI, 2026a). Two details widen these windows. Some vendors date data separately: Nemotron 3 Ultra’s pre-training data runs to September 2025 and its post-training data to May 2026 (NVIDIA, 2026f), and Grok 4.6 used “data generated as late as June 2026 in its supplemental training” (SpaceXAI, 2026b). And DeepSeek, Qwen, Z.ai and Moonshot state no cutoff in the sources we examined, so date splits for them must first probe the cutoff; open training data, as in Olmo 3 (Olmo et al., 2025), permits a direct audit. Memorization of older benchmarks is documented: from issue text alone, models find the buggy file of a SWE-bench Verified issue with “up to 76% accuracy”, against “up to 53%” on other repositories (Liang et al., 2026), and agents degrade without familiar repository cues (Chen et al., 2026d).

CHK-a9ed67463450a8e4a20a8d7e

 “up to 76% accuracy”, against “up to 53%” on other repositories (Liang et al., 2026), and agents degrade without familiar repository cues (Chen et al., 2026d). Date-tagged benchmarks allow evaluation “only on time-windows after the model’s cutoff date” (Jain et al., 2025), but with frontier cutoffs in mid-2026 such windows hold only months of tasks. See § for benchmark choice under this constraint; § reports contaminated and post-cutoff splits separately.
S19.5. What Vendors Report About Code Quality
The NF column of Table S9 is mostly nr. On security, Qwen reports SecCodeBench and CWEval (Cao et al., 2026; Qwen Team, 2026b), Meta CyberSecEval insecure-code tests (Meta, 2026f), and xAI an internal eval, SecureCodeReview (SpaceXAI, 2026b). On efficiency, MiniMax reports SWE-Perf, SWE-fficiency and KernelBench Hard (MiniMax, 2025b; MiniMax, 2026a). Closest to maintainability is FrontierCode, which “measures whether AI-generated pull requests would be mergeable by open-source maintainers, measuring behavioral correctness, regression safety, scope discipline, style, and adherence to codebase conventions” (SpaceXAI, 2026b); Google, OpenAI and Anthropic also report it (Google DeepMind, 2026b; OpenAI, 2026i; Anthropic, 2026d), but since it includes correctness it does not isolate R/M.

CHK-57d669cac1ae9e6455e746a3

oogle, OpenAI and Anthropic also report it (Google DeepMind, 2026b; OpenAI, 2026i; Anthropic, 2026d), but since it includes correctness it does not isolate R/M. Mistral adds a blind human rating of “coding quality” (Mistral AI, 2026b), and OpenAI an extraneous-edit rate (OpenAI, 2025h). No vendor reports complexity, code smells or lint violations, and system-card cyber-security sections measure offensive capability, not ordinary generated code’s security. Independently, a SonarQube analysis of 4,442 Java assignments found “no direct correlation” between pass@1 and “the overall quality and security” of the generated code (Sabra et al., 2025).
S20. Related surveys and publication trends
Table S41. Existing secondary studies compared with this review. Dims: quality dimensions treated as
a focus (R/M, EFF, SEC); “–” means none. Exp.: whether the study runs its own
experiments. Years and study counts as stated by each survey (nr: not stated). Values as
reported by the original authors; settings differ across rows, so values are not directly
comparable.
Study
Scope
Dims
Technique coverage
Exp.
Years
Studies
Hou et al. (2024)
LLMs for software engineering
–
Model use, data, tuning, evaluation by task
no
2017–2024
395
Jiang et al. (2026)
LLM code generation
–
Data, training, prompting, retrieval, agents
no
nr
235
Dong et al. (2025a)
LLM-based code generation agents
–

CHK-8afccfabeb6f46342408c847

024
395
Jiang et al. (2026)
LLM code generation
–
Data, training, prompting, retrieval, agents
no
nr
235
Dong et al. (2025a)
LLM-based code generation agents
–
Single- and multi-agent architectures
no
2022–2025
nr
Yang et al. (2024c)
Non-functional properties of code models
SEC; efficiency of models, not code
Evaluation and enhancement methods per property
no
nr
146
Kamoi et al. (2024)
Self-correction of LLMs (all tasks)
–
Intrinsic and external feedback, fine-tuning
no
nr
nr
Chochlov et al. (2026)
Secondary studies of LLM code generation (tertiary)
–
Effects, scenarios, integration challenges
no
2017–2025
30
Tony et al. (2025)
Prompting for secure code
SEC
Prompting only
yes
from 2018
13
Basic and Giaretta (2024)
LLMs in code security
SEC
Prompting; vulnerability detection and repair
no
to early 2026
102
Patir et al. (2026)
Secure code generation (SoK)
SEC
Prompting, fine-tuning, RL, agentic workflows
yes
2021–2026
nr
Matias et al. (2026)
Maintainability and evolvability
R/M
Mitigation strategies
no
2020–2024
87
Ehsani et al. (2026b)
Technical debt (multivocal)
R/M
Mitigation strategies, metrics, tools
no
to 2026
104
Alomari et al. (2026)
LLMs to enhance code quality
R/M
Refactoring, smell detection; prompting, fine-tuning
no
to 2024
49
Gong et al. (2025b)
LM-based code optimization
EFF
Code optimization techniques
no
nr
53
Ali et al. (2026)

CHK-e81463d4a79473f2a0df0da1

mell detection; prompting, fine-tuning
no
to 2024
49
Gong et al. (2025b)
LM-based code optimization
EFF
Code optimization techniques
no
nr
53
Ali et al. (2026)
Energy efficiency of LLM-generated code
EFF
Prompting and fine-tuning strategies
no
nr
18
He et al. (2026b)
Training-data causes of code quality issues
R/M, EFF, SEC
Detection and mitigation across data, model and generation
no
2021–2026
114
Sun et al. (2026)
Non-functional quality of generated code (ISO/IEC 25010)
R/M, EFF, SEC
Prompting and feedback strategies
small
2022–2025
109
This review
Techniques that improve LLM code quality
R/M, EFF, SEC (COR as control)
Seven families, faceted by stage and signal source
yes
2021–2026
628
Figure S1. Left: included studies per year by technique family (2026 covers January to mid-October). Right: benchmarks used by included studies per year (top 12). Counts from LLM-assisted extraction reviewed by the author.Two stacked bar charts by year: included studies per technique family, and the twelve most used benchmarks.
References
Abtahi and Azim (2025)
Seyed Moein Abtahi and Akramul Azim.
Augmenting Large Language Models with Static Code Analysis for
Automated Code Quality Improvements.
In 2025 IEEE/ACM Second International Conference on AI
Foundation Models and Software Engineering (Forge), pages 82–92, 2025.
doi: 10.1109/forge66646.2025.00017.
Acharya et al. (2025)

CHK-61d23171ac8c4690f6be1560

International Conference on AI
Foundation Models and Software Engineering (Forge), pages 82–92, 2025.
doi: 10.1109/forge66646.2025.00017.
Acharya et al. (2025)
Manish Acharya, Yifan Zhang, Kevin Leach, and Yu Huang.
Optimizing Code Runtime Performance Through Context-Aware
Retrieval-Augmented Generation.
In 2025 IEEE/ACM 33rd International Conference on Program
Comprehension (ICPC), pages 1–5, 2025.
doi: 10.1109/icpc66645.2025.00028.
Agentica and
AI (2025a)
Agentica and Together AI.
DeepCoder: A Fully Open-Source 14B Coder at O3-mini Level.
Vendor documentation, 2025a.
URL https://www.together.ai/blog/deepcoder.
Agentica and AI (2025b)
Agentica and Together AI.
DeepSWE: Training a Fully Open-sourced, State-of-the-Art Coding
Agent by Scaling RL.
Vendor documentation, 2025b.
URL https://www.together.ai/blog/deepswe.
Agyekum and Santos (2026)
Benjamin Agyekum and Fabio Santos.
Does Fixing Break Security? An Empirical Study of Security
Degradation in Iterative LLM-Driven Infrastructure-as-Code Repair.
arXiv preprint arXiv:2608.13404, 2026.
arXiv:2608.13404.
Ai2 (2025a)
Ai2.
allenai/OLMo-2-0425-1B.
Vendor documentation, 2025a.
URL https://huggingface.co/allenai/OLMo-2-0425-1B.
Ai2 (2025b)
Ai2.
Olmo 3: Charting a path through the model flow to lead open-source
AI.
Vendor documentation, 2025b.
URL https://allenai.org/blog/olmo3.
Ai2 (2025c)
Ai2.

CHK-cdda11dd65407042694b4606

)
Ai2.
Olmo 3: Charting a path through the model flow to lead open-source
AI.
Vendor documentation, 2025b.
URL https://allenai.org/blog/olmo3.
Ai2 (2025c)
Ai2.
OLMo 2 32B: First fully open model to outperform GPT 3.5 and GPT 4o
mini.
Vendor documentation, 2025c.
URL https://allenai.org/blog/olmo2-32B.
Ai2 (2025d)
Ai2.
OLMoE, meet iOS.
Vendor documentation, 2025d.
URL https://allenai.org/blog/olmoe-app.
Ai2 (2025e)
Ai2.
Scaling the Tülu 3 post-training recipes to surpass the performance
of DeepSeek V3.
Vendor documentation, 2025e.
URL https://allenai.org/blog/tulu-3-405b.
Ai2 (2026a)
Ai2.
allenai/SERA-14B.
Vendor documentation, 2026a.
URL https://huggingface.co/allenai/SERA-14B.
Ai2 (2026b)
Ai2.
allenai/SERA-32B.
Vendor documentation, 2026b.
URL https://huggingface.co/allenai/SERA-32B.
Ai2 (2026c)
Ai2.
Introducing Olmo Hybrid: Combining transformers and linear RNNs for
superior scaling.
Vendor documentation, 2026c.
URL https://allenai.org/blog/olmohybrid.
Ai2 (2026d)
Ai2.
Open Coding Agents: Fast, accessible coding agents that adapt to any
repo.
Vendor documentation, 2026d.
URL https://allenai.org/blog/open-coding-agents.
Akli et al. (2026)
Amal Akli, Mike Papadakis, Maxime Cordy, and Yves Le Traon.
When Prompt Under-Specification Improves Code Correctness: An
Exploratory Study of Prompt Wording and Structure Effects on LLM-Based Code
Generation.

CHK-43ddc0d738688644825ba5e7

Le Traon.
When Prompt Under-Specification Improves Code Correctness: An
Exploratory Study of Prompt Wording and Structure Effects on LLM-Based Code
Generation.
arXiv preprint arXiv:2604.24712, 2026.
arXiv:2604.24712.
Ali et al. (2026)
Sabiya Banu Masthan Ali, Syed Muhammad Danish, Aroosa Hameed, Oussema Kirmani,
and Gautam Srivastava.
Energy-Efficient Code Generation Using Large Language Models: A
Systematic Literature Review.
arXiv preprint arXiv:2603.00989, 2026.
arXiv:2603.00989.
Alibaba Cloud (2026)
Alibaba Cloud.
Model lifecycle and updates.
Vendor documentation, 2026.
URL
https://www.alibabacloud.com/help/en/model-studio/newly-released-models.
All Hands AI (2025)
All Hands AI.
Introducing OpenHands LM 32B – A Strong, Open Coding Agent Model.
Vendor documentation, 2025.
URL
https://www.openhands.dev/blog/introducing-openhands-lm-32b----a-strong-open-coding-agent-model.
Alomari et al. (2026)
Nawaf Alomari, Moussa Redah, Ahmad Ashraf, and Mohammad Alshayeb.
Using LLMs to enhance code quality: A systematic literature review.
Information and Software Technology, 190:107960,
2026.
doi: 10.1016/j.infsof.2025.107960.
Alrashedy et al. (2023)
Kamel Alrashedy, Abdullah Aljasser, Pradyumna Tambwekar, and Matthew Gombolay.
Can LLMs Patch Security Issues?
arXiv preprint arXiv:2312.00024, 2023.
arXiv:2312.00024.
Amazon (2025a)
Amazon.

CHK-d6b5b875dbbfec63506a49e8

ser, Pradyumna Tambwekar, and Matthew Gombolay.
Can LLMs Patch Security Issues?
arXiv preprint arXiv:2312.00024, 2023.
arXiv:2312.00024.
Amazon (2025a)
Amazon.
Amazon Nova Premier, our most capable model for complex tasks and
teacher for model distillation.
Vendor documentation, 2025a.
URL
https://aws.amazon.com/about-aws/whats-new/2025/04/amazon-nova-premier-complex-tasks-model-distillation/.
Amazon (2025b)
Amazon.
Announcing Amazon Nova 2 foundation models now available in Amazon
Bedrock.
Vendor documentation, 2025b.
URL
https://aws.amazon.com/about-aws/whats-new/2025/12/nova-2-foundation-models-amazon-bedrock/.
Anthropic (2025a)
Anthropic.
Claude Sonnet 4.5.
Vendor documentation, 2025a.
URL
https://platform.claude.com/docs/en/models/sonnet-4-5/overview.md.
Anthropic (2025b)
Anthropic.
Introducing Claude Sonnet 4.5.
Vendor documentation, 2025b.
URL https://www.anthropic.com/news/claude-sonnet-4-5.
Anthropic (2026a)
Anthropic.
Claude Fable 5.
Vendor documentation, 2026a.
URL
https://platform.claude.com/docs/en/models/fable-5/overview.md.
Anthropic (2026b)
Anthropic.
Claude Platform release notes.
Vendor documentation, 2026b.
URL
https://platform.claude.com/docs/en/release-notes/overview.md.
Anthropic (2026c)
Anthropic.
Claude Haiku 5.5.
Vendor documentation, 2026c.
URL
https://platform.claude.com/docs/en/models/haiku-5-5/overview.md.
Anthropic (2026d)
Anthropic.

CHK-2d86e3dccacf6f37c4f90a22

c)
Anthropic.
Claude Haiku 5.5.
Vendor documentation, 2026c.
URL
https://platform.claude.com/docs/en/models/haiku-5-5/overview.md.
Anthropic (2026d)
Anthropic.
Introducing Claude Opus 5.5.
Vendor documentation, 2026d.
URL https://www.anthropic.com/claude-opus-5-5.
Anthropic (2026e)
Anthropic.
Model deprecations.
Vendor documentation, 2026e.
URL
https://platform.claude.com/docs/en/about-claude/model-deprecations.md.
Anthropic (2026f)
Anthropic.
Models overview.
Vendor documentation, 2026f.
URL
https://platform.claude.com/docs/en/about-claude/models/overview.md.
Anthropic (2026g)
Anthropic.
Project Glasswing: Securing critical software for the AI era.
Vendor documentation, 2026g.
URL https://www.anthropic.com/glasswing.
Anthropic (2026h)
Anthropic.
System Card: Claude Fable 5 & Claude Mythos 5.
Vendor documentation, 2026h.
URL
https://www-cdn.anthropic.com/57a52ea7d8f0e54e8a542e908266086df425cdf5/Claude%20Fable%205%20&%20Claude%20Mythos%205%20System%20Card.pdf.
Anthropic (2026i)
Anthropic.
Thinking.
Vendor documentation, 2026i.
URL
https://platform.claude.com/docs/en/build-with-claude/thinking.md.
Anupam et al. (2026)
Sagnik Anupam, Alexander Shypula, and Osbert Bastani.
LLM Program Optimization via Retrieval Augmented Search.
In Findings of the Association for Computational Linguistics:
ACL 2026, pages 42170–42186, 2026.
doi: 10.18653/v1/2026.findings-acl.2092.
Apsan et al.

CHK-1136dbe38a4260565a22c99d

d Search.
In Findings of the Association for Computational Linguistics:
ACL 2026, pages 42170–42186, 2026.
doi: 10.18653/v1/2026.findings-acl.2092.
Apsan et al. (2026)
Radu Apsan, Vincenzo Stoico, Michel Albonico, Rudra Dhar, Karthik
Vaidhyanathan, and Ivano Malavolta.
Generating Energy-Efficient Code via Large-Language Models - Where
are we now?
In Proceedings of the 2026 IEEE/ACM 48th International
Conference on Software Engineering, pages 426–439, 2026.
doi: 10.1145/3744916.3764522.
Arcee AI (2025a)
Arcee AI.
Arcee Debuts Trinity Mini, Expanding Its U.S.-Built Model Line.
Vendor documentation, 2025a.
URL https://www.arcee.ai/blog/the-trinity-manifesto.
Arcee AI (2025b)
Arcee AI.
Deep Dive: AFM-4.5B, the First Arcee Foundation Model.
Vendor documentation, 2025b.
URL
https://www.arcee.ai/blog/deep-dive-afm-4-5b-the-first-arcee-foundational-model.
Arcee AI (2026a)
Arcee AI.
Trinity Large: An Open 400B Sparse MoE Model.
Vendor documentation, 2026a.
URL https://www.arcee.ai/blog/trinity-large.
Arcee AI (2026b)
Arcee AI.
Trinity-Large-Thinking: Scaling an Open Source Frontier Agent.
Vendor documentation, 2026b.
URL https://www.arcee.ai/blog/trinity-large-thinking.
Arimbur (2026)
Johin Johny Arimbur.
How Many Tries Does It Take? Iterative Self-Repair in LLM Code
Generation Across Model Scales and Benchmarks.
arXiv preprint arXiv:2604.10508, 2026.
arXiv:2604.10508.
Asare et al.

CHK-44f10ab3ed28bc1eed7d5c61

 It Take? Iterative Self-Repair in LLM Code
Generation Across Model Scales and Benchmarks.
arXiv preprint arXiv:2604.10508, 2026.
arXiv:2604.10508.
Asare et al. (2023)
Owura Asare, Meiyappan Nagappan, and N. Asokan.
Is GitHub’s Copilot as bad as humans at introducing
vulnerabilities in code?
Empirical Software Engineering, 28(6):129,
2023.
doi: 10.1007/s10664-023-10380-1.
Ashrafi (2026)
Nazmus Ashrafi.
How Generation Architecture Shapes Code Complexity in Multi-Agent
LLM Systems: A Paired Study on HumanEval.
arXiv preprint arXiv:2606.00308, 2026.
arXiv:2606.00308.
Austin et al. (2021)
Jacob Austin, Augustus Odena, Maxwell Nye, et al.
Program Synthesis with Large Language Models.
arXiv preprint arXiv:2108.07732, 2021.
arXiv:2108.07732.
Badertdinov et al. (2025)
Ibragim Badertdinov, Alexander Golubev, Maksim Nekrashevich, Anton Shevtsov,
Simon Karasik, Andrei Andriushchenko, Maria Trofimova, Daria Litvintseva, and
Boris Yangel.
SWE-rebench: An Automated Pipeline for Task Collection and
Decontaminated Evaluation of Software Engineering Agents.
arXiv preprint arXiv:2505.20411, 2025.
URL https://arxiv.org/abs/2505.20411.
Baidu (2025a)
Baidu.
Announcing the Open Source Release of the ERNIE 4.5 Model Family.
Vendor documentation, 2025a.
URL https://ernie.baidu.com/blog/posts/ernie4.5/.
Baidu (2025b)
Baidu.
Baidu Unveils ERNIE 4.5 and Reasoning Model ERNIE X1, Makes ERNIE

CHK-77bb1aec1b3f45aecbac2220

 documentation, 2025a.
URL https://ernie.baidu.com/blog/posts/ernie4.5/.
Baidu (2025b)
Baidu.
Baidu Unveils ERNIE 4.5 and Reasoning Model ERNIE X1, Makes ERNIE
Bot Free Ahead of Schedule.
Vendor documentation, 2025b.
URL
https://www.prnewswire.com/news-releases/baidu-unveils-ernie-4-5-and-reasoning-model-ernie-x1--makes-ernie-bot-free-ahead-of-schedule-302402490.html.
Baidu (2025c)
Baidu.
Baidu Launches ERNIE 4.5 Turbo, ERNIE X1 Turbo and New Suite of AI
Tools to Empower Developers and Supercharge AI Innovation.
Vendor documentation, 2025c.
URL
https://www.prnewswire.com/news-releases/baidu-launches-ernie-4-5-turbo-ernie-x1-turbo-and-new-suite-of-ai-tools-to-empower-developers-and-supercharge-ai-innovation-302438584.html.
Baidu (2025d)
Baidu.
Baidu Unveils Reasoning Model ERNIE X1.1 with Upgrades in Key
Capabilities.
Vendor documentation, 2025d.
URL
https://www.prnewswire.com/news-releases/baidu-unveils-reasoning-model-ernie-x1-1-with-upgrades-in-key-capabilities-302551170.html.
Baidu (2025e)
Baidu.
Baidu Unveils ERNIE 5.0 and a Series of AI Applications at Baidu
World 2025, Ramps Up Global Push.
Vendor documentation, 2025e.
URL
https://www.prnewswire.com/news-releases/baidu-unveils-ernie-5-0-and-a-series-of-ai-applications-at-baidu-world-2025--ramps-up-global-push-302614531.html.
Baidu (2026)
Baidu.
ERNIE 5.1 Officially Released! Topping Multiple Leaderboards — A

CHK-4fa4257eb1575265cae3bdaa

-ai-applications-at-baidu-world-2025--ramps-up-global-push-302614531.html.
Baidu (2026)
Baidu.
ERNIE 5.1 Officially Released! Topping Multiple Leaderboards — A
Model That Writes Better and Understands You More.
Vendor documentation, 2026.
URL https://ernie.baidu.com/blog/posts/ernie-5.1-0508-release/.
Baker et al. (2025)
Bowen Baker, Joost Huizinga, Leo Gao, et al.
Monitoring Reasoning Models for Misbehavior and the Risks of
Promoting Obfuscation.
arXiv preprint arXiv:2503.11926, 2025.
arXiv:2503.11926.
Barnes (2026)
Jarrod Barnes.
Surprisal-Guided Selection: Compute-Optimal Test-Time Strategies for
Execution-Grounded Code Generation.
arXiv preprint arXiv:2602.07670, 2026.
arXiv:2602.07670.
Baronio et al. (2025)
Carlo Baronio, Pietro Marsella, Ben Pan, Simon Guo, and Silas Alberti.
Kevin: Multi-Turn RL for Generating CUDA Kernels.
arXiv preprint arXiv:2507.11948, 2025.
URL https://arxiv.org/abs/2507.11948.
Basic and Giaretta (2024)
Enna Basic and Alberto Giaretta.
From Vulnerabilities to Remediation: A Systematic Literature Review
of LLMs in Code Security.
arXiv preprint arXiv:2412.15004, 2024.
arXiv:2412.15004.
Bercovich et al. (2025)
Akhiad Bercovich, Itay Levy, Izik Golan, et al.
Llama-Nemotron: Efficient Reasoning Models.
arXiv preprint arXiv:2505.00949, 2025.
arXiv:2505.00949.
Bhatt et al. (2023)
Manish Bhatt, Sahana Chennabasappa, Cyrus Nikolaidis, et al.

CHK-0fc4ded048caf5d837bd8fd3

ent Reasoning Models.
arXiv preprint arXiv:2505.00949, 2025.
arXiv:2505.00949.
Bhatt et al. (2023)
Manish Bhatt, Sahana Chennabasappa, Cyrus Nikolaidis, et al.
Purple Llama CyberSecEval: A Secure Coding Benchmark for Language
Models.
arXiv preprint arXiv:2312.04724, 2023.
arXiv:2312.04724.
Bi et al. (2024)
Zhangqian Bi, Yao Wan, Zheng Wang, et al.
Iterative Refinement of Project-Level Code Context for Precise Code
Generation with Compiler Feedback.
In Findings of the Association for Computational Linguistics
ACL 2024, pages 2336–2353, 2024.
doi: 10.18653/v1/2024.findings-acl.138.
Blyth et al. (2025)
Scott Blyth, Sherlock A. Licorish, Christoph Treude, and Markus Wagner.
Static Analysis as a Feedback Loop: Enhancing LLM-Generated Code
Beyond Correctness.
In 2025 IEEE International Conference on Source Code Analysis
& Manipulation (SCAM), pages 100–109, 2025.
doi: 10.1109/scam67354.2025.00017.
Bohr (2025)
Jeremiah Bohr.
Show and Tell: Prompt Strategies for Style Control in Multi-Turn LLM
Code Generation.
arXiv preprint arXiv:2511.13972, 2025.
arXiv:2511.13972.
Borra et al. (2026)
Ajay Krishna Borra, Wenzhuo Yang, Samarth Arora, et al.
CodeEvolve: LLM-Driven Evolutionary Optimization with
Runtime-Enriched Target Selection for Multi-Language Code Enhancement.
arXiv preprint arXiv:2605.04677, 2026.
arXiv:2605.04677.
Bruni et al. (2025)

CHK-1c2fff761840dbbd06ac5ba5

zation with
Runtime-Enriched Target Selection for Multi-Language Code Enhancement.
arXiv preprint arXiv:2605.04677, 2026.
arXiv:2605.04677.
Bruni et al. (2025)
Marc Bruni, Fabio Gabrielli, Mohammad Ghafari, and Martin Kropp.
Benchmarking Prompt Engineering Techniques for Secure Code
Generation with GPT Models.
In 2025 IEEE/ACM Second International Conference on AI
Foundation Models and Software Engineering (Forge), pages 93–103, 2025.
doi: 10.1109/forge66646.2025.00018.
Cao et al. (2026)
Ruisheng Cao, Mouxiang Chen, Jiawei Chen, et al.
Qwen3-Coder-Next Technical Report.
arXiv preprint arXiv:2603.00729, 2026.
arXiv:2603.00729.
Cemri et al. (2025)
Mert Cemri, Melissa Z Pan, Shuyi Yang, et al.
Why Do Multi-Agent LLM Systems Fail?
In Advances in Neural Information Processing Systems 38, pages
135676–135729, 2025.
doi: 10.52202/085713-4082.
Chambon et al. (2025)
Pierre Chambon, Baptiste Roziere, Benoit Sagot, and Gabriel Synnaeve.
BigO(Bench): Can LLMs Generate Code with Controlled Time and Space
Complexity?
arXiv preprint arXiv:2503.15242, 2025.
arXiv:2503.15242.
Chambon et al. (2026)
Pierre Chambon, Kunhao Zheng, Juliette Decugis, Benoit Sagot, and Gabriel
Synnaeve.
Reinforcement Learning for Code Optimization.
arXiv preprint arXiv:2607.25970, 2026.
URL https://arxiv.org/abs/2607.25970.
Chan et al. (2023)
Aaron Chan, Anant Kharkar, Roshanak Zilouchian Moghaddam, et al.

CHK-53561948504a710bc86aeaae

rXiv preprint arXiv:2607.25970, 2026.
URL https://arxiv.org/abs/2607.25970.
Chan et al. (2023)
Aaron Chan, Anant Kharkar, Roshanak Zilouchian Moghaddam, et al.
Transformer-based Vulnerability Detection in Code at EditTime:
Zero-shot, Few-shot, or Fine-tuning?
arXiv preprint arXiv:2306.01754, 2023.
arXiv:2306.01754.
Chen et al. (2023)
Bei Chen, Fengji Zhang, Anh Nguyen, et al.
CodeT: Code Generation with Generated Tests.
In International Conference on Learning Representations
(ICLR), 2023.
URL https://openreview.net/forum?id=9Daa29sl1u.
Chen et al. (2026a)
Jialong Chen, Xander Xu, Hu Wei, Chuan Chen, and Bing Zhao.
SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via
Continuous Integration.
arXiv preprint arXiv:2603.03823, 2026a.
URL https://arxiv.org/abs/2603.03823.
Chen et al. (2026b)
Junkai Chen, Huihui Huang, Yunbo Lyu, et al.
SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via
Reconstructing Vulnerability-Introducing Scenarios.
In Proceedings of the 64th Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers), pages 24144–24168,
2026b.
doi: 10.18653/v1/2026.acl-long.1107.
Chen et al. (2024a)
Lichang Chen, Chen Zhu, Davit Soselia, et al.
ODIN: Disentangled Reward Mitigates Hacking in RLHF.
In Proceedings of the International Conference on Machine
Learning (ICML), 2024a.

CHK-2e7cc1505ffaf4c5d6134b1b

u, Davit Soselia, et al.
ODIN: Disentangled Reward Mitigates Hacking in RLHF.
In Proceedings of the International Conference on Machine
Learning (ICML), 2024a.
URL https://openreview.net/forum?id=45FuR901Di.
Chen et al. (2026c)
Longfei Chen, Ji Zhao, Lanxiao Cui, et al.
SecCodeBench-V2 Technical Report.
arXiv preprint arXiv:2602.15485, 2026c.
arXiv:2602.15485.
Chen et al. (2026d)
Silin Chen, Yufei Yang, Xiaodong Gu, Yuling Shi, Chengcheng Wan, and Haibing
Guan.
Schrödinger’s Code Repository: Have LLMs Learned SWE-bench or
Memorized It?
arXiv preprint arXiv:2609.27891, 2026d.
arXiv:2609.27891.
Chen et al. (2025a)
Xiancai Chen, Zhengwei Tao, Kechi Zhang, et al.
Revisit Self-Debugging with Self-Generated Tests for Code
Generation.
In Proceedings of the 63rd Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers), pages 18003–18023,
2025a.
doi: 10.18653/v1/2025.acl-long.881.
Chen et al. (2024b)
Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou.
Teaching Large Language Models to Self-Debug.
In International Conference on Learning Representations
(ICLR), 2024b.
URL https://openreview.net/forum?id=4XG42MJmTp.
Chen et al. (2025b)
Yang Chen, Zhuolin Yang, Zihan Liu, et al.
AceReason-Nemotron: Advancing Math and Code Reasoning through
Reinforcement Learning.
In Advances in Neural Information Processing Systems 38, pages
122305–122330, 2025b.

CHK-2482ca80a9952b20f7e07efa

emotron: Advancing Math and Code Reasoning through
Reinforcement Learning.
In Advances in Neural Information Processing Systems 38, pages
122305–122330, 2025b.
doi: 10.52202/085713-3685.
Chen et al. (2026e)
Yi Chen, Yun Bian, Haiquan Wang, Shihao Li, and Zhe Cui.
SCAFFOLD-CEGIS: Preventing Latent Security Degradation in LLM-Driven
Iterative Code Refinement.
In 2026 9th International Conference on Artificial Intelligence
and Big Data (ICAIBD), pages 477–483, 2026e.
doi: 10.1109/icaibd69640.2026.11637170.
Chochlov et al. (2026)
Muslim Chochlov, Michael English, and Jim Buckley.
A Tertiary Review of Large Language Model-Based Code Generating
Tasks: Trends, Challenges, and Future Directions.
arXiv preprint arXiv:2605.25536, 2026.
arXiv:2605.25536.
Codefuse et al. (2025)
Codefuse, Ling Team, :, et al.
Every Sample Matters: Leveraging Mixture-of-Experts and High-Quality
Data for Efficient and Accurate Code LLM.
arXiv preprint arXiv:2503.17793, 2025.
arXiv:2503.17793.
Cognition (2025)
Cognition.
Introducing SWE-1.5: Our Fast Agent Model.
Vendor documentation, 2025.
URL https://cognition.com/blog/swe-1-5.
Cognition (2026)
Cognition.
Devin Desktop changelog.
Vendor documentation, 2026.
URL https://docs.devin.ai/desktop/changelog.
Cognition (2026)
Cognition.
FrontierCode: leaderboard and benchmark description.
https://cognition.com/frontiercode, 2026.
Cognition (2026a)
Cognition.

CHK-394b8aaf29535a694ffec7c9

ngelog.
Cognition (2026)
Cognition.
FrontierCode: leaderboard and benchmark description.
https://cognition.com/frontiercode, 2026.
Cognition (2026a)
Cognition.
Introducing SWE 1.6: Improving Model UX.
Vendor documentation, 2026a.
URL https://cognition.com/blog/swe-1-6.
Cognition (2026b)
Cognition.
Introducing SWE-2: Pushing the Pareto Frontier.
Vendor documentation, 2026b.
URL https://cognition.com/blog/swe-2.
Cognition (2026c)
Cognition.
SWE-1.7: Frontier Intelligence at a Fraction of the Cost.
Vendor documentation, 2026c.
URL https://cognition.com/blog/swe-1-7.
Cohere (2025a)
Cohere.
Announcing Command A.
Vendor documentation, 2025a.
URL https://docs.cohere.com/changelog/command-a.
Cohere (2025b)
Cohere.
Announcing Cohere’s Command A Reasoning Model.
Vendor documentation, 2025b.
URL
https://docs.cohere.com/changelog/2025-08-21-command-a-reasoning.
Cohere (2025c)
Cohere.
CohereLabs/c4ai-command-a-03-2025.
Vendor documentation, 2025c.
URL https://huggingface.co/CohereLabs/c4ai-command-a-03-2025.
Cohere (2025d)
Cohere.
CohereLabs/command-a-reasoning-08-2025.
Vendor documentation, 2025d.
URL
https://huggingface.co/CohereLabs/command-a-reasoning-08-2025.
Cohere (2026a)
Cohere.
Announcing Cohere’s Command A+.
Vendor documentation, 2026a.
URL https://docs.cohere.com/changelog/command-a-plus-05-2026.
Cohere (2026b)
Cohere.
Announcing Cohere’s North Mini Code.

CHK-ec69e7fa7ee1bf57de743245

mand A+.
Vendor documentation, 2026a.
URL https://docs.cohere.com/changelog/command-a-plus-05-2026.
Cohere (2026b)
Cohere.
Announcing Cohere’s North Mini Code.
Vendor documentation, 2026b.
URL https://docs.cohere.com/changelog/north-mini-code-1-0.
Comanici et al. (2025)
Gheorghe Comanici, Eric Bieber, Mike Schaekermann, et al.
Gemini 2.5: Pushing the Frontier with Advanced Reasoning,
Multimodality, Long Context, and Next Generation Agentic Capabilities.
arXiv preprint arXiv:2507.06261, 2025.
arXiv:2507.06261.
Cursor (2025)
Cursor.
Composer: Building a fast frontier model with RL.
Vendor documentation, 2025.
URL https://cursor.com/blog/composer.
Cursor (2026a)
Cursor.
Composer 2.5.
Vendor documentation, 2026a.
URL https://cursor.com/changelog/composer-2-5.
Cursor (2026b)
Cursor.
Introducing Composer 1.5.
Vendor documentation, 2026b.
URL https://cursor.com/blog/composer-1-5.
Cursor (2026c)
Cursor.
Introducing Composer 2.
Vendor documentation, 2026c.
URL https://cursor.com/blog/composer-2.
Cynthia et al. (2026)
Shamse Tasnim Cynthia, Al Muttakin, and Banani Roy.
Beyond Bug Fixes: An Empirical Investigation of Post-Merge Code
Quality Issues in Agent-Generated Pull Requests.
In Proceedings of the 23rd International Conference on Mining
Software Repositories, pages 989–993, 2026.
doi: 10.1145/3793302.3793615.
Dai et al. (2026a)
Shih-Chieh Dai, Jun Xu, and Guanhong Tao.

CHK-7d003280d5dbe9714ee40929

nal Conference on Mining
Software Repositories, pages 989–993, 2026.
doi: 10.1145/3793302.3793615.
Dai et al. (2026a)
Shih-Chieh Dai, Jun Xu, and Guanhong Tao.
Rethinking the Evaluation of Secure Code Generation.
In Proceedings of the 2026 IEEE/ACM 48th International
Conference on Software Engineering, pages 336–348, 2026a.
doi: 10.1145/3744916.3773217.
Dai et al. (2026b)
Weinan Dai, Hanlin Wu, Qiying Yu, Huan ang Gao, Jiahao Li, Chengquan Jiang,
Weiqiang Lou, Yufan Song, Hongli Yu, Jiaze Chen, Wei-Ying Ma, Ya-Qin Zhang,
Jingjing Liu, Mingxuan Wang, Xin Liu, and Hao Zhou.
CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel
Generation.
arXiv preprint arXiv:2602.24286, 2026b.
URL https://arxiv.org/abs/2602.24286.
Dai et al. (2024)
Zhenlong Dai, Chang Yao, Wenkang Han, et al.
MPCoder: Multi-user Personalized Code Generator with Explicit and
Implicit Style Representation Learning.
arXiv preprint arXiv:2406.17255, 2024.
URL https://arxiv.org/abs/2406.17255.
arXiv:2406.17255.
Datta et al. (2025)
Arup Datta, Ahmed Aljohani, and Hyunsook Do.
Secure Code Generation at Scale with Reflexion.
In 2025 2nd IEEE/ACM International Conference on AI-powered
Software (AIware), pages 01–09, 2025.
doi: 10.1109/aiware69974.2025.00038.
DeepSeek (2026)
DeepSeek.
Change Log.
Vendor documentation, 2026.
URL https://api-docs.deepseek.com/updates.
DeepSeek-AI (2025a)
DeepSeek-AI.

CHK-becfad0757e0c1758b0ee161

69974.2025.00038.
DeepSeek (2026)
DeepSeek.
Change Log.
Vendor documentation, 2026.
URL https://api-docs.deepseek.com/updates.
DeepSeek-AI (2025a)
DeepSeek-AI.
deepseek-ai/DeepSeek-R1-0528.
Vendor documentation, 2025a.
URL https://huggingface.co/deepseek-ai/DeepSeek-R1-0528.
DeepSeek-AI (2025b)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3-0324.
Vendor documentation, 2025b.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3-0324.
DeepSeek-AI (2025c)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.1.
Vendor documentation, 2025c.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.1.
DeepSeek-AI (2025d)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.1-Terminus.
Vendor documentation, 2025d.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.1-Terminus.
DeepSeek-AI (2025e)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.2.
Vendor documentation, 2025e.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2.
DeepSeek-AI (2025f)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.2-Exp.
Vendor documentation, 2025f.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Exp.
DeepSeek-AI (2025g)
DeepSeek-AI.
deepseek-ai/DeepSeek-V3.2-Speciale.
Vendor documentation, 2025g.
URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Speciale.
DeepSeek-AI (2026a)
DeepSeek-AI.
deepseek-ai/DeepSeek-V4-Flash-0731.
Vendor documentation, 2026a.
URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731.
DeepSeek-AI (2026b)
DeepSeek-AI.

CHK-7945141a3aa843eeeade5ef9

eepseek-ai/DeepSeek-V4-Flash-0731.
Vendor documentation, 2026a.
URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731.
DeepSeek-AI (2026b)
DeepSeek-AI.
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp.
Vendor documentation, 2026b.
URL
https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Vision-Exp.
DeepSeek-AI (2026c)
DeepSeek-AI.
deepseek-ai/DeepSeek-V4-Pro-0813.
Vendor documentation, 2026c.
URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-0813.
DeepSeek-AI (2026d)
DeepSeek-AI.
DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression.
Vendor documentation, 2026d.
URL
https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/resolve/main/DeepSeek_V41_Tech_Report.pdf.
DeepSeek-AI et al. (2025a)
DeepSeek-AI, Daya Guo, Dejian Yang, et al.
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via
Reinforcement Learning.
arXiv preprint arXiv:2501.12948, 2025a.
arXiv:2501.12948.
DeepSeek-AI et al. (2025b)
DeepSeek-AI, Aixin Liu, Aoxue Mei, et al.
DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models.
arXiv preprint arXiv:2512.02556, 2025b.
arXiv:2512.02556.
DeepSeek-AI et al. (2026)
DeepSeek-AI, Anyi Xu, Bangcai Lin, et al.
DeepSeek-V4: Towards Highly Efficient Million-Token Context
Intelligence.
arXiv preprint arXiv:2606.19348, 2026.
arXiv:2606.19348.
Deng et al. (2026a)
Ryan Deng, Yuanzhe Liu, Bastian Lipka, et al.

CHK-6871803a6337fb6a647272fb

 Million-Token Context
Intelligence.
arXiv preprint arXiv:2606.19348, 2026.
arXiv:2606.19348.
Deng et al. (2026a)
Ryan Deng, Yuanzhe Liu, Bastian Lipka, et al.
PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level
Code Optimization.
arXiv preprint arXiv:2607.19653, 2026a.
arXiv:2607.19653.
Deng et al. (2026b)
Xiang Deng, Jeff Da, Edwin Pan, et al.
SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering
Tasks?
In Proceedings of the International Conference on Machine
Learning (ICML), 2026b.
URL https://openreview.net/forum?id=uEVTdoAbnK.
Dolcetti et al. (2026)
Greta Dolcetti, Vincenzo Arceri, Eleonora Iotti, Sergio Maffeis, Agostino
Cortesi, and Enea Zaffanella.
Helping LLMs improve code generation using feedback from testing and
static analysis.
Discover Artificial Intelligence, 6(1):314, 2026.
doi: 10.1007/s44163-026-01009-5.
Dong et al. (2024)
Yihong Dong, Xue Jiang, Zhi Jin, and Ge Li.
Self-Collaboration Code Generation via ChatGPT.
ACM Transactions on Software Engineering and Methodology,
33(7):1–38, 2024.
doi: 10.1145/3672459.
Dong et al. (2025a)
Yihong Dong, Xue Jiang, Jiaru Qian, et al.
A Survey on Code Generation with LLM-based Agents.
arXiv preprint arXiv:2508.00083, 2025a.
arXiv:2508.00083.
Dong et al. (2025b)
Yihong Dong, Yuchen Liu, Xue Jiang, Bin Gu, Zhi Jin, and Ge Li.
Rethinking Repetition Problems of LLMs in Code Generation.

CHK-69b5455d3b2950fd117f6f39

rXiv:2508.00083.
Dong et al. (2025b)
Yihong Dong, Yuchen Liu, Xue Jiang, Bin Gu, Zhi Jin, and Ge Li.
Rethinking Repetition Problems of LLMs in Code Generation.
In Proceedings of the 63rd Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers), pages 965–985,
2025b.
doi: 10.18653/v1/2025.acl-long.48.
Du et al. (2024)
Mingzhe Du, Luu Tuan, Bin Ji, Qian Liu, and See-Kiong Ng.
Mercury: A Code Efficiency Benchmark for Code Large Language
Models.
In Advances in Neural Information Processing Systems 37, pages
16601–16622, 2024.
doi: 10.52202/079017-0529.
Du et al. (2025)
Mingzhe Du, Anh Tuan Luu, Yue Liu, et al.
Afterburner: Reinforcement Learning Facilitates Self-Improving Code
Efficiency Optimization.
In Advances in Neural Information Processing Systems 38, pages
9944–9976, 2025.
doi: 10.52202/085713-0304.
Ehrlich et al. (2025)
Ryan Ehrlich, Bradley Brown, Jordan Juravsky, Ronald Clark, Christopher Ré,
and Azalia Mirhoseini.
CodeMonkeys: Scaling Test-Time Compute for Software Engineering.
arXiv preprint arXiv:2501.14723, 2025.
arXiv:2501.14723.
Ehsani et al. (2026a)
Ramtin Ehsani, Sakshi Pathak, Shriya Rawal, Abdullah Al Mujahid, Mia Mohammad
Imran, and Preetha Chatterjee.
Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic
Pull Requests in GitHub.
In Proceedings of the 23rd International Conference on Mining

CHK-7309144fcb9874f3bb10c341

ee.
Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic
Pull Requests in GitHub.
In Proceedings of the 23rd International Conference on Mining
Software Repositories, pages 807–811, 2026a.
doi: 10.1145/3793302.3793579.
Ehsani et al. (2026b)
Ramtin Ehsani, Shriya Rawal, Yuanfang Cai, and Preetha Chatterjee.
Faster Code, Deeper Debt? A Multivocal Literature Review on
Technical Debt and Its Early Signs in LLM-Assisted Software Development.
ACM Transactions on Software Engineering and Methodology, page
3820165, 2026b.
doi: 10.1145/3820165.
Face (2025)
Hugging Face.
SmolLM3: smol, multilingual, long-context reasoner.
Vendor documentation, 2025.
URL https://huggingface.co/blog/smollm3.
FAIR CodeGen team et al. (2025)
FAIR CodeGen team, Jade Copet, Quentin Carbonneaux, et al.
CWM: An Open-Weights LLM for Research on Code Generation with World
Models.
arXiv preprint arXiv:2510.02387, 2025.
arXiv:2510.02387.
Fu et al. (2024)
Yanjun Fu, Ethan Baker, Yu Ding, and Yizheng Chen.
Constrained Decoding for Secure Code Generation.
arXiv preprint arXiv:2405.00218, 2024.
arXiv:2405.00218.
Fu et al. (2025)
Yujia Fu, Peng Liang, Amjed Tahir, et al.
Security Weaknesses of Copilot-Generated Code in GitHub Projects: An
Empirical Study.
ACM Transactions on Software Engineering and Methodology,
34(8):1–34, 2025.
doi: 10.1145/3716848.
Fujii et al. (2026)

CHK-a78661698108e90eecbb5e41

e in GitHub Projects: An
Empirical Study.
ACM Transactions on Software Engineering and Methodology,
34(8):1–34, 2025.
doi: 10.1145/3716848.
Fujii et al. (2026)
Kazuki Fujii, Yukito Tajima, Sakae Mizuki, et al.
Rewriting Pre-Training Data Boosts LLM Performance in Math and
Code.
In International Conference on Learning Representations
(ICLR), 2026.
URL https://openreview.net/forum?id=45btPYgSSX.
Gadey et al. (2026)
Varun Gadey, Markus Tohn, Lichao Wu, Ahmad-Reza Sadeghi, and Alexandra
Dmitrienko.
SEEK: Agentic Knowledge Graph Retrieval for Secure Code Generation.
arXiv preprint arXiv:2610.14968, 2026.
arXiv:2610.14968.
Gajjar et al. (2025)
Jugal Gajjar, Kamalasankari Subramaniakuppusamy, Relsy Puthal, and Kaustik
Ranaware.
SecureFixAgent: A Hybrid LLM Agent for Automated Python Static
Vulnerability Repair.
In 2025 International Conference on Machine Learning and
Applications (ICMLA), pages 1390–1395, 2025.
doi: 10.1109/icmla66185.2025.00212.
Gao et al. (2026)
Huifan Gao, Liuhua He, Yinghui Pan, et al.
Towards the Readability of LLM-Generated Codes through Multitask
Representation Engineering.
arXiv preprint arXiv:2606.06214, 2026.
arXiv:2606.06214.
Gao et al. (2025a)
Mingyan Gao, Yanzi Li, Banruo Liu, et al.
Single-agent or Multi-agent Systems? Why Not Both?
arXiv preprint arXiv:2505.18286, 2025a.
arXiv:2505.18286.
Gao et al. (2025b)

CHK-a97c45fd284ef532444a9a0f

o, Yanzi Li, Banruo Liu, et al.
Single-agent or Multi-agent Systems? Why Not Both?
arXiv preprint arXiv:2505.18286, 2025a.
arXiv:2505.18286.
Gao et al. (2025b)
Shuzheng Gao, Cuiyun Gao, Wenchao Gu, and Michael R. Lyu.
Search-Based LLMs for Code Optimization.
In 2025 IEEE/ACM 47th International Conference on Software
Engineering (ICSE), pages 578–590, 2025b.
doi: 10.1109/icse55347.2025.00021.
Garg et al. (2025)
Spandan Garg, Roshanak Zilouchian Moghaddam, and Neel Sundaresan.
RAPGen: An Approach for Fixing Code Inefficiencies in Zero-Shot.
In 2025 IEEE/ACM 47th International Conference on Software
Engineering: Software Engineering in Practice (ICSE-SEIP), pages 124–135,
2025.
doi: 10.1109/icse-seip66354.2025.00017.
GitClear (2025)
GitClear.
AI Copilot Code Quality: 2025 Look Back at 12 Months of Data.
Vendor documentation, 2025.
URL
https://www.gitclear.com/ai_assistant_code_quality_2025_research.
GitHub (2026)
GitHub.
MAI-Code-1.1-Flash available in GitHub Copilot.
Vendor documentation, 2026.
URL
https://github.blog/changelog/2026-08-11-mai-code-1-1-flash-available-in-github-copilot/.
GLM-4.5 Team et al. (2025)
GLM-4.5 Team, :, Aohan Zeng, et al.
GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models.
arXiv preprint arXiv:2508.06471, 2025.
arXiv:2508.06471.
GLM-5-Team et al. (2026)
GLM-5-Team, :, Aohan Zeng, et al.
GLM-5: from Vibe Coding to Agentic Engineering.

CHK-23e501785637081f07e73ef6

v preprint arXiv:2508.06471, 2025.
arXiv:2508.06471.
GLM-5-Team et al. (2026)
GLM-5-Team, :, Aohan Zeng, et al.
GLM-5: from Vibe Coding to Agentic Engineering.
arXiv preprint arXiv:2602.15763, 2026.
arXiv:2602.15763.
Gong et al. (2025a)
Jingzhi Gong, Rafail Giavrimis, Paul Brookes, et al.
Tuning LLM-based Code Optimization via Meta-Prompting: An Industrial
Perspective.
In 2025 40th IEEE/ACM International Conference on Automated
Software Engineering (ASE), pages 3569–3580, 2025a.
doi: 10.1109/ase63991.2025.00295.
Gong et al. (2025b)
Jingzhi Gong, Vardan Voskanyan, Paul Brookes, et al.
Language Models for Code Optimization: Survey, Challenges and Future
Directions.
arXiv preprint arXiv:2501.01277, 2025b.
arXiv:2501.01277.
Google (2025a)
Google.
Gemini 2.5: Deep Think is now rolling out.
Vendor documentation, 2025a.
URL https://blog.google/products/gemini/gemini-2-5-deep-think/.
Google (2025b)
Google.
Gemini 3 Deep Think is now available.
Vendor documentation, 2025b.
URL https://blog.google/products/gemini/gemini-3-deep-think/.
Google (2026a)
Google.
Gemini 3 developer guide.
Vendor documentation, 2026a.
URL https://ai.google.dev/gemini-api/docs/gemini-3.
Google (2026b)
Google.
Gemma releases.
Vendor documentation, 2026b.
URL https://ai.google.dev/gemma/docs/releases.
Google (2026c)
Google.
google/diffusiongemma-26B-A4B-it.
Vendor documentation, 2026c.

CHK-24e4f23dc178ddb2c39c1fc2

ndor documentation, 2026b.
URL https://ai.google.dev/gemma/docs/releases.
Google (2026c)
Google.
google/diffusiongemma-26B-A4B-it.
Vendor documentation, 2026c.
URL https://huggingface.co/google/diffusiongemma-26B-A4B-it.
Google (2026d)
Google.
Introducing DiffusionGemma.
Vendor documentation, 2026d.
URL
https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-generation/.
Google (2026e)
Google.
Release notes.
Vendor documentation, 2026e.
URL https://ai.google.dev/gemini-api/docs/changelog.
Google (2026f)
Google.
What’s new in Gemini 4 Argon.
Vendor documentation, 2026f.
URL https://ai.google.dev/gemini-api/docs/latest-model.
Google DeepMind (2025a)
Google DeepMind.
Gemma 3 model card.
Vendor documentation, 2025a.
URL https://ai.google.dev/gemma/docs/core/model_card_3.
Google DeepMind (2025b)
Google DeepMind.
Gemma 3n model card.
Vendor documentation, 2025b.
URL https://ai.google.dev/gemma/docs/gemma-3n/model_card.
Google DeepMind (2026a)
Google DeepMind.
Gemini 3.1 Pro - Model Card.
Vendor documentation, 2026a.
URL https://deepmind.google/models/model-cards/gemini-3-1-pro/.
Google DeepMind (2026b)
Google DeepMind.
Gemini 3.7 Flash - Model Card.
Vendor documentation, 2026b.
URL
https://deepmind.google/models/model-cards/gemini-3-7-flash/.
Google DeepMind (2026c)
Google DeepMind.
Gemini 3.8 Flash - Model Card.
Vendor documentation, 2026c.
URL

CHK-6e83c3da340aa84a1baea9de

/deepmind.google/models/model-cards/gemini-3-7-flash/.
Google DeepMind (2026c)
Google DeepMind.
Gemini 3.8 Flash - Model Card.
Vendor documentation, 2026c.
URL
https://deepmind.google/models/model-cards/gemini-3-8-flash/.
Google DeepMind (2026d)
Google DeepMind.
Gemini 4 Argon - Model Card.
Vendor documentation, 2026d.
URL https://deepmind.google/models/model-cards/gemini-4-argon/.
Google DeepMind (2026e)
Google DeepMind.
Gemma 4 model card.
Vendor documentation, 2026e.
URL https://ai.google.dev/gemma/docs/core/model_card_4.
Gou et al. (2024)
Zhibin Gou, Zhihong Shao, Yeyun Gong, et al.
CRITIC: Large Language Models Can Self-Correct with Tool-Interactive
Critiquing.
In International Conference on Learning Representations
(ICLR), 2024.
URL https://openreview.net/forum?id=vCQaGYDckV.
Grubisic et al. (2024)
Dejan Grubisic, Chris Cummins, Volker Seeker, and Hugh Leather.
Priority Sampling of Large Language Models for Compilers.
arXiv preprint arXiv:2402.18734, 2024.
URL https://arxiv.org/abs/2402.18734.
Gu et al. (2026)
Shanzhi Gu, Mingyang Geng, Yihong Dong, et al.
Mitigating Collaboration Degeneration in Multi-Agent Code Generation
via a Controllable Competitive Collaboration Approach.
In Proceedings of the Thirty-Fifth International Joint
Conference on Artificial Intelligence, pages 127–135, 2026.
doi: 10.24963/ijcai.2026/15.
Gunasekar et al. (2023)

CHK-8a3627dbefb978991c6fe887

edings of the Thirty-Fifth International Joint
Conference on Artificial Intelligence, pages 127–135, 2026.
doi: 10.24963/ijcai.2026/15.
Gunasekar et al. (2023)
Suriya Gunasekar, Yi Zhang, Jyoti Aneja, et al.
Textbooks Are All You Need.
arXiv preprint arXiv:2306.11644, 2023.
arXiv:2306.11644.
Gunnu et al. (2025)
Sravani Gunnu, Shanmukha Gutt
补充资料

中文译文

已保存部分中文译文,其余段落请查看下方原文。

y(§);A3-CodGen 统计对现有函数的调用次数,而不衡量代码是否更好。 S17.6. 解码 约束解码与引导。 Synchromesh 对三种领域特定语言中的未完成程序施加语法、作用域和类型约束(Poesia 等,2022);类型约束解码将这种确保代码形式正确的目标扩展到 TypeScript,使编译错误减少了一半以上(Mündler 等,2025)。对于 R/M,PG-TD 将其测试奖励替换为长度或注释奖励(Zhang 等,2023b),而 RPG 惩罚结构性重复(Dong 等,2025b)。对于 SEC,约束束搜索采样根据 91 条 CodeGuard+ 提示各自可能触发的 CWE 编写约束(Fu 等,2024);协同解码用一个小型安全模型替代这些规则(Hu 等,2026a);2026 年的引导方法(SCS-Code、DuoSteer)则使用目标模型自身的激活值。MRepE 是我们发现的唯一一种 R/M 引导方法,它结合了注释密度、命名和

在限制正确性损失的同时,利用圈复杂度向量 (Gao 等,2026,预印本)。Sandoval 等(2026)将不安全代码生成追溯至一个靠后的网络层;针对不同漏洞的引导向量在五个模型中“最多将不安全代码生成减少 74%”。 采样与选择。 MBR-exec 保留执行结果与其他候选结果最一致的候选方案(Shi 等,2022);CodeT 加入模型生成的测试(Chen 等,2023);Coder-Reviewer 根据指令似然重新评分,因为仅依据似然重新排序“容易偏好退化的解决方案”(Zhang 等,2023c);LEVER 基于程序及其执行结果训练验证器(Ni 等,2023)。没有执行反馈时,在 best-of-NN 中,代码过程奖励模型的表现并不优于随机奖励(Li 等,2025d);FunPRM 从单元测试结果中元学习步骤奖励的修正方式(Zhang 等,2026)。考虑质量的选择需要质量偏好模型:CodeFavor 学习

已采集原文

访问来源网页

y (§); A3-CodGen counts calls to existing functions, not whether code is better. S17.6. Decoding Constrained decoding and steering. Synchromesh enforces syntax, scope and typing on partial programs in three domain-specific languages (Poesia et al., 2022); type-constrained decoding extends this well-formedness target to TypeScript, more than halving compilation errors (Mündler et al., 2025). For R/M, PG-TD swaps its test reward for a length or comment reward (Zhang et al., 2023b) and RPG penalizes structural repetition (Dong et al., 2025b). For SEC, constrained beam sampling writes constraints for each of the 91 CodeGuard+ prompts from the CWE it might trigger (Fu et al., 2024); co-decoding replaces the rules with a small security model (Hu et al., 2026a); and 2026 steering methods (SCS-Code, DuoSteer) use the target’s own activations. MRepE, the only R/M steering method we found, combines comment-density, naming and cyclomatic-complexity vectors while bounding correctness loss (Gao et al., 2026, preprint). Sandoval et al. (2026) trace insecure generation to one late layer; per-vulnerability steering vectors “reduce insecure generation by up to 74%” across five models. Sample-and-select. MBR-exec keeps the candidate whose execution results agree most with the others (Shi et al., 2022); CodeT adds model-generated tests (Chen et al., 2023); Coder-Reviewer rescores by instruction likelihood because likelihood-only reranking is “prone to preferring degenerate solutions” (Zhang et al., 2023c); LEVER learns a verifier over program and execution result (Ni et al., 2023). Without execution feedback, a code process reward model is no better than a random reward in best-of-NN (Li et al., 2025d); FunPRM meta-learns step-reward corrections from unit-test outcomes (Zhang et al., 2026). Quality-aware selection needs a quality preference model: CodeFavor learns pairwise preferences from commits and critiques, improving preference accuracy for correctness, efficiency and security “by up to 28.8%” (Liu et al., 2024a); Priority Sampling, a deterministic confidence-ordered search over unique samples, raises a compiler model’s code-size gain over -Oz “from 2.87% to 5%” (Grubisic et al., 2024). Test-time scaling adds sequential revision to execution-grounded selection (Li et al., 2025a); CodeMonkeys selects among repository edits with model-generated tests (Ehrlich et al., 2025). The quality-verifier gap is now partly closed: SecCodePRM (ICML 2026), a step-level security reward model trained on analyzer labels, outranks probability ranking for best-of-NN on CWEval (Yu et al., 2026b). For EFF, surprisal-guided selection is a preprint (Barnes, 2026, preprint) and PIE’s Best@kk (fastest program passing all tests in a simulator) an oracle bound (Shypula et al., 2024). We found no peer-reviewed R/M or EFF selector, and none reranking by static maintainability scores or profiled instruction counts. Highlighted techniques. Table S38 lists the highlighted techniques (selection rule in §). MoC trains per-CWE linear probes on a code model’s hidden states and, only when a probe flags a vulnerable state, adds a decaying mix of correction vectors, raising Qwen2.5-Coder-7B’s CodeQL security ratio on the SVEN test set from 76.8 to 85.7 with HumanEval pass@1 79.9 →\to 81.2 (Yu et al., 2025). RobGen uses a small classifier to predict whether the next line should open an if guard and, when if is among the three most likely tokens, raises its logit, cutting the share of DeepSeekCoder-1.3B’s CoderEval Java outputs that GPT-4o judges less robust than the reference from 42.2% to 28.7% with Pass@1 slightly higher (Li et al., 2025h). Caveats. Correctness effects are mixed. PG-TD’s length penalty slightly lowers the public-test pass rate (23.14 to 22.82); constrained beam sampling lowers Llama3-8B pass@1 from 82.20 to 72.21, and an independent study found, and repaired by script before testing, indentation issues in most CodeGuard+ outputs for CodeLlama and Mistral (Dai et al., 2026a); SCS-Code lowers CodeLlama pass@1 from 68.1 to 65.7, whereas DuoSteer reports an average correctness change of +7.5%. RPG improves on repetition penalty, which also cuts repetition but lowers HumanEval pass@1 to 0.092 (greedy: 0.301; RPG: 0.325). Evidence is thin for several recent rows: surprisal selection rests on 10 task–seed pairs (sign test p=0.125p=0.125); FunPRM targets correctness, and its readability gain comes from three raters on 100 pairs, read off a figure; DuoSteer reports both a test-swept and a held-out configuration protocol. Effects on correctness and non-targeted dimensions. Correctness selectors measure no other dimension. With the QC3-30B generator, SecCodePRM raises func@1 by 11.09 points alongside security (Yu et al., 2026b). The ICSE 2026 re-evaluation finds CodeGuard+’s security gains limited or negative on Mistral and notes the original never measured the indentation defect above (Dai et al., 2026a); its implementation also returns no code without its constraints (Wendlinger et al., 2026). No steering study we found measures SEC after R/M steering or the reverse. Compute fairness. Selectors compared at equal NN are budget-matched; comparisons with one greedy sample are not. CodeT samples 100 test generations per HumanEval problem (Chen et al., 2023); CodeMonkeys spends approximately 2300 USD and resolves 57.4% of issues from a pool whose oracle coverage is 69.8% (Ehrlich et al., 2025); type constraints add 39.1% average HumanEval runtime (Mündler et al., 2025). Surprisal selection is free only because every compared strategy already tests all samples (Barnes, 2026). Best-of-nn at equal verifier and call budget is thus the baseline for iterative methods (§–§), as in §. Limitations. Logit- and activation-level methods need white-box access (surprisal selection needs sequence log-probabilities); of the highlighted techniques only FunPRM does not. The ICSE 2026 study could not run three of four security techniques on commercial models (Dai et al., 2026a), and none applies to the frontier APIs of §. Per-prompt CWE constraints do not transfer to unseen tasks, and CodeQL labels miss vulnerabilities (Dai et al., 2026a). S17.7. Training Data curation and supervised fine-tuning. phi-1 filtered web code with a classifier trained on GPT-4 “educational value” ratings of about 100k files, added GPT-3.5-generated textbooks, and reached 50.6% HumanEval pass@1 at 1.3B (Gunasekar et al., 2023). Open pipelines followed: The Stack v2 removes low-quality files heuristically (Lozhkov et al., 2024); OpenCoder applies over 130 language-specific rules and reports that filtering by GitHub stars reduced diversity and worsened the model (Huang et al., 2025b); Seed-Coder distills an LLM oracle’s readability, modularity, clarity and reusability scores into a 1.3B regression scorer (Seed et al., 2025b); and SwallowCode combines pylint-based filtering with LLM rewriting that “enforces style conformity” (Fujii et al., 2026). Some studies clean the code itself: Jain et al. (2024) rename variables and modularize solutions with an LLM, gaining up to 30% correctness. Few curation studies measure R/M of generated code: beyond the SmellCC row of Table S40, Xue et al. (2026b) report 79.6% and 83.1% fewer smells for DeepSeek-V2 and Qwen-Coder (their refactoring tool kept only 91.3% correctness in its own test verification), and Kuang et al. (2026) find that data refactoring, selection and cleaning raise the Maintainability Index of generated code while synthesis and augmentation lower it. Large pretraining pipelines filter for readability-like properties but report only functional benchmarks. Preference optimization with quality signals. Preference optimization learns from pairs of better and worse programs. CodeUltraFeedback draws responses from 14 LLMs and brought CodeLlama-7B-Instruct to a CUF-Bench judge score of 7.08 (GPT-3.5-Turbo: 7.18) and pass@1 from 37.9 to 43.1, though DPO variants scored slightly below SFT alone (Weyssow et al., 2026). CodeDPO reaches a 1.45x speedup on HumanEval+ with MagiCoder-S-DS-6.7B at 83.5% correctness (Zhang et al., 2025a). PLUM (Zhang et al., 2024b) and AceCoder (Zeng et al., 2025) (unrelated to ACECode below) use synthesized tests for correctness only. For efficiency, Mercury found DPO stronger than SFT (Du et al., 2024), while Afterburner found both “rapidly saturate” (Du et al., 2025). Several security results share a mechanism: secure and insecure programs often differ in a few tokens (a sanitizer call, a parameterized query), which a sequence-level loss dilutes. Hence SVEN and SafeCoder mask their losses to the changed regions (He and Vechev, 2023; He et al., 2024), Localized Preference Optimization (LPO) masks security-relevant tokens after finding SimPO ineffective (Hasan et al., 2025), and SRCode assigns token-level RL rewards (Quan et al., 2026). Security-targeted training. Security training has moved from curated fixes (SVEN, SafeCoder) to synthesized data and then RL. HexaCoder synthesizes vulnerable and repaired pairs with a CodeQL oracle (Hajipour et al., 2024); ProSec synthesizes vulnerability-inducing instructions from CWEs and trains on preference pairs (Xu et al., 2025); LPO refines its distilled pairs with CodeQL and Bandit feedback, reporting 31% and 64% fewer insecure files on Phi-2 and StarCoder2-7B (Hasan et al., 2025). RL methods include PurpCode (rule-referencing SFT plus multi-objective RL) (Liu et al., 2025a), SecCoderX (a learned vulnerability reward model in place of the analyzer) (Wu et al., 2026a), SRCode (Quan et al., 2026), and pilots such as SecureCodeRL, whose evaluation had no Bandit findings at all (Sijwali and Saha, 2026). Training has also reached coding agents: SecureVibe applies SFT and execution-feedback RL to the agent’s security planning and testing, raising security pass@1 by 6.9 points on BaxBench and 11.5 on SusVibes, and functionality pass@1 by 4.1 on SWE-bench Verified (Wang et al., 2026c). Efficiency-targeted training. Efficiency work uses profilers or simulators as the signal. PIE fine-tunes on 77,967 human performance-improving C++ edit pairs timed in the gem5 simulator, adding performance-conditioned generation and self-play data (Shypula et al., 2024); EffiCoder fine-tunes on the fastest correct candidate from several LLMs (Huang et al., 2025a). ACECode trains with proximal policy optimization (PPO) on a combined correctness-runtime reward (Yang et al., 2024a); Afterburner runs Group Relative Policy Optimization (GRPO) in an iterative refinement loop (Du et al., 2025); SuperCoder rewards assembly speedup over gcc -O3 (Wei et al., 2026); Nichols et al. (2026) align models to serial and OpenMP code performance; and RLPF ranks failed programs by execution progress and correct ones by improvement toward an expert reference (Jing et al., 2026). Making execution time a usable reward is itself studied: Chambon et al. (2026) report that “once timing drives the reward, small problems in measurement noise, reward sparsity, or GRPO instability overwhelm the signal and make RL fail”; with a calibrated sandbox and adapted GRPO they raise strict top-50% pass@1 on their optimization tests from 18.0% to 31.3% on Qwen 2.5 7B and from 30.7% to 50.4% on CWM 32B “while preserving pure-correctness scores”. The largest RL efficiency gains are on GPU kernels: Kevin’s multi-turn RL raises its base model’s kernel correctness from 56% to 82% and mean speedup over PyTorch Eager from 0.53x to 1.10x, finding serial refinement more useful than parallel sampling (Baronio et al., 2025); CUDA-L1 reports an average speedup of x3.12 (median x1.42) over default KernelBench baselines (Li et al., 2025f); and CUDA Agent reports 100%, 100% and 92% faster rates over torch.compile on the three KernelBench levels (Dai et al., 2026b). Kernels fall outside the general-purpose scope of the highlighted techniques (§) but show what a precise, cheap-to-measure efficiency reward can do. Reinforcement learning with program-analysis rewards. REAL is the clearest attempt to train for SEC and R/M jointly with COR (its maintainability detector is MyPy type checking) (Yao et al., 2025). Its motivating negative result is that “optimizing for code quality alone leads to reward hacking”, with the model emitting empty code or comments that maximize quality scores; its ablation confirms that a quality-only reward yields safer but less functional code. In 2026, Jolfaei et al. (2026) map Ruff violations to the tokens causing them, and Skopin and Kotelnikov (2026) find that static-analysis penalties alone bias small models toward shorter completions. Themis trains code reward models with readability and maintainability criteria, citing “the limited proficiency of current RMs beyond scoring for functional correctness” (Paul et al., 2026); we found no well-documented study using such a model as an RL reward and measuring R/M with independent instruments. Side effects of reward optimization. The first side effect is length. In RL from human feedback, “a purely length-based reward reproduces most downstream RLHF improvements” (Singhal et al., 2023); DPO also exploits verbosity (Park et al., 2024); ODIN counters it by discarding a dedicated length head of the reward model (Chen et al., 2024a); and in RL with verifiable rewards (RLVR), GRPO has an optimization bias that “artificially increases response length (especially for incorrect outputs)” (Liu et al., 2025d). Since length moves with lines of code, comment density and complexity metrics, judge-based R/M rewards face the same confound, which no code study we found controls for. Analyzer-only rewards pull the other way, toward short or empty code (Skopin and Kotelnikov, 2026; Yao et al., 2025); PurpCode reports that with binary rewards “models learn that generating no code is always ‘secure’ ” (Liu et al., 2025a). The second is exploitation of the test oracle behind every correctness term. In a frontier RL run, an agent planned to “circumvent the tests by making verify always return true” (Baker et al., 2025); on ImpossibleBench, whose tests contradict the task, GPT-5 cheats on 76% of Oneoff-SWEbench tasks (Zhong et al., 2026); 28.5% of a SWE-bench Verified sample have tests accepting an incorrect patch (Rajan, 2026); in CATCH, a chain-of-thought monitor’s protection erodes as the policy learns to mislead it with code comments (Wang et al., 2026f); and hacking learned in production coding environments generalizes to broader misalignment (MacDiarmid et al., 2025). A correctness term thus does not prevent degenerate code: a special-cased solution is “correct” yet unmaintainable. Highlighted techniques. Table S40 lists the highlighted techniques (selection rule in §). Landmarks curate or mask data; recent leaders shape the objective, mostly through reinforcement-learning rewards. MPCoder learns Checkstyle style attributes, per-user style vectors and a shared, contrastively trained style adapter so that one CodeLlama-7B model writes Java in each user’s own style, raising its Coding Style Score on PCISparse from 46.29 to 66.18, while HumanEval-X Java correctness falls from 30.49% to 26.18% on that dataset (Dai et al., 2024). Caveats. Several gains are measured with the training instrument: CodeUltraFeedback’s GPT-3.5 judge also labelled the training data (with a GPT-4-Turbo judge the authors report “more mitigated effects”), and REAL evaluates with its reward’s program-analysis detectors. SafeCoder “does not achieve strong generalization across different CWEs”. CodeDPO times only problems solved both before and after training. PurpCode’s baseline is its own untrained base model, SecCoderX’s the unaligned model, and Afterburner is evaluated on the same authors’ Venus benchmark. Correctness costs are uneven (§S17.7). No highlighted technique reports an effect on an untargeted dimension. Effects on correctness and non-targeted dimensions. Correctness. The security literature reports small correctness costs, which the evidence partly supports: SVEN “closely matches the original LMs in functional correctness” (He and Vechev, 2023), although its CodeGen-2.7B pass@1 falls from 14.0 to 11.7, and ProSec and PurpCode report no or minimal utility loss (Xu et al., 2025; Liu et al., 2025a). SafeCoder leaves StarCoder-1B’s correctness unchanged, but on Phi-2, against standard instruction tuning, raises security from 69.9 to 90.9 while lowering HumanEval pass@1 from 48.3 to 46.1 (He et al., 2024). LPO lowers Mistral-7B’s HumanEvalX pass@1 from 37.1 (SFT) to 28.7, and without its regularizer gains security “at a steep cost of decreased general coding ability” (Hasan et al., 2025). On SecCodePLT+ the SFT baseline’s function score (0.8659) exceeds REAL’s (0.7561) (Yao et al., 2025). SecCoderX, whose metric weights safety rate by functional correctness, reports that prior methods “often degrade ESR by 14-54%” (Wu et al., 2026a). Efficiency tuning shows the same tension: ACECode describes PIE as “improving efficiency but compromising correctness” (Yang et al., 2024a), ECCO finds that “no existing methods can improve time/space efficiency without sacrificing functional correctness” (Waghjale et al., 2024), and a stricter test-coverage reward on hard problems “reduces optimization failures but increases correctness failures” (Zheng et al., 2026a). Conversely, correctness-only RLVR neglects efficiency: 36.6% of the RLVR baseline’s correct programs were slow, versus 15.0% for RLPF (Jing et al., 2026). The correctness gains of EffiCoder, ACECode, Afterburner and SuperCoder cannot be separated from ordinary training on verified solutions. Non-targeted dimensions are rarely measured (only 15 of 124 studies): no security study in Tables S39 and S40 reports readability or runtime, nor any efficiency study security or readability. LPO’s data pipeline hints at the risk: repeated security refinement produced “overengineered and low quality code, training on which reduced models’ code utility” (Hasan et al., 2025). Terminology blurs the picture: LPO’s “code quality” means pass@kk, and REAL measures security and maintainability in separate scenarios, not on the same outputs. Compute fairness. Training-time methods trade a one-off training cost for no extra inference calls, so per-query comparison with the loops of § is not meaningful; most studies report training cost in no form permitting amortization (phi-1’s 8 A100s for 4 days excepted). Some headline numbers include inference-time search (PIE’s 6.86 speedup is the best of eight generations; Afterburner iterates with sandbox execution), and comparisons with inference-time baselines, such as REAL against constrained decoding and prompt optimization, are not budget-matched. Limitations. Base-model dependence. Most studies train models of at most 7B, REAL notes that “reinforcement learning often requires a reasonably strong base model” (Yao et al., 2025), and transfer to frontier models is untested. Oracle circularity. Training signal and evaluation often share an analyzer family or judge (§), and analyzers disagree: REAL found CodeQL “unexpectedly ineffective” on SecCodePLT+, and PurpCode found CodeGuru detects more vulnerabilities than CodeQL. Contamination. Synthetic data from GPT-3.5, GPT-4 or frontier LLMs may overlap with public benchmarks; phi-1 studied contamination and PurpCode excluded benchmark sources, but many studies report neither. Reproducibility. Data are often partly closed (phi-1 omits synthetic-data details “for proprietary reasons”), and RL results depend on checkpoint selection, as RLPF notes. S17.8. Hybrid and other techniques The 191 studies of the hybrid and other group (§) are grouped here by the mechanisms their signal sources map to: retrieval (retrieved knowledge), self-refinement (the model’s own critique), another LLM (a critic, reviewer or second agent), tool feedback (static analyzer, compiler, test execution or profiler), a learned verifier, training (training-time stage or a reward model) and decoding (in-decoding stage). Human input, used by 17 studies, is not counted as a mechanism. For each combination, the number of studies and up to four representative studies are listed; studies without a bibliography entry are named by their technique and record identifier (§S4). Table S26. Hybrid and other studies by combination of mechanisms (derived from their signal sources and stage), with representative studies. Mechanisms Studies Representative studies retrieval + self-refinement + tool feedback 33 Retrieval Augmented Search (Anupam et al., 2026); SCGAgent (Saul et al., 2025); ECO (Kim et al., 2025); Safety Sidecar (Wang et al., 2026a) tool feedback 27 LLM4PLC (R00632); RustMap (R02061); LLMigrate (R02100); DeRep (R02183) retrieval + tool feedback 26 SBLLM (Gao et al., 2025b); RAG + multi-tool (Sriram et al., 2026); LLM-driven HLS repair framework (R01058); APILOT (R01272) another LLM + tool feedback 16 Codexity Preshot Repair (Kim et al., 2024); Hybrid pipeline P10 (Sabir et al., 2026); CodeEvolve (Borra et al., 2026); SecureForge (Liu et al., 2026a) retrieval + another LLM + tool feedback 15 MARCO (Rahman et al., 2025); SysLLMatic (Peng et al., 2026a); HLSPilot (R01152); VeriOpt (R03540) self-refinement + tool feedback 13 CodeChain (Le et al., 2024a); SecCode (Liu et al., 2024c); LLM4EFFI (Ye et al., 2025); ArchCode (R00592) retrieval + self-refinement + another LLM + tool feedback 7 LASSI-EE (R02311); FM Agent (S03419); Rustine (S03494); Bespoke OLAP synthesis pipeline (S03781) tool feedback + training 5 Afterburner-GRPO within the Iterative … (Du et al., 2025); TurduckenGen (R00265); opt-r1 / opt-r1-mini (R03479); AlgoSkill (R06051) retrieval + self-refinement 5 KPC (Ren et al., 2023); RefleXGen (Wang et al., 2025a); RAG with valid-package statements … (R00983); RAG-assisted segmented two-stage C-to-Rust … (R05241) retrieval 4 AceCoder (R00277); Prototype2Code (R01185); Semantic patch learning from CVE patches (R04636); LLM-based AI agent with request classifier … (R05154) learned verifier 4 SecCodePRM-guided inference-time scaling (Yu et al., 2026b); AutoParLLM (R00452); Fine-tuning on ACEOB efficient-inefficient … (R01180); PreMaQ (R06857) self-refinement + another LLM + tool feedback 4 Adaptive self-improvement learning (S02612); Kernel-Smith (S03867); Feedback-grounded explicit planning in a … (S04124); SparseCraft (S04639) learned verifier + training 3 FunPRM (Zhang et al., 2026); E-code (R01179); DeepGuard (R05109) retrieval + self-refinement + another LLM 3 PEACE (Ren et al., 2025); HCAG (R04905); RTL-Obliger (R06574) retrieval + tool feedback + training 3 IDIOMS (S00303); TPU-Gen (S02710); daVinci-kernel (S04225) retrieval + another LLM + tool feedback + training 2 HexaCoder (Hajipour et al., 2024); StitchCUDA (R04757) tool feedback + learned verifier 2 SecureCoder (R01618); Surrogate-assisted kernel search (S04142) none of these signals 2 iProg (R02038); CliffCompaction (S04576) another LLM + tool feedback + learned verifier 2 T-LLM Compiler (R06491); Macro Thinking Micro Coding (S03493) tool feedback + decoding 1 Vulnerability-tuning with … (R00457) training 1 WaDec (R00998) self-refinement + tool feedback + learned verifier 1 PromSec (Nazzal et al., 2024) retrieval + another LLM + tool feedback + learned verifier 1 AutoPatch (Seo et al., 2025) another LLM + training 1 RefactorCoder-MoE (R03154) retrieval + self-refinement + training 1 Stream of Revision (R04484) retrieval + self-refinement + tool feedback + training 1 DepTrans (R05047) self-refinement 1 Accumulated behavioral rules (R06233) another LLM 1 Security-requirement appending / … (R06284) retrieval + another LLM 1 Pipeline 1 (Surikov, 2026) another LLM + learned verifier 1 ProbeDebias (R06886) tool feedback + learned verifier + decoding 1 BetterV (S01747) self-refinement + decoding 1 EfficientUICoder (S03256) retrieval + another LLM + tool feedback + learned verifier + training 1 SwiftTrans (S04226) self-refinement + tool feedback + decoding 1 Explicit agent-first (S04598) Domains. By keywords in their languages, benchmarks and titles, 111 of the studies work on specialized code: GPU or accelerator kernels (66), hardware design in Verilog, VHDL, Chisel or high-level synthesis (24), C-to-Rust migration (20), parallel code with OpenMP, MPI or OpenACC (9), smart contracts (3) and PLC programs (2); a study can fall under several. 90 evaluate on Python. The keyword match is approximate; the head-to-head excludes domain-specific techniques by the pass-2 rule of §, not by these keywords. Targets and effects. By technique row, the target improves in 112 of 122 efficiency rows, 39 of 46 security rows and 33 of 35 readability/maintainability rows; correctness is unreported in 31, 9 and 3 of them. Efficiency rows thus carry most of the unreported correctness, as in the review overall. S18. Per-family result tables and highlighted techniques The reported-effect and design tables of each technique family and its highlighted techniques, referenced from the family sections of the main article. Values are as reported by the original authors; settings differ across rows, so values are not directly comparable. Prompting Table S27. Reported effects of prompting strategies on quality and correctness. ↑\uparrow/↓\downarrow/↔\leftrightarrow: improvement/degradation/no significant change in the stated metric relative to the study’s baseline. Values as reported; settings differ, so rows are not directly comparable. Study Strategy Models; benchmark Target-dimension effect COR effect Tony (Tony et al., 2025) RCI (one critique–improve round) GPT-3/3.5/4; LLMSecEval, Bandit SEC ↑\uparrow: weakness density 77.55% lower (GPT-4) nr Bruni (Bruni et al., 2025) Security-aware persona prefix GPT-4o; LLMSecEval + SecurityEval, Semgrep/CodeQL SEC ↑\uparrow: 56% fewer vulnerabilities HumanEval pass@1 86.77% →\to 86.65% (GPT-4o-mini) Bruni (Bruni et al., 2025) RCI on baseline code GPT-4o; as above SEC ↑\uparrow: 64.7% fewer vulnerabilities ↓\downarrow pass@1 86.77% →\to 76.65% (GPT-4o-mini) Kharma (Kharma et al., 2026a) WA-0CoT (CWE-aware CoT) 5 LLMs; Java, C++, C, Python SEC ↔\leftrightarrow frequency and density; CWE mix shifts; R/M ↓\downarrow more warnings (C) nr Urmi (Urmi et al., 2026) Structured + security guidance GPT-4o; 424 Python tasks, Bandit/CodeQL SEC high-severity 20.8% →\to 13.6%; low-severity 32% →\to 43.5% nr (requested constructs sometimes removed) Pereira (Pereira and Garcia, 2026) ISO/IEC 25010-grounded requirements GPT-5.4; HumanEval/ET R/M ↑\uparrow unreadability density 0.88 →\to 0.69 (performance requirement) not reliably improved; ET pass rate ↓\downarrow (error handling) Khojah (Khojah et al., 2025) Few-shot vs. CoT+persona+packages GPT-4o; CoderEval, Pylint R/M missing docstring 71% vs. 22% few-shot ↑\uparrow; persona/CoT ↓\downarrow RACE (Zheng et al., 2024) Explicit style requirement 28 LLMs; RACE R/M camel-case compliance below 30% (CodeLlama, WizardCoder) joint metric only Apsan (Apsan et al., 2026) Energy-oriented prompts 6 LLMs; 9 EvoEval problems EFF ↔\leftrightarrow no consistent energy saving nr Rekhi (Rekhi et al., 2026) 8 energy prompts 10 LLMs; EffiBench EFF ↑\uparrow up to 25% (Python), 17% (C++) nr (correct subset only) ECCO (Waghjale et al., 2024) Few-shot exemplars open code LLMs, GPT-4o; ECCO EFF mixed by model mixed by model Table S28. Highlighted prompting techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code SCoT (Li et al., 2025b) 2025 405 L Constrains the chain of thought to sequence, branch and loop structures, then implements code from it. R/M Maintainability, human rating 0–2, ChatGPT: CoT 1.616 →\to 1.873 ↑\uparrow – Self-planning (Jiang et al., 2024) 2024 306 L Few-shot prompts make the model write a concise step plan, then code guided by that plan. R/M Readability, human rating: gain reported without numbers (nr) ↑\uparrow – LLM4EFFI (Ye et al., 2025) 2025 15 L Explores algorithms in a logic domain, optimizes the implementation in a code domain, then verifies with synthetic tests. EFF eff@1, ENAMEL, DeepSeek-V3: Effi-Learner 52.22 →\to 60.41 ↑\uparrow

Code2API (Mai et al., 2024) 2024 12 L Role, chain-of-thought and few-shot prompting turn Stack Overflow snippets into reusable, well-named API methods. R/M Method-name expressiveness, human rating 1–4, GPT-3.5: APIzator 2.23 →\to 3.65 mixed

MPCO (Gong et al., 2025a) 2025 10 L A meta-prompter LLM writes project-, task- and model-aware code-optimization prompts. EFF Mean rank of %PI over five projects (lower is better): contextual prompting 2.00 →\to 1.00 nr – BRACE (Xu et al., 2026a) 2026 1 R A separate LLM predicts the task’s likely CWEs; after catalog validation they are given to the target model as a cue. SEC Safe Code Rate (judge classifier), CyberNative, open-weight models (avg.): Secure Prompt 33.9% →\to 91.2% mixed – ECO (Kim et al., 2025) 2025 2 R Prompt combines a rule-based static bottleneck diagnosis with retrieved optimization instructions distilled from slow–fast pairs. EFF Speedup, PIE, best of five, GPT-o4-mini: instruction-only 1.99×\times →\to 7.81×\times mixed – CSDD (Marri, 2026) 2026 3 R A versioned constitution of CWE-mapped security principles constrains specifications and AI generation, traced to code. SEC CWE violations, one banking application, Claude: unconstrained 11 →\to 3 nr

SecureForge (Liu et al., 2026a) 2026 3 R Mines benign prompts whose code Semgrep flags, broadens them by MCMC rephrasing, then evolves the system prompt with GEPA using the Semgrep findings as reflection feedback. SEC Semgrep weakness rate of test-passing outputs, ten LLMs, held-out CWE Top-25 scenarios: up to 48% lower than the security-aware prompt ↔\leftrightarrow

StoryCoder (Jang et al., 2026) 2026 0 R Retells the problem as a narrative (task overview, constraints, example input/output) in a genre matched to the algorithm it picks, then generates code from the narrative. R/M Functions per correct solution, CodeForces, Gemini-2.5-Flash: repeated sampling 1.820 →\to 2.338 ↑\uparrow

Tool-feedback loops Table S29. Design space of tool-feedback loops. Gate: acceptance check other than the driving tool. COR: correctness measured, with direction. Author-reported values, not directly comparable across rows. Study Tool(s) Feedback format Max iter. Gate COR Lang.; models Blyth et al. (2025) Bandit, Pylint inline tags, severity order 10 fitness ↑\uparrow Py; GPT-4o Wadhwa et al. (2024) CodeQL, Sonar rule + fix advice; ranker one pass, 10 samples ranker review Py, Java; GPT-3.5/4 Abtahi and Azim (2025) SonarQube issue table + RAG two phases manual manual one project; GPT-3.5/4o Joos et al. (2026) SonarQube agent + rejection context 40 cycles build, tests manual Java; GPT-4.1 mini Islam et al. (2026) Pylint, Radon, Bandit, … metric diagnostics five none no Py; several Ravi et al. (2025) javac, PMD, tests errors, violations five/loop tests ↑\uparrow Java; GPT-4o-mini Alrashedy et al. (2023) Bandit raw vs. verbalized; JJ fixes KK none no Py; three LLMs Nazzal et al. (2024) Bandit, SpotBugs graph fix →\to new prompt until clean similarity ↓\downarrowa Py, Java; GPT-3.5 Kim et al. (2024) Infer, CppCheck type + location 3 none no C; five LLMs Gajjar et al. (2025) Bandit report + LLM check to clean none no Py; <<8B tuned Yan et al. (2026) CodeQL raw vs. explained nr none no Py; eight LLMs Dolcetti et al. (2026) Infer; tests one finding per prompt 6 separate ↑\uparrow C; 4 open Sriram et al. (2026) GCC, CodeQL, KLEE diagnostics + RAG three KLEE ↑\uparrow C/C++; two small Nunez et al. (2024) LLM “analyzer” CWE + advice four fuzzing ↓\downarrow Py; GPT-4o Huang et al. (2024a) line/mem. profiler per-line profile 0 to 5 open tests small ↓\downarrow Py; 16+6 LLMs Peng et al. (2025b) runtime slowest test one tests ↑\uparrow Py; open, GPT-3.5/4 Peng et al. (2026a) async-prof., perf hotspots + catalog T = 2 tests held C++, Java; GPT-4o/4.1 Deng et al. (2026a) py-spy hotspots, timing 5 tests ↑\uparrow Py; GPT-5.1, Kimi-K2 a functionality proxied mainly by code-graph similarity; Pass@1 fell when Dai et al. (2026a) ran unit tests. Table S30. Reported effects on the target dimension and on correctness (→\to: before to after). Author-reported values, not directly comparable across rows. Study Setting Target-dimension effect COR effect Blyth et al. (2025) GPT-4o; PythonSecurityEval insecure >>40%→\to13%; readability viol. >>80%→\to11% pass@1 38.16%→\to47.81% Wadhwa et al. (2024) GPT-3.5/4; CodeQL, Python pass checks 81.57%; reviewer rejection 55.11% (47.55% ranked) review only Joos et al. (2026) GPT-4.1 mini; SonarQube plausible 96.8%; correct 86.3% gated Abtahi and Azim (2025) GPT-3.5→\to4o; one project issues 7,599→\to4,340→\to1,058 manual Alrashedy et al. (2023) GPT-4; PythonSecurityEval vulnerable: Bandit 40.2%→\to7.4%; CodeQL 17.9%→\to7.7% nr PromSec in (Dai et al., 2026a) GPT-3.5; BigCodeBench Secure-Pass@1 0.3219→\to0.2447 Pass@1 ↓\downarrow Kim et al. (2024) gpt-3.5-turbo; C vulnerable 75.9%→\to15.9% nr Gajjar et al. (2025) tuned <<8B; Bandit fix accuracy 87.83 vs. 79.72 single-pass nr Yan et al. (2026) GPT-4o; CodeQL target-vuln. rate −-7.3%, −-15.7%, −-8.7% nr Dolcetti et al. (2026) best models; Infer, C 89% of vulnerabilities fixed 62% of incorrect repaired Sriram et al. (2026) CodeLlama-7B; C/C++ CodeQL defects 58.55%→\to22.19% KLEE 19.98%→\to12.18% Nunez et al. (2024) GPT-4o; SecurityEval vulnerable 59/121 (49%)→\to44/121 (36%) pass@1 0.9085→\to0.8780 Ravi et al. (2025) GPT-4o-mini; HumanEval-X PMD nr pass@1 71.65%→\to80.85% Huang et al. (2024a) StarCoder2-15B; EffiBench time 0.93 (s)→\to0.12 (s) e.g. 5.8→\to5.4b Peng et al. (2026a) GPT-4.1; DaCapo latency 1.54x (compiler 1.01x) gated Deng et al. (2026a) GPT-5.1; GSO / SWE-fficiency-Lite expert-level 19.6%→\to39.2% / 26%→\to74% gated b pass@1 of OpenCodeInterpreter-DS-1.3B. Table S31. Highlighted tool-feedback loop techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code SBLLM (Gao et al., 2025b) 2025 76 L Evolves optimized programs: selects representative executed samples, retrieves optimization patterns, combines them with genetic-operator-style prompts. EFF SP@5 (%), GPT-4, PIE Python: ICL 181.53 →\to 209.59 ↑\uparrow

PerfCodeGen (Peng et al., 2025b) 2025 58 L After a correctness phase, returns the most time-consuming unit test and asks for a faster program. EFF %Opt Best@8, GPT-4, MBPP: base 43.48 →\to 56.52 ↑\uparrow – PromSec (Nazzal et al., 2024) 2024 55 L A contrastively trained graph GAN repairs the vulnerable code graph; the repaired code is turned into an improved prompt, iteratively. SEC nr (CWE counts shown only in plots) ↑\uparrow

DeepDevVuln filter (Chan et al., 2023) 2023 41 L A fine-tuned transformer vulnerability detector flags incomplete code; completions it flags are discarded. SEC vulnerable scenarios, text-davinci-003: unfiltered 78.00% →\to filtered 8.0% nr – FRANC repair (Siddiq et al., 2024a) 2024 32 L Builds a repair prompt from Bandit or SpotBugs messages (generated-knowledge prompting, three prompt structures) and re-queries the model. SEC, R/M prompts with a good suggestion after repair: up to 80%; no pre-repair value nr

Optimo (Peng et al., 2026b) 2026 0 R Differential profiling finds bottlenecks, routed to multi-level, pattern-specific optimization prompts with shared and special strategies and correctness reflection. EFF Opt%, GPT-4o code, EffiBench: SBLLM 3.58% →\to 35.79% ↑\uparrow

Infer repair loop (Dolcetti et al., 2026) 2026 27 R Feeds one Infer warning at a time, with fix instructions, back to the model for iterative repair. SEC Infer findings fixed, C, best of four open models: 39 out of 44 (89%) nr – CodeEvolve (Borra et al., 2026) 2026 1 R Selects targets from runtime profiles; evolves edits with MCTS-augmented search, a refinement agent and cascaded validation. EFF avg. speedup, 7 Java hotspots: single-call RPBD 7.12×\times →\to 15.22×\times ↑\uparrow – PerfAgent (Deng et al., 2026a) 2026 3 R Curated profiler hotspot summary, an objective-driven loop that keeps optimizing, selective test validation, and best-patch selection. EFF hack-adjusted Opt@1, GPT-5.1, GSO: OpenHands 19.6% →\to 39.2% ↑\uparrow – SelectIssue loop (Blyth et al., 2025) 2025 17 R Each round tags a few Bandit and Pylint issues, picked by severity weight, inline at their code lines; a revision is kept only if its test-gated fitness does not fall. SEC, R/M Bandit-flagged insecure snippets, GPT-4o, PythonSecurityEval, two issues per round, ten rounds: 45.05% →\to 13.41% ↑\uparrow – Self-refinement Table S32. Reported effects of self-refinement on non-functional quality (Self-Refine on PIE: Table S33). Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Study (model) Setting and metric Before →\rightarrow after COR Self-Refine (GPT-4) CodeNet rewrite; GPT-4-judged meaningful names (R/M) 27.4 →\rightarrow 56.2 nr EffiLearner (StarCoder2-15B) EffiBench; execution time, s (EFF) 0.93 →\rightarrow 0.12 ↓\downarrow 0% to 0.5% EffiLearner (StarCoder2-15B) EffiBench; total memory usage, Mb⋅\cdots (EFF) 22.02 →\rightarrow 2.03 as above Self-Refine in EffiLearner (CodeLlama-70B) EffiBench; execution time change (EFF) ++51.9% nr Reflexion + ICD (five open code LLMs) Instruct Prime; ICD secure rate (SEC) 70.74% →\rightarrow 79.43% nr Table S33. Highlighted self-refinement techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code Self-Refine (Madaan et al., 2023) 2023 5050 L One LLM alternates between feedback on its own output and refinement using that feedback, for several iterations. EFF % programs optimized, PIE, GPT-4: no refinement 27.3 →\to 36.0 nr

CodeChain (Le et al., 2024a) 2024 91 L Modular chain of thought, then self-revisions conditioned on clustered representative sub-modules from earlier samples. R/M Modularity and reusability, GPT-4 Likert rating, 20 APPS tasks: shown only as a figure (nr) ↑\uparrow

SecCode (Liu et al., 2024c) 2024 8 L Score-based “encouragement” prompts drive repeated vulnerability detection and fixing, cross-checked with CodeQL. SEC Fix success rate after ten iterations, LEval, GPT-3.5: CoT 0.64 →\to 0.96 ↑\uparrow – RefleXGen (Wang et al., 2025a) 2025 7 L Self-reflection on code security; reflections and secure snippets accumulate in a knowledge base retrieved for later tasks. SEC CodeQL security rate, SVEN scenarios, GPT-3.5 Turbo: base 75.5 →\to 89.1 mixed – GRASP (Patir et al., 2025) 2025 4 L Revises a seed solution by traversing a dependency graph (DAG) of the relevant secure coding practices. SEC CodeQL security rate, 37 Python scenarios, GPT-4o: PromSec 0.52 →\to 0.79 mixed – Safety Sidecar (Wang et al., 2026a) 2026 1 R A lightweight self-check routes risky code to a reflective prompt fed by a memory of past secure repairs. SEC CodeQL security rate, SVEN scenarios, GPT-4o: base agent 85.7 →\to 95.0 mixed – Multi-agent pipelines Table S34. Highlighted multi-agent techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code SecAwareCoder (Wang et al., 2026e) 2026 54 L Task-adaptive threat modeling yields vulnerability hypotheses that guide constraint-aware generation and security-test synthesis; execution feedback drives repair. SEC S-Pass@1, CodeSecEval, GPT-5: CoT 27.45 →\to 34.90 ↑\uparrow

FlowGen (Lin et al., 2025b) 2025 51 L Agents in requirement-engineer, architect, developer, tester and scrum-master roles emulate Waterfall, TDD or Scrum, with self-refinement. R/M Pylint error-smell density, GPT-3.5: 81.8% to 96.0% lower than RawGPT ↑\uparrow

INDICT (Le et al., 2024b) 2024 4 L A safety critic and a helpfulness critic, grounded in web search and code execution, give preemptive and post-hoc feedback to the coder. SEC Safety, CyberSecEval-1 split, GPT-4o-mini: direct 78.2 →\to 90.9 nr

ContextEvolve (Su et al., 2026) 2026 2 R Summarizer, Navigator and Sampler agents compress evolutionary-search context into semantic state, optimization direction and retrieved exemplars. EFF ADRS combined score vs. top baseline: 6.5% higher on average ↔\leftrightarrow

Just-in-time remediation (P1) (Surikov, 2026) 2026 0 R A validator LLM reviews generated code; its findings, enriched with ATT&CK techniques, CWE examples and best practices, drive remediation. SEC CodeQL+Bandit findings per sample, four Claude models pooled: initial 1.34 →\to 0.78 nr

LessonL (Liu et al., 2025c) 2025 0 R Agents solicit lessons from each other’s successes and failures, bank them, and select relevant lessons for later rounds. EFF Geometric-mean speedup, ParEval serial: Reflexion (Qwen14B) 1.88 →\to 2.16 ↑\uparrow

MARCO (Rahman et al., 2025) 2025 3 R An optimizer agent and a performance-evaluator agent iterate in a feedback loop; web search supplies recent optimization techniques. EFF Mean runtime (ms), LeetCode 75: Claude 3.5 Sonnet 57.5 →\to 49.1 nr – C3 (Gu et al., 2026) 2026 0 R Adds auction-based role allocation (CAB) and opponent-aware decentralized competition (DCC) to a collaborative development pipeline. R/M Human maintainability rating, extended SoftwareDev, GPT-4o: MetaGPT 3.6 →\to 3.8 ↑\uparrow – MaintainCoder (Wang et al., 2025c) 2025 18 L Requirements-analysis, design-pattern-selection, framework-design and framework-evaluation agents produce an architectural blueprint; a coding agent and an execution-driven optimizer then write and refine the code. R/M Post-modification Pass@5 (code changed for new requirements), APPS-Dyn, DeepSeek-V3: plain 59.5 →\to 62.5 ↑\uparrow

ACCLAIM (Mikek et al., 2026) 2026 3 L A guiding agent interleaves LLVM front-, middle- and back-end passes with LLM rewriting agents at source, IR and assembly level under one call budget; a test-generating agent checks every candidate. EFF Geometric-mean speedup over clang -O3, Claude 3.7 Sonnet, 100 CodeNet C programs, equal budget: source-only agent 1.18×\times →\to 1.25×\times nr

Retrieval Table S35. Reported effects of further retrieval-augmented methods on quality and correctness, as reported by the original authors; settings differ, so values are not directly comparable. Method Retrieved unit Models; benchmark Target-dimension effect COR effect SecCoder (Zhang et al., 2024a) Secure demonstrations CodeGen, SantaCoder, InCoder; CodeQL SEC ↑\uparrow 7.20% avg. on unseen cases ↔\leftrightarrow “almost the same” RESCUE (Shi and Zhang, 2026) Distilled guidelines, sliced examples 6 LLMs; 4 benchmarks SEC ↑\uparrow SecurePass@1 4.8 points ↔\leftrightarrow comparable SEEK (Gadey et al., 2026) CWE-graph fix instances 5 open LLMs; CodeGuard+ SEC SecurePass@1 77.45% in SecurePass@1 SOSecure (Mukherjee and Hellendoorn, 2026) Stack Overflow critiques (post-draft) GPT-4; LLMSecEval SEC fix rate 91.3% vs. 56.5% nr A3-CodGen (Liao et al., 2024) Local functions GPT-3.5; 13,784 PyPI functions R/M reuse F1 0.589 (vanilla 0) nr Table S36. Highlighted retrieval techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code PIE dynamic retrieval (Shypula et al., 2024) 2024 171 L Retrieves the slow–fast program pairs most similar to the input and uses them as few-shot examples for optimization. EFF Speedup (Best@8), PIE, CodeLlama 34B: CoT 1.30×\times →\to 2.28×\times mixed

LAIL (Li et al., 2025c) 2025 92 L Labels candidate examples by how much they raise the LLM’s likelihood of the reference program; trains a contrastive retriever on these labels. R/M Human code-quality score: best example selector 1.738 →\to 1.839 ↑\uparrow – KPC (Ren et al., 2023) 2023 50 L Builds an exception-handling knowledge base from Java API documentation; chained prompts check generated code for unhandled exceptions and rewrite it. R/M Good exception-handling practice (manual review), GPT-3.5: direct 14.58% →\to 98.86% ↑\uparrow

RAPGen (Garg et al., 2025) 2025 36 L Retrieves an instruction from a knowledge base of past performance-bug fixes and builds a zero-shot fix prompt from it. EFF Expert-judged closest-match top-100 accuracy, C# fixes, GPT-3.5: reasoning prompt 43.2 →\to 60.6 nr – CodeGuarder (Lin et al., 2025a) 2025 30 L Decomposes the query into sub-tasks, retrieves root causes and secure samples, re-ranks by model susceptibility, injects them into the prompt. SEC Security rate, CyberSecEval, average over LLMs: RACG without security knowledge 60.84 →\to 73.08 ↑\uparrow – RAS (Anupam et al., 2026) 2026 6 R Beam search over candidate optimizations; slow–fast exemplars are retrieved by an LLM-written natural-language description of the program. EFF Average speedup, PIE, Qwen3-Coder: dynamic retrieval 4.23×\times →\to 8.70×\times ↑\uparrow

SemOpt (Zhao et al., 2026b) 2026 6 R Builds a strategy library from optimization commits; LLM-written Semgrep rules locate applicable code; the LLM applies the matched strategy. EFF Equivalence to developer patch (manual), C/C++, DeepSeek-V3: BM25 RAG 23.80% →\to 42.38% nr

AutoPatch (Seo et al., 2025) 2025 7 R Matches generated code to post-cutoff CVEs in a retrieval database, verifies the vulnerability, and patches with the retrieved CVE context. SEC Patch accuracy, authors’ CVE dataset: VSP 55.56% →\to 94.12% (GPT-4o) nr

PEACE (Ren et al., 2025) 2025 11 R Optimizes functions in dependency order, guided by filtered historical edits; a fine-tuned optimizer also uses similar internal and external fast implementations. EFF Opt rate (%, CPU instructions vs. GPT-4o prompting), PeacExec: SBLLM +28.5 →\to +46.9 ↑\uparrow

MA-CoT (Kharma et al., 2026b) 2026 2 R Classifies the task into security domains with an LLM, retrieves matching CWE mitigation strategies from a knowledge base, and builds them into the prompt. SEC Total security findings (SonarQube, expert-validated), authors’ primary dataset, three LLMs: Vanilla 92 →\to 39 nr – Decoding Table S37. Further decoding-time results (highlighted techniques are in Table S38). Values as reported by the authors; settings differ, so values are not directly comparable. Method Dim. Setting (model; benchmark; metric) Reported Type-constrained (Mündler et al., 2025) COR 2B–34B; HumanEval (TypeScript); compiler-error reduction 74.8% MRepE (Gao et al., 2026) R/M DeepSeek-R1 14B; MBPP; correctness loss 0.79% CodeT (Chen et al., 2023) COR code-davinci-002; HumanEval; pass@1 65.8% S* (Li et al., 2025a) COR R1-Distill-Qwen-32B; LiveCodeBench; accuracy 85.7% Table S38. Highlighted decoding and selection techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code PG-TD, length reward (Zhang et al., 2023b) 2023 272 L Tree search during decoding; replacing the test reward with a length penalty or comment reward controls code style. R/M code length, APPS: default reward 248.42 →\to length penalty 190.73 ↔\leftrightarrow

Constrained beam sampling (Fu et al., 2024) 2024 61 L Beam sampling with hand-written positive and negative key-phrase constraints per prompt, enforcing secure API patterns. SEC secure-pass@1, CodeGen-2.7B, CodeGuard+: beam 33.77 →\to 51.25 mixed

RPG (Dong et al., 2025b) 2025 15 L A grammar-based pushdown automaton detects structural repetition during decoding and decays the likelihood of tokens causing it. R/M TR-S (lower is better), real-world repos: greedy 0.631, repetition penalty 0.358, RPG 0.335 ↑\uparrow

Surprisal-guided selection (Barnes, 2026) 2026 1 R Among correct samples, keeps the one with the highest surprisal (lowest model confidence) instead of the most confident. EFF fast and correct, GPT-OSS-120B, KernelBench L1 subset: most confident 50% →\to 80% nr – DuoSteer (Yan and Yao, 2026) 2026 0 R Adds safety and correctness steering vectors at causally identified attention heads during inference. SEC vulnerability rate, Llama-3.1-8B-Instruct, five CWEs: average change −-26.9% vs. unsteered ↑\uparrow

FunPRM (Zhang et al., 2026) 2026 4 R Prompts for code written function by function, treats each function as a step, and selects best-of-NN with a meta-corrected process reward model. R/M readability preference, Qwen2.5-7B-Coder, correct pairs: base 45.8 vs. FunPRM 54.2 ↑\uparrow – SCS-Code (Wendlinger et al., 2026) 2026 1 R Adds a difference-in-means secure-code concept vector to the residual stream at inference. SEC sec-pass@1, DeepSeek-Coder-V2-Lite, CodeGuard+: unsteered 52.8 →\to 60.3 mixed

MoC (Yu et al., 2025) 2025 6 L Per-CWE linear probes on hidden states flag a vulnerable state; only then a decaying mix of per-CWE correction vectors is added to the hidden state. SEC Security ratio (CodeQL), SVEN test set, Qwen2.5-Coder-7B: base 76.8 →\to 85.7 (learned dynamic corrections) ↑\uparrow

SecCodePRM (Yu et al., 2026b) 2026 1 R A process reward model, trained on step-level labels derived from vulnerability-fix diffs, scores each code step; best-of-NN keeps the candidate with the highest risk-weighted security reward. SEC func-sec@1, CWEval, QC3-30B generator, best of 20: probability ranking 41.64 →\to 54.62 (QwenPRM 47.90) ↑\uparrow

RobGen (Li et al., 2025h) 2025 8 L A small classifier predicts whether the next line should open an if guard; when if is among the three most likely tokens, a logits processor raises its logit. SEC Outputs judged less robust than the reference (GPT-4o), CoderEval Java, DeepSeekCoder-1.3B: greedy 42.2% →\to 28.7% (lower is better) ↑\uparrow

Training Table S39. Reported effects of further training-time techniques; the highlighted ones are in Table S40 (signal source in parentheses; PO = preference optimization; awith two-step generation; bas stated by the authors). Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Method Signal Base model Target effect COR effect HexaCoder SFT (CodeQL) four LLMs SEC ↑\uparrow up to 85% fewer vulnerablea (3 benchmarks) ↔\leftrightarrowb ProSec PO (CWE tasks) several code LLMs SEC ↑\uparrow 25.2%–35.4% vs. SafeCoder data (PurpleLlama) ↔\leftrightarrowb PurpCode SFT+RL Qwen2.5-32B SEC ↑\uparrow 12% over next best (CyberSecEval) ↔\leftrightarrowb SecCoderX RL (learned RM) CodeLlama-7B, Qwen2.5-Coder SEC×\timesCOR ↑\uparrow ESR about 10% in ESR PIE SFT (gem5) GPT-3.5 EFF ↑\uparrow 6.86 speedup, best of 8 (PIE) filtered EffiCoder SFT (profiler) Qwen2.5-Coder-7B-Instr. EFF ↑\uparrow time 48.4% lower (EffiBench) 44.8%→\to57.7% ACECode RL (execution) four code LLMs EFF ↑\uparrow faster in 65%–72% 1.84%–14.51% ↑\uparrow Afterburner RL (sandbox) Qwen2.5-3B EFF ↑\uparrow beats humans 31%→\to45% (Venus) 47%→\to62% SuperCoder RL (speedup) Qwen2.5-Coder-7B-Instr. EFF ↑\uparrow 1.10x→\to1.46x vs. -O3 61.4%→\to95.0% RLPF RL (runtime) Qwen3-32B EFF ↑\uparrow 8.1%→\to38.6% rel. efficiency (PerfCodeBench) 11.1%→\to54.6% Table S40. Highlighted training techniques: landmarks (L, most cited) and recent leaders (R, 2025–2026, largest reported gain). Year = year of the cited version. Cit. = Semantic Scholar citations, October 2026. COR = direction of the effect on correctness as coded in our extraction. Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Technique Year Cit. L/R Core idea Target Reported result COR Code SVEN (He and Vechev, 2023) 2023 337 L Learns property-specific prefixes with region-specific losses on vulnerability-fix diffs; LM weights unchanged. SEC Secure rate, CodeGen-2.7B: original LM 59.1% →\to 92.3% mixed

SafeCoder (He et al., 2024) 2024 110 L Joint standard and security instruction tuning; masked likelihood on secure code, masked unlikelihood on vulnerable code. SEC Code security, StarCoder-1B: standard instr. tuning 62.9 →\to 92.1 ↔\leftrightarrow

CodeUltraFeedback (Weyssow et al., 2026) 2026 81 L GPT-3.5 judge rates responses of many LLMs on five coding preferences; SFT then DPO on the ratings. R/M, EFF (judged) Judge score, complexity/efficiency, CodeLlama-7B-Instr.: base 6.16 →\to 7.89 ↑\uparrow

CodeDPO (Zhang et al., 2025a) 2025 63 L Ranks self-generated code and tests by PageRank-style mutual validation, adds fastest-versus-slowest pairs, trains with DPO. EFF Mean time (s), HumanEval+, commonly solved: before 0.250 →\to 0.172 ↑\uparrow

Afterburner (Du et al., 2025) 2025 20 R GRPO with execution-time rewards inside an iterative optimization loop that feeds back measured performance. EFF Beyond-I, Venus, Qwen2.5-3B: 31% →\to 45% ↑\uparrow

PurpCode (Liu et al., 2025a) 2025 23 R Rule-learning SFT on safety rules, then GRPO with multi-objective rewards from code analyzers, tests and a learned verifier. SEC Secure code, CodeLMSec, Qwen2.5-32B: base 29.2 →\to 94.8 ↔\leftrightarrow

SmellCC data (Xue et al., 2026b) 2026 9 R Removes code smells from the fine-tuning corpus by LLM-based refactoring before training. R/M SonarQube smells, DeepSeek-V1: 61.0% fewer than fine-tuning on the original data ↑\uparrow

SecCoderX (Wu et al., 2026a) 2026 5 R Online GRPO against a CWE-conditioned reasoning vulnerability reward model, with rewards that preserve functionality. SEC Safety rate vs. the unaligned model: 11%–16% gain mixed

REAL (Yao et al., 2025) 2025 12 R RL whose reward combines program-analysis detection of security or maintainability issues with unit-test results. SEC, R/M Quality, SecCodePLT+, Qwen2.5-Coder-7B: SFT 0.5122 →\to 0.8293 ↑\uparrow

MPCoder (Dai et al., 2024) 2024 33 L Learns Checkstyle style attributes through residual prompts, per-user style vectors, and a contrastively trained multi-user style adapter gated into the output distribution. R/M Coding Style Score (similarity to the user’s own Java style), CodeLlama-7B-Instr., PCISparse: base 46.29 →\to 66.18 (single-user L-LDB 61.09) mixed

S19. The model landscape: sampling, reasoning, cutoffs and vendor reports S19.1. Overview of the 2025–2026 models Most techniques in §§– of the main article were evaluated on now-superseded models. Table S9 (§S7.3) lists frontier closed and major open-weight and code-specialized models released January 2025 to October 2026, under vendor names, with vendor-reported coding scores, architecture and training cutoffs; the Supplementary Material (§S5) lists every release with its month and source. The experiments (§) use a fixed subset. S19.1.1. Frontier and open-weight models Frontier closed models. Frontier vendors now ship tiered flagships every few months. Anthropic’s fifth generation adds a top tier, Claude Fable, alongside Claude Mythos variants whose most sensitive capabilities go to vetted users via a trusted access program (Anthropic, 2026h); current models are Claude Fable 5.1, Opus 5.5, Sonnet 5.5 and Haiku 5.5 (Anthropic, 2026f). OpenAI moved to three tiers per generation: GPT-5.6 Sol, Terra and Luna (OpenAI, 2026g), then GPT-6 Astra, Sol and Luna (OpenAI, 2026i). Google’s Gemini 2.5 and Gemini 4 Argon are sparse mixture-of-experts (MoE) models (Comanici et al., 2025; Google DeepMind, 2026d), and xAI’s recent cards name the vendor SpaceXAI, “a doing-business-as (DBA) name of XAI LLC” (SpaceXAI, 2026b). Open-weight and code models. The largest open-weight models are MoEs from DeepSeek, Qwen, Z.ai, Moonshot, MiniMax and Xiaomi, up to 2.4T total and 95B active parameters for Qwen3.8 (Qwen Team, 2026e). Western releases are mostly smaller (gpt-oss, Gemma, Llama 4, Olmo, Muse Glimmer), except NVIDIA’s Nemotron 3 Ultra and Mistral Large 4 (weights announced, not yet released). Technical reports describe DeepSeek-R1 (DeepSeek-AI et al., 2025a), Kimi k1.5, K2 and K2.5 (Team et al., 2025c; Team et al., 2025b; Team et al., 2026b), MiniMax-M1 (MiniMax et al., 2025a), Magistral (Mistral-AI et al., 2025), OLMo 2 (OLMo et al., 2024), Llama-Nemotron (Bercovich et al., 2025), and Gemma 3 and Gemma 4 (Team et al., 2025a; Team et al., 2026a), the latter pairing dense and MoE variants; Ai2’s Olmo 3 also releases its training data (Olmo et al., 2025). Code-specialized releases include Meta’s CWM (FAIR CodeGen team et al., 2025), Qwen3-Coder and Qwen3-Coder-Next (Qwen Team, 2025d; Cao et al., 2026), Mistral’s Devstral (Mistral AI, 2025c) and Ai2’s SERA coding agents (Shen et al., 2026b). Benchmarks. Vendor benchmarks changed as fast as the models. By September 2026 the top SWE-bench Verified entry on the vals.ai leaderboard (grey literature) reached 97.00% (Vals AI, 2026), and OpenAI “stopped reporting SWE-bench Verified scores” in February 2026 (OpenAI, 2026m). Recent cards report SWE-bench Pro (a public set plus held-out and proprietary commercial repository sets) (Deng et al., 2026b), Terminal-Bench 2.0 to 4.0 (Merrill et al., 2026) and DeepSWE. On Terminal-Bench 2.1, open models report 90.6% (DeepSeek-V4.1-Flash, above Claude Opus 5 at 89.1%) (DeepSeek-AI, 2026d), 88.3 (Kimi K3) (Moonshot AI, 2026c) and 88.2 (GLM-5.3) (Z.ai, 2026g), against 88.8% for GPT-5.6 Sol (OpenAI, 2026g). Harnesses differ, so the numbers are not comparable, but open weights, required for decoding- and training-time techniques (§, §), no longer trail far on correctness. How vendors moved away from user-controlled sampling, what reasoning models change for code quality, the training cutoffs that define our contamination windows, and what vendors themselves report about code quality are detailed in the following subsections. S19.2. The Retreat From Sampling Control From Claude Opus 4.7 onward, non-default temperature, top_p or top_k values on Anthropic’s models “return a 400 error on every request, regardless of whether thinking is used”; older models restrict them only with thinking on (Anthropic, 2026i). OpenAI’s GPT-6 guide says to drop temperature and top_p unless reasoning effort is none (OpenAI, 2026l). Google recommended Gemini 3’s default temperature of 1.0 (Google, 2026a), and for Gemini 4 Argon sampling parameters “are ignored” (Google, 2026f). xAI’s reasoning models cannot turn reasoning off and reject penalty and stop parameters (SpaceXAI, 2026c). Only an effort level remains. Greedy decoding and temperature sweeps, the usual pass@kk setting in the surveyed papers, are not reproducible on these APIs; variance must come from repeated samples at a recorded effort, and logit-level techniques (§) need open weights. S19.3. Reasoning Models and Code Quality Most flagships since mid-2025 are reasoning models with adjustable effort. Vendors report effort’s effect on correctness and cost, not quality; independent evidence covers only security. On CWEval, o4-mini produced secure code more often than the non-reasoning Claude 3.7 Sonnet, yet a non-reasoning model in an agentic workflow matched it (Saul et al., 2025). SecPI reports that “even state-of-the-art RLMs frequently introduce critical security vulnerabilities” and that generic security reminders “consistently degrade functional correctness” (Wang et al., 2026d). We found no study of reasoning effort’s effect on readability, maintainability or efficiency. Hidden reasoning also complicates compute fairness: an added critique step competes with the model’s own deliberation (§). S19.4. Training Cutoffs and Contamination Windows Stated cutoffs range from June 2024 for gpt-oss (OpenAI et al., 2025) and GPT-4.1 (OpenAI, 2025h), and August 2024 for Llama 4 and Gemma 3 (Meta, 2025; Google DeepMind, 2025a), to Jun 2026 for Anthropic’s current models (Anthropic, 2026f) and June 2026 pretraining for Grok 4.7 (SpaceXAI, 2026a). Two details widen these windows. Some vendors date data separately: Nemotron 3 Ultra’s pre-training data runs to September 2025 and its post-training data to May 2026 (NVIDIA, 2026f), and Grok 4.6 used “data generated as late as June 2026 in its supplemental training” (SpaceXAI, 2026b). And DeepSeek, Qwen, Z.ai and Moonshot state no cutoff in the sources we examined, so date splits for them must first probe the cutoff; open training data, as in Olmo 3 (Olmo et al., 2025), permits a direct audit. Memorization of older benchmarks is documented: from issue text alone, models find the buggy file of a SWE-bench Verified issue with “up to 76% accuracy”, against “up to 53%” on other repositories (Liang et al., 2026), and agents degrade without familiar repository cues (Chen et al., 2026d). Date-tagged benchmarks allow evaluation “only on time-windows after the model’s cutoff date” (Jain et al., 2025), but with frontier cutoffs in mid-2026 such windows hold only months of tasks. See § for benchmark choice under this constraint; § reports contaminated and post-cutoff splits separately. S19.5. What Vendors Report About Code Quality The NF column of Table S9 is mostly nr. On security, Qwen reports SecCodeBench and CWEval (Cao et al., 2026; Qwen Team, 2026b), Meta CyberSecEval insecure-code tests (Meta, 2026f), and xAI an internal eval, SecureCodeReview (SpaceXAI, 2026b). On efficiency, MiniMax reports SWE-Perf, SWE-fficiency and KernelBench Hard (MiniMax, 2025b; MiniMax, 2026a). Closest to maintainability is FrontierCode, which “measures whether AI-generated pull requests would be mergeable by open-source maintainers, measuring behavioral correctness, regression safety, scope discipline, style, and adherence to codebase conventions” (SpaceXAI, 2026b); Google, OpenAI and Anthropic also report it (Google DeepMind, 2026b; OpenAI, 2026i; Anthropic, 2026d), but since it includes correctness it does not isolate R/M. Mistral adds a blind human rating of “coding quality” (Mistral AI, 2026b), and OpenAI an extraneous-edit rate (OpenAI, 2025h). No vendor reports complexity, code smells or lint violations, and system-card cyber-security sections measure offensive capability, not ordinary generated code’s security. Independently, a SonarQube analysis of 4,442 Java assignments found “no direct correlation” between pass@1 and “the overall quality and security” of the generated code (Sabra et al., 2025). S20. Related surveys and publication trends Table S41. Existing secondary studies compared with this review. Dims: quality dimensions treated as a focus (R/M, EFF, SEC); “–” means none. Exp.: whether the study runs its own experiments. Years and study counts as stated by each survey (nr: not stated). Values as reported by the original authors; settings differ across rows, so values are not directly comparable. Study Scope Dims Technique coverage Exp. Years Studies Hou et al. (2024) LLMs for software engineering – Model use, data, tuning, evaluation by task no 2017–2024 395 Jiang et al. (2026) LLM code generation – Data, training, prompting, retrieval, agents no nr 235 Dong et al. (2025a) LLM-based code generation agents – Single- and multi-agent architectures no 2022–2025 nr Yang et al. (2024c) Non-functional properties of code models SEC; efficiency of models, not code Evaluation and enhancement methods per property no nr 146 Kamoi et al. (2024) Self-correction of LLMs (all tasks) – Intrinsic and external feedback, fine-tuning no nr nr Chochlov et al. (2026) Secondary studies of LLM code generation (tertiary) – Effects, scenarios, integration challenges no 2017–2025 30 Tony et al. (2025) Prompting for secure code SEC Prompting only yes from 2018 13 Basic and Giaretta (2024) LLMs in code security SEC Prompting; vulnerability detection and repair no to early 2026 102 Patir et al. (2026) Secure code generation (SoK) SEC Prompting, fine-tuning, RL, agentic workflows yes 2021–2026 nr Matias et al. (2026) Maintainability and evolvability R/M Mitigation strategies no 2020–2024 87 Ehsani et al. (2026b) Technical debt (multivocal) R/M Mitigation strategies, metrics, tools no to 2026 104 Alomari et al. (2026) LLMs to enhance code quality R/M Refactoring, smell detection; prompting, fine-tuning no to 2024 49 Gong et al. (2025b) LM-based code optimization EFF Code optimization techniques no nr 53 Ali et al. (2026) Energy efficiency of LLM-generated code EFF Prompting and fine-tuning strategies no nr 18 He et al. (2026b) Training-data causes of code quality issues R/M, EFF, SEC Detection and mitigation across data, model and generation no 2021–2026 114 Sun et al. (2026) Non-functional quality of generated code (ISO/IEC 25010) R/M, EFF, SEC Prompting and feedback strategies small 2022–2025 109 This review Techniques that improve LLM code quality R/M, EFF, SEC (COR as control) Seven families, faceted by stage and signal source yes 2021–2026 628 Figure S1. Left: included studies per year by technique family (2026 covers January to mid-October). Right: benchmarks used by included studies per year (top 12). Counts from LLM-assisted extraction reviewed by the author.Two stacked bar charts by year: included studies per technique family, and the twelve most used benchmarks. References Abtahi and Azim (2025) Seyed Moein Abtahi and Akramul Azim. Augmenting Large Language Models with Static Code Analysis for Automated Code Quality Improvements. In 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering (Forge), pages 82–92, 2025. doi: 10.1109/forge66646.2025.00017. Acharya et al. (2025) Manish Acharya, Yifan Zhang, Kevin Leach, and Yu Huang. Optimizing Code Runtime Performance Through Context-Aware Retrieval-Augmented Generation. In 2025 IEEE/ACM 33rd International Conference on Program Comprehension (ICPC), pages 1–5, 2025. doi: 10.1109/icpc66645.2025.00028. Agentica and AI (2025a) Agentica and Together AI. DeepCoder: A Fully Open-Source 14B Coder at O3-mini Level. Vendor documentation, 2025a. URL https://www.together.ai/blog/deepcoder. Agentica and AI (2025b) Agentica and Together AI. DeepSWE: Training a Fully Open-sourced, State-of-the-Art Coding Agent by Scaling RL. Vendor documentation, 2025b. URL https://www.together.ai/blog/deepswe. Agyekum and Santos (2026) Benjamin Agyekum and Fabio Santos. Does Fixing Break Security? An Empirical Study of Security Degradation in Iterative LLM-Driven Infrastructure-as-Code Repair. arXiv preprint arXiv:2608.13404, 2026. arXiv:2608.13404. Ai2 (2025a) Ai2. allenai/OLMo-2-0425-1B. Vendor documentation, 2025a. URL https://huggingface.co/allenai/OLMo-2-0425-1B. Ai2 (2025b) Ai2. Olmo 3: Charting a path through the model flow to lead open-source AI. Vendor documentation, 2025b. URL https://allenai.org/blog/olmo3. Ai2 (2025c) Ai2. OLMo 2 32B: First fully open model to outperform GPT 3.5 and GPT 4o mini. Vendor documentation, 2025c. URL https://allenai.org/blog/olmo2-32B. Ai2 (2025d) Ai2. OLMoE, meet iOS. Vendor documentation, 2025d. URL https://allenai.org/blog/olmoe-app. Ai2 (2025e) Ai2. Scaling the Tülu 3 post-training recipes to surpass the performance of DeepSeek V3. Vendor documentation, 2025e. URL https://allenai.org/blog/tulu-3-405b. Ai2 (2026a) Ai2. allenai/SERA-14B. Vendor documentation, 2026a. URL https://huggingface.co/allenai/SERA-14B. Ai2 (2026b) Ai2. allenai/SERA-32B. Vendor documentation, 2026b. URL https://huggingface.co/allenai/SERA-32B. Ai2 (2026c) Ai2. Introducing Olmo Hybrid: Combining transformers and linear RNNs for superior scaling. Vendor documentation, 2026c. URL https://allenai.org/blog/olmohybrid. Ai2 (2026d) Ai2. Open Coding Agents: Fast, accessible coding agents that adapt to any repo. Vendor documentation, 2026d. URL https://allenai.org/blog/open-coding-agents. Akli et al. (2026) Amal Akli, Mike Papadakis, Maxime Cordy, and Yves Le Traon. When Prompt Under-Specification Improves Code Correctness: An Exploratory Study of Prompt Wording and Structure Effects on LLM-Based Code Generation. arXiv preprint arXiv:2604.24712, 2026. arXiv:2604.24712. Ali et al. (2026) Sabiya Banu Masthan Ali, Syed Muhammad Danish, Aroosa Hameed, Oussema Kirmani, and Gautam Srivastava. Energy-Efficient Code Generation Using Large Language Models: A Systematic Literature Review. arXiv preprint arXiv:2603.00989, 2026. arXiv:2603.00989. Alibaba Cloud (2026) Alibaba Cloud. Model lifecycle and updates. Vendor documentation, 2026. URL https://www.alibabacloud.com/help/en/model-studio/newly-released-models. All Hands AI (2025) All Hands AI. Introducing OpenHands LM 32B – A Strong, Open Coding Agent Model. Vendor documentation, 2025. URL https://www.openhands.dev/blog/introducing-openhands-lm-32b----a-strong-open-coding-agent-model. Alomari et al. (2026) Nawaf Alomari, Moussa Redah, Ahmad Ashraf, and Mohammad Alshayeb. Using LLMs to enhance code quality: A systematic literature review. Information and Software Technology, 190:107960, 2026. doi: 10.1016/j.infsof.2025.107960. Alrashedy et al. (2023) Kamel Alrashedy, Abdullah Aljasser, Pradyumna Tambwekar, and Matthew Gombolay. Can LLMs Patch Security Issues? arXiv preprint arXiv:2312.00024, 2023. arXiv:2312.00024. Amazon (2025a) Amazon. Amazon Nova Premier, our most capable model for complex tasks and teacher for model distillation. Vendor documentation, 2025a. URL https://aws.amazon.com/about-aws/whats-new/2025/04/amazon-nova-premier-complex-tasks-model-distillation/. Amazon (2025b) Amazon. Announcing Amazon Nova 2 foundation models now available in Amazon Bedrock. Vendor documentation, 2025b. URL https://aws.amazon.com/about-aws/whats-new/2025/12/nova-2-foundation-models-amazon-bedrock/. Anthropic (2025a) Anthropic. Claude Sonnet 4.5. Vendor documentation, 2025a. URL https://platform.claude.com/docs/en/models/sonnet-4-5/overview.md. Anthropic (2025b) Anthropic. Introducing Claude Sonnet 4.5. Vendor documentation, 2025b. URL https://www.anthropic.com/news/claude-sonnet-4-5. Anthropic (2026a) Anthropic. Claude Fable 5. Vendor documentation, 2026a. URL https://platform.claude.com/docs/en/models/fable-5/overview.md. Anthropic (2026b) Anthropic. Claude Platform release notes. Vendor documentation, 2026b. URL https://platform.claude.com/docs/en/release-notes/overview.md. Anthropic (2026c) Anthropic. Claude Haiku 5.5. Vendor documentation, 2026c. URL https://platform.claude.com/docs/en/models/haiku-5-5/overview.md. Anthropic (2026d) Anthropic. Introducing Claude Opus 5.5. Vendor documentation, 2026d. URL https://www.anthropic.com/claude-opus-5-5. Anthropic (2026e) Anthropic. Model deprecations. Vendor documentation, 2026e. URL https://platform.claude.com/docs/en/about-claude/model-deprecations.md. Anthropic (2026f) Anthropic. Models overview. Vendor documentation, 2026f. URL https://platform.claude.com/docs/en/about-claude/models/overview.md. Anthropic (2026g) Anthropic. Project Glasswing: Securing critical software for the AI era. Vendor documentation, 2026g. URL https://www.anthropic.com/glasswing. Anthropic (2026h) Anthropic. System Card: Claude Fable 5 & Claude Mythos 5. Vendor documentation, 2026h. URL https://www-cdn.anthropic.com/57a52ea7d8f0e54e8a542e908266086df425cdf5/Claude%20Fable%205%20&%20Claude%20Mythos%205%20System%20Card.pdf. Anthropic (2026i) Anthropic. Thinking. Vendor documentation, 2026i. URL https://platform.claude.com/docs/en/build-with-claude/thinking.md. Anupam et al. (2026) Sagnik Anupam, Alexander Shypula, and Osbert Bastani. LLM Program Optimization via Retrieval Augmented Search. In Findings of the Association for Computational Linguistics: ACL 2026, pages 42170–42186, 2026. doi: 10.18653/v1/2026.findings-acl.2092. Apsan et al. (2026) Radu Apsan, Vincenzo Stoico, Michel Albonico, Rudra Dhar, Karthik Vaidhyanathan, and Ivano Malavolta. Generating Energy-Efficient Code via Large-Language Models - Where are we now? In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering, pages 426–439, 2026. doi: 10.1145/3744916.3764522. Arcee AI (2025a) Arcee AI. Arcee Debuts Trinity Mini, Expanding Its U.S.-Built Model Line. Vendor documentation, 2025a. URL https://www.arcee.ai/blog/the-trinity-manifesto. Arcee AI (2025b) Arcee AI. Deep Dive: AFM-4.5B, the First Arcee Foundation Model. Vendor documentation, 2025b. URL https://www.arcee.ai/blog/deep-dive-afm-4-5b-the-first-arcee-foundational-model. Arcee AI (2026a) Arcee AI. Trinity Large: An Open 400B Sparse MoE Model. Vendor documentation, 2026a. URL https://www.arcee.ai/blog/trinity-large. Arcee AI (2026b) Arcee AI. Trinity-Large-Thinking: Scaling an Open Source Frontier Agent. Vendor documentation, 2026b. URL https://www.arcee.ai/blog/trinity-large-thinking. Arimbur (2026) Johin Johny Arimbur. How Many Tries Does It Take? Iterative Self-Repair in LLM Code Generation Across Model Scales and Benchmarks. arXiv preprint arXiv:2604.10508, 2026. arXiv:2604.10508. Asare et al. (2023) Owura Asare, Meiyappan Nagappan, and N. Asokan. Is GitHub’s Copilot as bad as humans at introducing vulnerabilities in code? Empirical Software Engineering, 28(6):129, 2023. doi: 10.1007/s10664-023-10380-1. Ashrafi (2026) Nazmus Ashrafi. How Generation Architecture Shapes Code Complexity in Multi-Agent LLM Systems: A Paired Study on HumanEval. arXiv preprint arXiv:2606.00308, 2026. arXiv:2606.00308. Austin et al. (2021) Jacob Austin, Augustus Odena, Maxwell Nye, et al. Program Synthesis with Large Language Models. arXiv preprint arXiv:2108.07732, 2021. arXiv:2108.07732. Badertdinov et al. (2025) Ibragim Badertdinov, Alexander Golubev, Maksim Nekrashevich, Anton Shevtsov, Simon Karasik, Andrei Andriushchenko, Maria Trofimova, Daria Litvintseva, and Boris Yangel. SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents. arXiv preprint arXiv:2505.20411, 2025. URL https://arxiv.org/abs/2505.20411. Baidu (2025a) Baidu. Announcing the Open Source Release of the ERNIE 4.5 Model Family. Vendor documentation, 2025a. URL https://ernie.baidu.com/blog/posts/ernie4.5/. Baidu (2025b) Baidu. Baidu Unveils ERNIE 4.5 and Reasoning Model ERNIE X1, Makes ERNIE Bot Free Ahead of Schedule. Vendor documentation, 2025b. URL https://www.prnewswire.com/news-releases/baidu-unveils-ernie-4-5-and-reasoning-model-ernie-x1--makes-ernie-bot-free-ahead-of-schedule-302402490.html. Baidu (2025c) Baidu. Baidu Launches ERNIE 4.5 Turbo, ERNIE X1 Turbo and New Suite of AI Tools to Empower Developers and Supercharge AI Innovation. Vendor documentation, 2025c. URL https://www.prnewswire.com/news-releases/baidu-launches-ernie-4-5-turbo-ernie-x1-turbo-and-new-suite-of-ai-tools-to-empower-developers-and-supercharge-ai-innovation-302438584.html. Baidu (2025d) Baidu. Baidu Unveils Reasoning Model ERNIE X1.1 with Upgrades in Key Capabilities. Vendor documentation, 2025d. URL https://www.prnewswire.com/news-releases/baidu-unveils-reasoning-model-ernie-x1-1-with-upgrades-in-key-capabilities-302551170.html. Baidu (2025e) Baidu. Baidu Unveils ERNIE 5.0 and a Series of AI Applications at Baidu World 2025, Ramps Up Global Push. Vendor documentation, 2025e. URL https://www.prnewswire.com/news-releases/baidu-unveils-ernie-5-0-and-a-series-of-ai-applications-at-baidu-world-2025--ramps-up-global-push-302614531.html. Baidu (2026) Baidu. ERNIE 5.1 Officially Released! Topping Multiple Leaderboards — A Model That Writes Better and Understands You More. Vendor documentation, 2026. URL https://ernie.baidu.com/blog/posts/ernie-5.1-0508-release/. Baker et al. (2025) Bowen Baker, Joost Huizinga, Leo Gao, et al. Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation. arXiv preprint arXiv:2503.11926, 2025. arXiv:2503.11926. Barnes (2026) Jarrod Barnes. Surprisal-Guided Selection: Compute-Optimal Test-Time Strategies for Execution-Grounded Code Generation. arXiv preprint arXiv:2602.07670, 2026. arXiv:2602.07670. Baronio et al. (2025) Carlo Baronio, Pietro Marsella, Ben Pan, Simon Guo, and Silas Alberti. Kevin: Multi-Turn RL for Generating CUDA Kernels. arXiv preprint arXiv:2507.11948, 2025. URL https://arxiv.org/abs/2507.11948. Basic and Giaretta (2024) Enna Basic and Alberto Giaretta. From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Security. arXiv preprint arXiv:2412.15004, 2024. arXiv:2412.15004. Bercovich et al. (2025) Akhiad Bercovich, Itay Levy, Izik Golan, et al. Llama-Nemotron: Efficient Reasoning Models. arXiv preprint arXiv:2505.00949, 2025. arXiv:2505.00949. Bhatt et al. (2023) Manish Bhatt, Sahana Chennabasappa, Cyrus Nikolaidis, et al. Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Models. arXiv preprint arXiv:2312.04724, 2023. arXiv:2312.04724. Bi et al. (2024) Zhangqian Bi, Yao Wan, Zheng Wang, et al. Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedback. In Findings of the Association for Computational Linguistics ACL 2024, pages 2336–2353, 2024. doi: 10.18653/v1/2024.findings-acl.138. Blyth et al. (2025) Scott Blyth, Sherlock A. Licorish, Christoph Treude, and Markus Wagner. Static Analysis as a Feedback Loop: Enhancing LLM-Generated Code Beyond Correctness. In 2025 IEEE International Conference on Source Code Analysis & Manipulation (SCAM), pages 100–109, 2025. doi: 10.1109/scam67354.2025.00017. Bohr (2025) Jeremiah Bohr. Show and Tell: Prompt Strategies for Style Control in Multi-Turn LLM Code Generation. arXiv preprint arXiv:2511.13972, 2025. arXiv:2511.13972. Borra et al. (2026) Ajay Krishna Borra, Wenzhuo Yang, Samarth Arora, et al. CodeEvolve: LLM-Driven Evolutionary Optimization with Runtime-Enriched Target Selection for Multi-Language Code Enhancement. arXiv preprint arXiv:2605.04677, 2026. arXiv:2605.04677. Bruni et al. (2025) Marc Bruni, Fabio Gabrielli, Mohammad Ghafari, and Martin Kropp. Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Models. In 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering (Forge), pages 93–103, 2025. doi: 10.1109/forge66646.2025.00018. Cao et al. (2026) Ruisheng Cao, Mouxiang Chen, Jiawei Chen, et al. Qwen3-Coder-Next Technical Report. arXiv preprint arXiv:2603.00729, 2026. arXiv:2603.00729. Cemri et al. (2025) Mert Cemri, Melissa Z Pan, Shuyi Yang, et al. Why Do Multi-Agent LLM Systems Fail? In Advances in Neural Information Processing Systems 38, pages 135676–135729, 2025. doi: 10.52202/085713-4082. Chambon et al. (2025) Pierre Chambon, Baptiste Roziere, Benoit Sagot, and Gabriel Synnaeve. BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity? arXiv preprint arXiv:2503.15242, 2025. arXiv:2503.15242. Chambon et al. (2026) Pierre Chambon, Kunhao Zheng, Juliette Decugis, Benoit Sagot, and Gabriel Synnaeve. Reinforcement Learning for Code Optimization. arXiv preprint arXiv:2607.25970, 2026. URL https://arxiv.org/abs/2607.25970. Chan et al. (2023) Aaron Chan, Anant Kharkar, Roshanak Zilouchian Moghaddam, et al. Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning? arXiv preprint arXiv:2306.01754, 2023. arXiv:2306.01754. Chen et al. (2023) Bei Chen, Fengji Zhang, Anh Nguyen, et al. CodeT: Code Generation with Generated Tests. In International Conference on Learning Representations (ICLR), 2023. URL https://openreview.net/forum?id=9Daa29sl1u. Chen et al. (2026a) Jialong Chen, Xander Xu, Hu Wei, Chuan Chen, and Bing Zhao. SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via Continuous Integration. arXiv preprint arXiv:2603.03823, 2026a. URL https://arxiv.org/abs/2603.03823. Chen et al. (2026b) Junkai Chen, Huihui Huang, Yunbo Lyu, et al. SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarios. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 24144–24168, 2026b. doi: 10.18653/v1/2026.acl-long.1107. Chen et al. (2024a) Lichang Chen, Chen Zhu, Davit Soselia, et al. ODIN: Disentangled Reward Mitigates Hacking in RLHF. In Proceedings of the International Conference on Machine Learning (ICML), 2024a. URL https://openreview.net/forum?id=45FuR901Di. Chen et al. (2026c) Longfei Chen, Ji Zhao, Lanxiao Cui, et al. SecCodeBench-V2 Technical Report. arXiv preprint arXiv:2602.15485, 2026c. arXiv:2602.15485. Chen et al. (2026d) Silin Chen, Yufei Yang, Xiaodong Gu, Yuling Shi, Chengcheng Wan, and Haibing Guan. Schrödinger’s Code Repository: Have LLMs Learned SWE-bench or Memorized It? arXiv preprint arXiv:2609.27891, 2026d. arXiv:2609.27891. Chen et al. (2025a) Xiancai Chen, Zhengwei Tao, Kechi Zhang, et al. Revisit Self-Debugging with Self-Generated Tests for Code Generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 18003–18023, 2025a. doi: 10.18653/v1/2025.acl-long.881. Chen et al. (2024b) Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching Large Language Models to Self-Debug. In International Conference on Learning Representations (ICLR), 2024b. URL https://openreview.net/forum?id=4XG42MJmTp. Chen et al. (2025b) Yang Chen, Zhuolin Yang, Zihan Liu, et al. AceReason-Nemotron: Advancing Math and Code Reasoning through Reinforcement Learning. In Advances in Neural Information Processing Systems 38, pages 122305–122330, 2025b. doi: 10.52202/085713-3685. Chen et al. (2026e) Yi Chen, Yun Bian, Haiquan Wang, Shihao Li, and Zhe Cui. SCAFFOLD-CEGIS: Preventing Latent Security Degradation in LLM-Driven Iterative Code Refinement. In 2026 9th International Conference on Artificial Intelligence and Big Data (ICAIBD), pages 477–483, 2026e. doi: 10.1109/icaibd69640.2026.11637170. Chochlov et al. (2026) Muslim Chochlov, Michael English, and Jim Buckley. A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions. arXiv preprint arXiv:2605.25536, 2026. arXiv:2605.25536. Codefuse et al. (2025) Codefuse, Ling Team, :, et al. Every Sample Matters: Leveraging Mixture-of-Experts and High-Quality Data for Efficient and Accurate Code LLM. arXiv preprint arXiv:2503.17793, 2025. arXiv:2503.17793. Cognition (2025) Cognition. Introducing SWE-1.5: Our Fast Agent Model. Vendor documentation, 2025. URL https://cognition.com/blog/swe-1-5. Cognition (2026) Cognition. Devin Desktop changelog. Vendor documentation, 2026. URL https://docs.devin.ai/desktop/changelog. Cognition (2026) Cognition. FrontierCode: leaderboard and benchmark description. https://cognition.com/frontiercode, 2026. Cognition (2026a) Cognition. Introducing SWE 1.6: Improving Model UX. Vendor documentation, 2026a. URL https://cognition.com/blog/swe-1-6. Cognition (2026b) Cognition. Introducing SWE-2: Pushing the Pareto Frontier. Vendor documentation, 2026b. URL https://cognition.com/blog/swe-2. Cognition (2026c) Cognition. SWE-1.7: Frontier Intelligence at a Fraction of the Cost. Vendor documentation, 2026c. URL https://cognition.com/blog/swe-1-7. Cohere (2025a) Cohere. Announcing Command A. Vendor documentation, 2025a. URL https://docs.cohere.com/changelog/command-a. Cohere (2025b) Cohere. Announcing Cohere’s Command A Reasoning Model. Vendor documentation, 2025b. URL https://docs.cohere.com/changelog/2025-08-21-command-a-reasoning. Cohere (2025c) Cohere. CohereLabs/c4ai-command-a-03-2025. Vendor documentation, 2025c. URL https://huggingface.co/CohereLabs/c4ai-command-a-03-2025. Cohere (2025d) Cohere. CohereLabs/command-a-reasoning-08-2025. Vendor documentation, 2025d. URL https://huggingface.co/CohereLabs/command-a-reasoning-08-2025. Cohere (2026a) Cohere. Announcing Cohere’s Command A+. Vendor documentation, 2026a. URL https://docs.cohere.com/changelog/command-a-plus-05-2026. Cohere (2026b) Cohere. Announcing Cohere’s North Mini Code. Vendor documentation, 2026b. URL https://docs.cohere.com/changelog/north-mini-code-1-0. Comanici et al. (2025) Gheorghe Comanici, Eric Bieber, Mike Schaekermann, et al. Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities. arXiv preprint arXiv:2507.06261, 2025. arXiv:2507.06261. Cursor (2025) Cursor. Composer: Building a fast frontier model with RL. Vendor documentation, 2025. URL https://cursor.com/blog/composer. Cursor (2026a) Cursor. Composer 2.5. Vendor documentation, 2026a. URL https://cursor.com/changelog/composer-2-5. Cursor (2026b) Cursor. Introducing Composer 1.5. Vendor documentation, 2026b. URL https://cursor.com/blog/composer-1-5. Cursor (2026c) Cursor. Introducing Composer 2. Vendor documentation, 2026c. URL https://cursor.com/blog/composer-2. Cynthia et al. (2026) Shamse Tasnim Cynthia, Al Muttakin, and Banani Roy. Beyond Bug Fixes: An Empirical Investigation of Post-Merge Code Quality Issues in Agent-Generated Pull Requests. In Proceedings of the 23rd International Conference on Mining Software Repositories, pages 989–993, 2026. doi: 10.1145/3793302.3793615. Dai et al. (2026a) Shih-Chieh Dai, Jun Xu, and Guanhong Tao. Rethinking the Evaluation of Secure Code Generation. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering, pages 336–348, 2026a. doi: 10.1145/3744916.3773217. Dai et al. (2026b) Weinan Dai, Hanlin Wu, Qiying Yu, Huan ang Gao, Jiahao Li, Chengquan Jiang, Weiqiang Lou, Yufan Song, Hongli Yu, Jiaze Chen, Wei-Ying Ma, Ya-Qin Zhang, Jingjing Liu, Mingxuan Wang, Xin Liu, and Hao Zhou. CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation. arXiv preprint arXiv:2602.24286, 2026b. URL https://arxiv.org/abs/2602.24286. Dai et al. (2024) Zhenlong Dai, Chang Yao, Wenkang Han, et al. MPCoder: Multi-user Personalized Code Generator with Explicit and Implicit Style Representation Learning. arXiv preprint arXiv:2406.17255, 2024. URL https://arxiv.org/abs/2406.17255. arXiv:2406.17255. Datta et al. (2025) Arup Datta, Ahmed Aljohani, and Hyunsook Do. Secure Code Generation at Scale with Reflexion. In 2025 2nd IEEE/ACM International Conference on AI-powered Software (AIware), pages 01–09, 2025. doi: 10.1109/aiware69974.2025.00038. DeepSeek (2026) DeepSeek. Change Log. Vendor documentation, 2026. URL https://api-docs.deepseek.com/updates. DeepSeek-AI (2025a) DeepSeek-AI. deepseek-ai/DeepSeek-R1-0528. Vendor documentation, 2025a. URL https://huggingface.co/deepseek-ai/DeepSeek-R1-0528. DeepSeek-AI (2025b) DeepSeek-AI. deepseek-ai/DeepSeek-V3-0324. Vendor documentation, 2025b. URL https://huggingface.co/deepseek-ai/DeepSeek-V3-0324. DeepSeek-AI (2025c) DeepSeek-AI. deepseek-ai/DeepSeek-V3.1. Vendor documentation, 2025c. URL https://huggingface.co/deepseek-ai/DeepSeek-V3.1. DeepSeek-AI (2025d) DeepSeek-AI. deepseek-ai/DeepSeek-V3.1-Terminus. Vendor documentation, 2025d. URL https://huggingface.co/deepseek-ai/DeepSeek-V3.1-Terminus. DeepSeek-AI (2025e) DeepSeek-AI. deepseek-ai/DeepSeek-V3.2. Vendor documentation, 2025e. URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2. DeepSeek-AI (2025f) DeepSeek-AI. deepseek-ai/DeepSeek-V3.2-Exp. Vendor documentation, 2025f. URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Exp. DeepSeek-AI (2025g) DeepSeek-AI. deepseek-ai/DeepSeek-V3.2-Speciale. Vendor documentation, 2025g. URL https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Speciale. DeepSeek-AI (2026a) DeepSeek-AI. deepseek-ai/DeepSeek-V4-Flash-0731. Vendor documentation, 2026a. URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731. DeepSeek-AI (2026b) DeepSeek-AI. deepseek-ai/DeepSeek-V4-Flash-Vision-Exp. Vendor documentation, 2026b. URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Vision-Exp. DeepSeek-AI (2026c) DeepSeek-AI. deepseek-ai/DeepSeek-V4-Pro-0813. Vendor documentation, 2026c. URL https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-0813. DeepSeek-AI (2026d) DeepSeek-AI. DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression. Vendor documentation, 2026d. URL https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/resolve/main/DeepSeek_V41_Tech_Report.pdf. DeepSeek-AI et al. (2025a) DeepSeek-AI, Daya Guo, Dejian Yang, et al. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. arXiv preprint arXiv:2501.12948, 2025a. arXiv:2501.12948. DeepSeek-AI et al. (2025b) DeepSeek-AI, Aixin Liu, Aoxue Mei, et al. DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models. arXiv preprint arXiv:2512.02556, 2025b. arXiv:2512.02556. DeepSeek-AI et al. (2026) DeepSeek-AI, Anyi Xu, Bangcai Lin, et al. DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence. arXiv preprint arXiv:2606.19348, 2026. arXiv:2606.19348. Deng et al. (2026a) Ryan Deng, Yuanzhe Liu, Bastian Lipka, et al. PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization. arXiv preprint arXiv:2607.19653, 2026a. arXiv:2607.19653. Deng et al. (2026b) Xiang Deng, Jeff Da, Edwin Pan, et al. SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks? In Proceedings of the International Conference on Machine Learning (ICML), 2026b. URL https://openreview.net/forum?id=uEVTdoAbnK. Dolcetti et al. (2026) Greta Dolcetti, Vincenzo Arceri, Eleonora Iotti, Sergio Maffeis, Agostino Cortesi, and Enea Zaffanella. Helping LLMs improve code generation using feedback from testing and static analysis. Discover Artificial Intelligence, 6(1):314, 2026. doi: 10.1007/s44163-026-01009-5. Dong et al. (2024) Yihong Dong, Xue Jiang, Zhi Jin, and Ge Li. Self-Collaboration Code Generation via ChatGPT. ACM Transactions on Software Engineering and Methodology, 33(7):1–38, 2024. doi: 10.1145/3672459. Dong et al. (2025a) Yihong Dong, Xue Jiang, Jiaru Qian, et al. A Survey on Code Generation with LLM-based Agents. arXiv preprint arXiv:2508.00083, 2025a. arXiv:2508.00083. Dong et al. (2025b) Yihong Dong, Yuchen Liu, Xue Jiang, Bin Gu, Zhi Jin, and Ge Li. Rethinking Repetition Problems of LLMs in Code Generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 965–985, 2025b. doi: 10.18653/v1/2025.acl-long.48. Du et al. (2024) Mingzhe Du, Luu Tuan, Bin Ji, Qian Liu, and See-Kiong Ng. Mercury: A Code Efficiency Benchmark for Code Large Language Models. In Advances in Neural Information Processing Systems 37, pages 16601–16622, 2024. doi: 10.52202/079017-0529. Du et al. (2025) Mingzhe Du, Anh Tuan Luu, Yue Liu, et al. Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization. In Advances in Neural Information Processing Systems 38, pages 9944–9976, 2025. doi: 10.52202/085713-0304. Ehrlich et al. (2025) Ryan Ehrlich, Bradley Brown, Jordan Juravsky, Ronald Clark, Christopher Ré, and Azalia Mirhoseini. CodeMonkeys: Scaling Test-Time Compute for Software Engineering. arXiv preprint arXiv:2501.14723, 2025. arXiv:2501.14723. Ehsani et al. (2026a) Ramtin Ehsani, Sakshi Pathak, Shriya Rawal, Abdullah Al Mujahid, Mia Mohammad Imran, and Preetha Chatterjee. Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic Pull Requests in GitHub. In Proceedings of the 23rd International Conference on Mining Software Repositories, pages 807–811, 2026a. doi: 10.1145/3793302.3793579. Ehsani et al. (2026b) Ramtin Ehsani, Shriya Rawal, Yuanfang Cai, and Preetha Chatterjee. Faster Code, Deeper Debt? A Multivocal Literature Review on Technical Debt and Its Early Signs in LLM-Assisted Software Development. ACM Transactions on Software Engineering and Methodology, page 3820165, 2026b. doi: 10.1145/3820165. Face (2025) Hugging Face. SmolLM3: smol, multilingual, long-context reasoner. Vendor documentation, 2025. URL https://huggingface.co/blog/smollm3. FAIR CodeGen team et al. (2025) FAIR CodeGen team, Jade Copet, Quentin Carbonneaux, et al. CWM: An Open-Weights LLM for Research on Code Generation with World Models. arXiv preprint arXiv:2510.02387, 2025. arXiv:2510.02387. Fu et al. (2024) Yanjun Fu, Ethan Baker, Yu Ding, and Yizheng Chen. Constrained Decoding for Secure Code Generation. arXiv preprint arXiv:2405.00218, 2024. arXiv:2405.00218. Fu et al. (2025) Yujia Fu, Peng Liang, Amjed Tahir, et al. Security Weaknesses of Copilot-Generated Code in GitHub Projects: An Empirical Study. ACM Transactions on Software Engineering and Methodology, 34(8):1–34, 2025. doi: 10.1145/3716848. Fujii et al. (2026) Kazuki Fujii, Yukito Tajima, Sakae Mizuki, et al. Rewriting Pre-Training Data Boosts LLM Performance in Math and Code. In International Conference on Learning Representations (ICLR), 2026. URL https://openreview.net/forum?id=45btPYgSSX. Gadey et al. (2026) Varun Gadey, Markus Tohn, Lichao Wu, Ahmad-Reza Sadeghi, and Alexandra Dmitrienko. SEEK: Agentic Knowledge Graph Retrieval for Secure Code Generation. arXiv preprint arXiv:2610.14968, 2026. arXiv:2610.14968. Gajjar et al. (2025) Jugal Gajjar, Kamalasankari Subramaniakuppusamy, Relsy Puthal, and Kaustik Ranaware. SecureFixAgent: A Hybrid LLM Agent for Automated Python Static Vulnerability Repair. In 2025 International Conference on Machine Learning and Applications (ICMLA), pages 1390–1395, 2025. doi: 10.1109/icmla66185.2025.00212. Gao et al. (2026) Huifan Gao, Liuhua He, Yinghui Pan, et al. Towards the Readability of LLM-Generated Codes through Multitask Representation Engineering. arXiv preprint arXiv:2606.06214, 2026. arXiv:2606.06214. Gao et al. (2025a) Mingyan Gao, Yanzi Li, Banruo Liu, et al. Single-agent or Multi-agent Systems? Why Not Both? arXiv preprint arXiv:2505.18286, 2025a. arXiv:2505.18286. Gao et al. (2025b) Shuzheng Gao, Cuiyun Gao, Wenchao Gu, and Michael R. Lyu. Search-Based LLMs for Code Optimization. In 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE), pages 578–590, 2025b. doi: 10.1109/icse55347.2025.00021. Garg et al. (2025) Spandan Garg, Roshanak Zilouchian Moghaddam, and Neel Sundaresan. RAPGen: An Approach for Fixing Code Inefficiencies in Zero-Shot. In 2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP), pages 124–135, 2025. doi: 10.1109/icse-seip66354.2025.00017. GitClear (2025) GitClear. AI Copilot Code Quality: 2025 Look Back at 12 Months of Data. Vendor documentation, 2025. URL https://www.gitclear.com/ai_assistant_code_quality_2025_research. GitHub (2026) GitHub. MAI-Code-1.1-Flash available in GitHub Copilot. Vendor documentation, 2026. URL https://github.blog/changelog/2026-08-11-mai-code-1-1-flash-available-in-github-copilot/. GLM-4.5 Team et al. (2025) GLM-4.5 Team, :, Aohan Zeng, et al. GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models. arXiv preprint arXiv:2508.06471, 2025. arXiv:2508.06471. GLM-5-Team et al. (2026) GLM-5-Team, :, Aohan Zeng, et al. GLM-5: from Vibe Coding to Agentic Engineering. arXiv preprint arXiv:2602.15763, 2026. arXiv:2602.15763. Gong et al. (2025a) Jingzhi Gong, Rafail Giavrimis, Paul Brookes, et al. Tuning LLM-based Code Optimization via Meta-Prompting: An Industrial Perspective. In 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE), pages 3569–3580, 2025a. doi: 10.1109/ase63991.2025.00295. Gong et al. (2025b) Jingzhi Gong, Vardan Voskanyan, Paul Brookes, et al. Language Models for Code Optimization: Survey, Challenges and Future Directions. arXiv preprint arXiv:2501.01277, 2025b. arXiv:2501.01277. Google (2025a) Google. Gemini 2.5: Deep Think is now rolling out. Vendor documentation, 2025a. URL https://blog.google/products/gemini/gemini-2-5-deep-think/. Google (2025b) Google. Gemini 3 Deep Think is now available. Vendor documentation, 2025b. URL https://blog.google/products/gemini/gemini-3-deep-think/. Google (2026a) Google. Gemini 3 developer guide. Vendor documentation, 2026a. URL https://ai.google.dev/gemini-api/docs/gemini-3. Google (2026b) Google. Gemma releases. Vendor documentation, 2026b. URL https://ai.google.dev/gemma/docs/releases. Google (2026c) Google. google/diffusiongemma-26B-A4B-it. Vendor documentation, 2026c. URL https://huggingface.co/google/diffusiongemma-26B-A4B-it. Google (2026d) Google. Introducing DiffusionGemma. Vendor documentation, 2026d. URL https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-generation/. Google (2026e) Google. Release notes. Vendor documentation, 2026e. URL https://ai.google.dev/gemini-api/docs/changelog. Google (2026f) Google. What’s new in Gemini 4 Argon. Vendor documentation, 2026f. URL https://ai.google.dev/gemini-api/docs/latest-model. Google DeepMind (2025a) Google DeepMind. Gemma 3 model card. Vendor documentation, 2025a. URL https://ai.google.dev/gemma/docs/core/model_card_3. Google DeepMind (2025b) Google DeepMind. Gemma 3n model card. Vendor documentation, 2025b. URL https://ai.google.dev/gemma/docs/gemma-3n/model_card. Google DeepMind (2026a) Google DeepMind. Gemini 3.1 Pro - Model Card. Vendor documentation, 2026a. URL https://deepmind.google/models/model-cards/gemini-3-1-pro/. Google DeepMind (2026b) Google DeepMind. Gemini 3.7 Flash - Model Card. Vendor documentation, 2026b. URL https://deepmind.google/models/model-cards/gemini-3-7-flash/. Google DeepMind (2026c) Google DeepMind. Gemini 3.8 Flash - Model Card. Vendor documentation, 2026c. URL https://deepmind.google/models/model-cards/gemini-3-8-flash/. Google DeepMind (2026d) Google DeepMind. Gemini 4 Argon - Model Card. Vendor documentation, 2026d. URL https://deepmind.google/models/model-cards/gemini-4-argon/. Google DeepMind (2026e) Google DeepMind. Gemma 4 model card. Vendor documentation, 2026e. URL https://ai.google.dev/gemma/docs/core/model_card_4. Gou et al. (2024) Zhibin Gou, Zhihong Shao, Yeyun Gong, et al. CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing. In International Conference on Learning Representations (ICLR), 2024. URL https://openreview.net/forum?id=vCQaGYDckV. Grubisic et al. (2024) Dejan Grubisic, Chris Cummins, Volker Seeker, and Hugh Leather. Priority Sampling of Large Language Models for Compilers. arXiv preprint arXiv:2402.18734, 2024. URL https://arxiv.org/abs/2402.18734. Gu et al. (2026) Shanzhi Gu, Mingyang Geng, Yihong Dong, et al. Mitigating Collaboration Degeneration in Multi-Agent Code Generation via a Controllable Competitive Collaboration Approach. In Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, pages 127–135, 2026. doi: 10.24963/ijcai.2026/15. Gunasekar et al. (2023) Suriya Gunasekar, Yi Zhang, Jyoti Aneja, et al. Textbooks Are All You Need. arXiv preprint arXiv:2306.11644, 2023. arXiv:2306.11644. Gunnu et al. (2025) Sravani Gunnu, Shanmukha Gutt