Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Overwatch: Learning Patterns in Code Edit Sequences (2207.12456v1)

Published 25 Jul 2022 in cs.PL, cs.AI, and cs.SE

Abstract: Integrated Development Environments (IDEs) provide tool support to automate many source code editing tasks. Traditionally, IDEs use only the spatial context, i.e., the location where the developer is editing, to generate candidate edit recommendations. However, spatial context alone is often not sufficient to confidently predict the developer's next edit, and thus IDEs generate many suggestions at a location. Therefore, IDEs generally do not actively offer suggestions and instead, the developer is usually required to click on a specific icon or menu and then select from a large list of potential suggestions. As a consequence, developers often miss the opportunity to use the tool support because they are not aware it exists or forget to use it. To better understand common patterns in developer behavior and produce better edit recommendations, we can additionally use the temporal context, i.e., the edits that a developer was recently performing. To enable edit recommendations based on temporal context, we present Overwatch, a novel technique for learning edit sequence patterns from traces of developers' edits performed in an IDE. Our experiments show that Overwatch has 78% precision and that Overwatch not only completed edits when developers missed the opportunity to use the IDE tool support but also predicted new edits that have no tool support in the IDE.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (11)
  1. Yuhao Zhang (107 papers)
  2. Yasharth Bajpai (6 papers)
  3. Priyanshu Gupta (9 papers)
  4. Ameya Ketkar (2 papers)
  5. Miltiadis Allamanis (40 papers)
  6. Titus Barik (11 papers)
  7. Sumit Gulwani (55 papers)
  8. Arjun Radhakrishna (23 papers)
  9. Mohammad Raza (9 papers)
  10. Gustavo Soares (21 papers)
  11. Ashish Tiwari (44 papers)
Citations (12)