English

AI-assisted Coding with Cody: Lessons from Context Retrieval and Evaluation for Code Recommendations

Information Retrieval 2024-08-13 v1 Machine Learning Software Engineering

Abstract

In this work, we discuss a recently popular type of recommender system: an LLM-based coding assistant. Connecting the task of providing code recommendations in multiple formats to traditional RecSys challenges, we outline several similarities and differences due to domain specifics. We emphasize the importance of providing relevant context to an LLM for this use case and discuss lessons learned from context enhancements & offline and online evaluation of such AI-assisted coding systems.

Keywords

Cite

@article{arxiv.2408.05344,
  title  = {AI-assisted Coding with Cody: Lessons from Context Retrieval and Evaluation for Code Recommendations},
  author = {Jan Hartman and Rishabh Mehrotra and Hitesh Sagtani and Dominic Cooney and Rafal Gajdulewicz and Beyang Liu and Julie Tibshirani and Quinn Slack},
  journal= {arXiv preprint arXiv:2408.05344},
  year   = {2024}
}
R2 v1 2026-06-28T18:09:05.498Z