paper-with-me

홈 › Papers

All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs

2022-05-21 · Vitaliy Bibaev, Alexey Kalina, Vadim Lomshakov, Yaroslav Golubev, Alexander Bezzubov, Nikita Povarov, Timofey Bryksin

In this work, we propose an approach for collecting completion usage logs from the users in an IDE and using them to train a machine learning based model for ranking completion candidates. We developed a set of features that describe completion candidates and their context, and deployed their anonymized collection in the Early Access Program of IntelliJ-based IDEs. We used the logs to collect a dataset of code completions from users, and employed it to train a ranking CatBoost model. Then, we evaluated it in two settings: on a held-out set of the collected completions and in a separate A/B test on two different groups of users in the IDE. Our evaluation shows that using a simple ranking model trained on the past user behavior logs significantly improved code completion experience. Compared to the default heuristics-based ranking, our model demonstrated a decrease in the number of typing actions necessary to perform the completion in the IDE from 2.073 to 1.832. The approach adheres to privacy requirements and legal constraints, since it does not require collecting personal information, performing all the necessary anonymization on the client's side. Importantly, it can be improved continuously: implementing new features, collecting new data, and evaluating new models - this way, we have been using it in production since the end of 2020.

📄 PDF Abstract BibTeX arXiv:2205.10692

Code (0)

등록된 구현이 없습니다.

Tasks

AllCode Completion

Similar Papers 제목 키워드 기반

Reducing Misinformation in Query Autocompletions

2020-07-06 · Djoerd Hiemstra

Query autocompletions help users of search engines to speed up their searches by recommending completions of partially typed queries in a drop down box. These recommended query autocompletions are usually based on large …

Misinformation

The Shadowy Lives of Emojis: An Analysis of a Hacktivist Collective's Use of Emojis on Twitter

2021-05-07 · Keenan Jones, Jason R. C. Nurse, Shujun Li

Emojis have established themselves as a popular means of communication in online messaging. Despite the apparent ubiquity in these image-based tokens, however, interpretation and ambiguity may allow for unique uses of em…

Code2LoRA: Hypernetwork-Generated Adapters for Code Language Models under Software Evolution

2026-06-04 · Liliana Hotsko, Yinxi Li, Yuntian Deng, Pengyu Nie arxiv

Code language models need repository-level context to resolve imports, APIs, and project conventions. Existing methods inject this knowledge as long inputs (retrieved through RAG or dependency analysis) or through per-re…

parameter-efficient fine-tuning

Redundant or Necessary? A Benchmark for Detecting Redundant Steps in Agent Trajectories

2026-05-28 · Minyang Hu, Bo Yang, Zhinuo Zhou, Jiachen Liang 외 arxiv

LLM-based agents have demonstrated strong capabilities in solving complex tasks through multi-step reasoning and tool use. However, existing evaluation protocols primarily focus on task success, overlooking a critical as…

TreeRanker: Fast and Model-agnostic Ranking System for Code Suggestions in IDEs

2025-08-04 · Daniele Cipollone, Egor Bogomolov, Arie van Deursen, Maliheh Izadi arxiv

Token-level code completion is one of the most critical features in modern Integrated Development Environments (IDEs). It assists developers by suggesting relevant identifiers and APIs during coding. While completions ar…

Prompt EngineeringCode Completion