Pith. sign in

REVIEW 2 cited by

Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editing

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 2305.18584 v2 pith:5MRCQKRL submitted 2023-05-29 cs.SE cs.LGcs.PL

classification cs.SEcs.LGcs.PL
keywords codemodeleditingchangescoeditormulti-roundauto-editingcompletion
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Developers often dedicate significant time to maintaining and refactoring existing code. However, most prior work on generative models for code focuses solely on creating new code, overlooking the distinctive needs of editing existing code. In this work, we explore a multi-round code auto-editing setting, aiming to predict edits to a code region based on recent changes within the same codebase. Our model, Coeditor, is a fine-tuned language model specifically designed for code editing tasks. We represent code changes using a line diff format and employ static analysis to form large customized model contexts, ensuring the availability of appropriate information for prediction. We collect a code editing dataset from the commit histories of 1650 open-source Python projects for training and evaluation. In a simplified single-round, single-edit task, Coeditor significantly outperforms GPT-3.5 and SOTA open-source code completion models (bringing exact-match accuracy from 34.7 up to 60.4), demonstrating the benefits of incorporating editing history for code completion. In a multi-round, multi-edit setting, we observe substantial gains by iteratively conditioning on additional user edits. We have open-sourced our code, data, and model weights to encourage future research and have released a VSCode extension powered by our model for interactive IDE usage.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

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

  1. Pull Requests as a Training Signal for Repo-Level Code Editing

    cs.SE 2026-02 conditional novelty 7.0 of 10

    Mid-training a 32B code model on two million verified Search/Replace pull requests improves SWE-bench Lite by 13.6% and Verified by 12.3% over the instruct-tuned baseline under a simplified agentless protocol.

  2. From Legal Text to Tech Specs: Generative AI's Interpretation of Consent in Privacy Law

    cs.SE 2025-07 conditional novelty 4.0 of 10

    An LLM pipeline that flags and fixes non-compliant consent use cases works imperfectly: it catches about two-thirds of relevant cases with reasoning prompts, and most of its fixes are legally sound but logically inconsistent.

Pith tools