mlsanityData to 7 Oct 2026

TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation

arXiv 2608.00494 ↗First posted 1 Aug 2026cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Multi-turn code agents rely on execution feedback to repair incorrect programs, yet standard reinforcement learning paradigms optimize and evaluate policy performance primarily using single-shot outcome rewards. This misalignment conflates initial code generation with feedback-driven refinement, discards granular execution signals across intermediate turns, and fails to evaluate whether the policy actually acquires self-repair capabilities. We propose Test-aware Policy Refinement (TaPR), a framework that transforms execution feedback into a dense per-turn test-pass-ratio reward under a consistent multi-turn interaction protocol. Across six models on 219 code-generation problems from LiveCodeBench, TaPR improves the pooled three-turn success rate (Pass@3) by 2.44 percentage points. In the predefined 7B/8B high-headroom slice, pooled accuracy increases from 30.25% to 33.56% (+3.31 pp), with 42 improvements and 13 regressions in paired trials. On a matched Qwen3-8B ablation, the dense reward supplies nonzero feedback in all of the first ten steps and reaches a higher Hard-subset peak than outcome-only GRPO within the tested budget, although GRPO nearly matches pooled Pass@3 by step 300. Our primary contribution is a reward-decomposition framework and a turn-aware evaluation protocol that decouple first-shot generation quality from multi-turn repair competence.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 30 references that are in the map. First posted on arXiv 1 Aug 2026.

Builds on

22 of 30 references.

References · 22

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  5. 2023Let's Verify Step by Stepcited by 3,598
  6. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  7. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  8. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 948
  9. 2021Measuring Coding Challenge Competence With APPScited by 879
  10. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  11. 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 230
  12. 2025WebAgent-R1: Training Web Agents via End-to-End Multi-Turn Reinforcement Learningcited by 162
10 more
  1. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
  2. 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
  3. 2025Learning to Solve and Verify: A Self-Play Framework for Code and Test Generationcited by 34
  4. 2025Multi-Turn Code Generation Through Single-Step Rewardscited by 27
  5. 2023LeTI: Learning to Generate from Textual Interactionscited by 25
  6. 2025ReVeal: Self-Evolving Code Agents via Reliable Self-Verificationcited by 16
  7. 2025QueST: Incentivizing LLMs to Generate Difficult Problemscited by 4
  8. 2026Bridging Online and Offline RL: Contextual Bandit Learning for Multi-Turn Code Generationcited by 4
  9. 2026MM-ReCoder: Advancing Chart-to-Code Generation with Reinforcement Learning and Self-Correctioncited by 4
  10. 2025MURPHY: Feedback-Aware GRPO with Retrospective Credit Assignment for Multi-Turn Code Generationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026TIPCODER: Reinforcement Learning Boosted Test-time Instruction Proposer for Code Generation
  2. 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learning
  3. 2026Entropy-Regularized Rank-Masked Policy Optimization for Test-Time Reinforcement Learning in Code Generation
  4. 2025SWE-RM: Execution-free Feedback For Software Engineering Agents
  5. 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Models
  6. 2025Agentic Reinforcement Learning for Real-World Code Repair
  7. 2024Process Supervision-Guided Policy Optimization for Code Generation
  8. 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents