Updated
Updated · arxiv.org · Sep 1
Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generation
Updated
Updated · arxiv.org · Sep 1

Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generation

1 articles · Updated · arxiv.org · Sep 1

Summary

  • Researchers have introduced ACToR, a new framework for repository-level code generation that dynamically retrieves context at critical tokens during code synthesis.
  • ACToR identifies decisive positions—'critical tokens'—where errors could cause cascading failures, and provides targeted repository information to improve code accuracy.
  • Tested on RepoExec and CoderEval benchmarks, ACToR outperformed state-of-the-art methods, highlighting the importance of fine-grained, token-aware retrieval in software development.