Skip to main content

Showing 1–10 of 10 results for author: Rigby, C

.
  1. arXiv:2504.12517  [pdf, other

    cs.SE

    Code Improvement Practices at Meta

    Authors: Audris Mockus, Peter C Rigby, Rui Abreu, Anatoly Akkerman, Yogesh Bhootada, Payal Bhuptani, Gurnit Ghardhora, Lan Hoang Dao, Chris Hawley, Renzhi He, Sagar Krishnamoorthy, Sergei Krauze, Jianmin Li, Anton Lunov, Dragos Martac, Francois Morin, Neil Mitchell, Venus Montes, Maher Saba, Matt Steiner, Andrea Valori, Shanchao Wang, Nachiappan Nagappan

    Abstract: The focus on rapid software delivery inevitably results in the accumulation of technical debt, which, in turn, affects quality and slows future development. Yet, companies with a long history of rapid delivery exist. Our primary aim is to discover how such companies manage to keep their codebases maintainable. Method: we investigate Meta's practices by collaborating with engineers on code quality… ▽ More

    Submitted 23 April, 2025; v1 submitted 16 April, 2025; originally announced April 2025.

  2. arXiv:2410.06351  [pdf, other

    cs.SE

    Moving Faster and Reducing Risk: Using LLMs in Release Deployment

    Authors: Rui Abreu, Vijayaraghavan Murali, Peter C Rigby, Chandra Maddila, Weiyan Sun, Jun Ge, Kaavya Chinniah, Audris Mockus, Megh Mehta, Nachiappan Nagappan

    Abstract: Release engineering has traditionally focused on continuously delivering features and bug fixes to users, but at a certain scale, it becomes impossible for a release engineering team to determine what should be released. At Meta's scale, the responsibility appropriately and necessarily falls back on the engineer writing and reviewing the code. To address this challenge, we developed models of diff… ▽ More

    Submitted 8 October, 2024; originally announced October 2024.

  3. arXiv:2407.13280  [pdf, other

    cs.SE cs.DB

    AI-Assisted SQL Authoring at Industry Scale

    Authors: Chandra Maddila, Negar Ghorbani, Kosay Jabre, Vijayaraghavan Murali, Edwin Kim, Parth Thakkar, Nikolay Pavlovich Laptev, Olivia Harman, Diana Hsu, Rui Abreu, Peter C. Rigby

    Abstract: SqlCompose brings generative AI into the data analytics domain. SQL is declarative, has formal table schemas, and is often written in a non-linear manner. We address each of these challenges and develop a set of models that shows the importance of each problem. We first develop an internal SQL benchmark to perform offline tests at Meta. We evaluate how well the Public Llama model performs. We atta… ▽ More

    Submitted 19 July, 2024; v1 submitted 18 July, 2024; originally announced July 2024.

    Comments: 11 pages

  4. arXiv:2402.04141  [pdf, other

    cs.SE cs.AI

    Multi-line AI-assisted Code Authoring

    Authors: Omer Dunay, Daniel Cheng, Adam Tait, Parth Thakkar, Peter C Rigby, Andy Chiu, Imad Ahmad, Arun Ganesan, Chandra Maddila, Vijayaraghavan Murali, Ali Tayyebi, Nachiappan Nagappan

    Abstract: CodeCompose is an AI-assisted code authoring tool powered by large language models (LLMs) that provides inline suggestions to 10's of thousands of developers at Meta. In this paper, we present how we scaled the product from displaying single-line suggestions to multi-line suggestions. This evolution required us to overcome several unique challenges in improving the usability of these suggestions f… ▽ More

    Submitted 6 February, 2024; originally announced February 2024.

  5. arXiv:2312.17236  [pdf, other

    cs.SE

    Factoring Expertise, Workload, and Turnover into Code Review Recommendation

    Authors: Fahimeh Hajari, Samaneh Malmir, Ehsan Mirsaeedi, Peter C. Rigby

    Abstract: Developer turnover is inevitable on software projects and leads to knowledge loss, a reduction in productivity, and an increase in defects. Mitigation strategies to deal with turnover tend to disrupt and increase workloads for developers. In this work, we suggest that through code review recommendation we can distribute knowledge and mitigate turnover while more evenly distributing review workload… ▽ More

    Submitted 28 December, 2023; originally announced December 2023.

  6. arXiv:2312.17169  [pdf, other

    cs.SE

    Improving Code Reviewer Recommendation: Accuracy, Latency, Workload, and Bystanders

    Authors: Peter C. Rigby, Seth Rogers, Sadruddin Saleem, Parth Suresh, Daniel Suskin, Patrick Riggs, Chandra Maddila, Nachiappan Nagappan

    Abstract: The code review team at Meta is continuously improving the code review process. To evaluate the new recommenders, we conduct three A/B tests which are a type of randomized controlled experimental trial. Expt 1. We developed a new recommender based on features that had been successfully used in the literature and that could be calculated with low latency. In an A/B test on 82k diffs in Spring of… ▽ More

    Submitted 5 May, 2025; v1 submitted 28 December, 2023; originally announced December 2023.

  7. Accelerating Continuous Integration with Parallel Batch Testing

    Authors: Emad Fallahzadeh, Amir Hossein Bavand, Peter C. Rigby

    Abstract: Continuous integration at scale is costly but essential to software development. Various test optimization techniques including test selection and prioritization aim to reduce the cost. Test batching is an effective alternative, but overlooked technique. This study evaluates parallelization's effect by adjusting machine count for test batching and introduces two novel approaches. We establish Te… ▽ More

    Submitted 24 August, 2023; originally announced August 2023.

  8. arXiv:2305.12050  [pdf, other

    cs.SE cs.AI

    AI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluation

    Authors: Vijayaraghavan Murali, Chandra Maddila, Imad Ahmad, Michael Bolin, Daniel Cheng, Negar Ghorbani, Renuka Fernandez, Nachiappan Nagappan, Peter C. Rigby

    Abstract: Generative LLMs have been shown to effectively power AI-based code authoring tools that can suggest entire statements or blocks of code during code authoring. In this paper we present CodeCompose, an AI-assisted code authoring tool developed and deployed at Meta internally. CodeCompose is based on the InCoder LLM that merges generative capabilities with bi-directionality. We have scaled up CodeCom… ▽ More

    Submitted 16 February, 2024; v1 submitted 19 May, 2023; originally announced May 2023.

  9. Farey Recursive Functions

    Authors: Eric Chesebro, Cory Emlen, Kenton Ke, Denise LaFontaine, Kelly McKinnie, Catherine Rigby

    Abstract: This paper introduces Farey Recursive Functions and investigates their basic properties. Farey Recursive Functions are a special type of recursive function from the rationals to a commutative ring. The recursion of these functions is organized by the Farey graph. They arise naturally in the study of 2-bridge knots and links.

    Submitted 30 August, 2020; originally announced August 2020.

    MSC Class: 57M50 (Primary); 05A10 (secondary)

    Journal ref: Involve 14 (2021) 439-461

  10. Do Code Review Measures Explain the Incidence of Post-Release Defects?

    Authors: Andrey Krutauz, Tapajit Dey, Peter C. Rigby, Audris Mockus

    Abstract: Aim: In contrast to studies of defects found during code review, we aim to clarify whether code reviews measures can explain the prevalence of post-release defects. Method: We replicate a study by McIntoshet. al that uses additive regression to model the relationship between defects and code reviews. To increase external validity, we apply the same methodology on a new software project. We discuss… ▽ More

    Submitted 19 May, 2020; originally announced May 2020.