AI RESEARCH
Persistent Cross-Attempt State Optimization for Repository-Level Code Generation
arXiv CS.AI
•
ArXi:2604.03632v1 Announce Type: cross Large language models (LLMs) have achieved substantial progress in repository-level code generation. However, solving the same repository-level task often requires multiple attempts, while existing methods still optimize each attempt in isolation and do not preserve or reuse task-specific state across attempts. In this paper, we propose LiveCoder, a novel framework for repository-level code generation based on cross-attempt knowledge optimization. LiveCoder maintains persistent task-specific state from prior attempts to guide subsequent generation.