Technology

AI coding assistants: what a controlled experiment measured

Software is one of the few fields with a randomised experiment on AI help. Here is the headline number, its limits, and how to test it in your own team.

HAY AI Editorial Team3 min read

What the experiment measured

Peng and colleagues recruited software developers and asked them to implement an HTTP server in JavaScript as quickly as possible. The treated group had access to the GitHub Copilot AI pair programmer, and the control group did not. The treated group completed the task 55.8% faster.

How far the number goes

The task was clearly defined and self-contained. Real projects involve unclear requirements, existing code, reviews and maintenance, none of which this experiment measured. The paper is also a preprint on arXiv. Treat 55.8% as evidence that gains are possible on well-scoped tasks, not as a forecast for your team.

Where it may help a business

  • Boilerplate and small utilities with a clear specification
  • First drafts of tests
  • Helping newer developers get started in unfamiliar code

Where a person must decide

  • Security-sensitive code
  • Architecture and data handling choices
  • Merging anything into production

How to measure it

  • Time to complete comparable tickets, with and without the assistant
  • Defects found in review or after release
  • Review time per change

Related service: Custom GenAI Development.

Sources

  1. Peng et al., “The Impact of AI on Developer Productivity: Evidence from GitHub Copilot” (arXiv:2302.06590, 2023) Controlled experiment; source of the 55.8% figure. A preprint, not a peer-reviewed paper.

Sources checked in November 2026.

The study is independent of HAY AI. Its findings are summarised from the arXiv abstract.

Want to apply this to your own workflow?

Tell us about one process you would like to improve. We will help you decide whether AI is a good fit and what a small, measurable first step could be.

HAY AI Assistant

English · Հայերեն · العربية · Русский · Español