Pith. sign in

REVIEW 5 cited by

On the Impacts of Contexts on Repository-Level Code Generation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2406.11927 v4 pith:SPPRM4HC submitted 2024-06-17 cs.SE cs.AI

classification cs.SEcs.AI
keywords codegenerationcontextsrepository-levelcodellmsdependenciesrepoexecutilization
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

CodeLLMs have gained widespread adoption for code generation tasks, yet their capacity to handle repository-level code generation with complex contextual dependencies remains underexplored. Our work underscores the critical importance of leveraging repository-level contexts to generate executable and functionally correct code. We present RepoExec, a novel benchmark designed to evaluate repository-level code generation, with a focus on three key aspects: executability, functional correctness through comprehensive test case generation, and accurate utilization of cross-file contexts. Our study examines a controlled scenario where developers specify essential code dependencies (contexts), challenging models to integrate them effectively. Additionally, we introduce an instruction-tuned dataset that enhances CodeLLMs' ability to leverage dependencies, along with a new metric, Dependency Invocation Rate (DIR), to quantify context utilization. Experimental results reveal that while pretrained LLMs demonstrate superior performance in terms of correctness, instruction-tuned models excel in context utilization and debugging capabilities. RepoExec offers a comprehensive evaluation framework for assessing code functionality and alignment with developer intent, thereby advancing the development of more reliable CodeLLMs for real-world applications. The dataset and source code are available at https://github.com/FSoft-AI4Code/RepoExec.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. COFFE: A Code Efficiency Benchmark for Code Generation

    cs.SE 2025-02 conditional novelty 7.0 of 10

    A new benchmark, COFFE, uses stressful test cases and CPU instruction counts to show LLM-generated code is often correct but time-inefficient.

  2. ProjAgent: Procedural Similarity Retrieval for Repository-Level Code Generation

    cs.SE 2026-07 conditional novelty 6.0 of 10

    ProjAgent introduces procedural similarity—retrieving code with matching computational logic—via LLM hidden-state projections, improving repository-level code generation to 41.14% Pass@1 on REPOCOD.

  3. Exploring the Challenges and Opportunities of AI-assisted Codebase Generation

    cs.SE 2025-08 conditional novelty 6.0 of 10

    Developers prompting codebase-level AI assistants are often dissatisfied with generated code, citing missing functionality, poor code quality, and communication gaps, despite varied prompting strategies.

  4. Code Benchmarks Should Prioritize Rigor, Reliability, and Reproducibility

    cs.SE 2025-01 conditional novelty 6.0 of 10

    A 55-criteria guideline and audit of 274 code benchmarks finds that most benchmarks skip data quality checks, prompting calls for more rigorous, reproducible benchmark construction.

  5. Beyond "What to Retrieve": Uncertainty in Retrieval-Augmented Code Generation

    cs.SE 2026-07 conditional novelty 5.0 of 10

    Uncertainty-aware multi-source retrieval improves GPT repository-level code selection over plain RAG but matches verification-and-repair alone and is backend- and context-dependent.

Pith tools