eBay's Copilot pilot cut pull request merge time by 17%
eBay tested GitHub Copilot against a control group before giving it to every developer, then fine-tuned code models and built an internal GPT for the gaps Copilot left.
eBayUnited StatesE-commerce and marketplacesScaled since 2023
- Scale
- All eBay developers
- Scenario
- Enterprise AI code generation
- Business function
- Software engineering
- Kind of solution
- Software engineering assistant
- Who built it
- With GitHub
- Human oversight
- Assists people
- Organization
- Enterprise
- AI types
- Generative AI, Conversational AI
- Users
- 300 developers
tl;drDevelopers with Copilot cut pull request merge time 17% in eBay's 300-developer A/B test.See the results
eBay gives all of its developers GitHub Copilot, uses code models fine-tuned on its own code, and runs an internal GPT that answers developers’ questions from company documentation1, 5.
The three tracks target the time engineers lose to repetitive code, software upkeep, and searching for internal knowledge1. Before the company-wide rollout, eBay ran a 300-developer A/B test of Copilot in the summer of 2023, and it published the results in February 20241.
In the Copilot group, the time from pull request creation to merge fell 17%, and Lead Time for Change fell 12%, while code quality stayed the same1. Fine-tuning GPT-4 on samples of manual work made eBay’s JDK 8 to JDK 17 upgrade across its whole application fleet 25% faster4.
Before the deployment
eBay’s developers work in a codebase of millions of lines, and some tasks need knowledge of the entire codebase1. The Platform and Infrastructure organization, led by Senthil Padmanabhan, provides infrastructure for more than 4,000 engineers and is responsible for developer productivity4.
- Investigation: Internal information sat in enterprise GitHub Markdowns, Google Docs, Jira, Slack, and wikis. A simple question could take multiple meetings and dead ends to answer1.
- Software upkeep: eBay’s own frameworks for servers, message queues, batch jobs, iOS, and Android need periodic upgrades. Even with existing migration tools, upkeep took significant engineering resources1.
- Code duplication: A developer might not know that another team’s internal service or library already offers the function they’re writing1.
What was built
eBay runs three tracks for developer productivity, which it uses separately or in combination1. A commercial assistant, fine-tuned models, and an internal knowledge assistant divide the work:
- GitHub Copilot: Converts comments to code, suggests the next line, generates tests, and fills in repetitive code in the developer’s editor1. Developers decide which suggestions to accept1.
- eBayCoder: Code Llama 13B, trained on eBay’s codebase and associated documentation1. It targets upkeep work such as code migration, and it can draw on more of eBay’s code than the files a developer has open1, 3.
- Task-specific fine-tunes: For the JDK upgrade, the team did two months of manual work and then fine-tuned GPT-4 on those samples4. A fine-tuned Code Llama 2 model helps one domain write rules in an internal risk DSL4.
- Internal GPT: Answers questions such as “Which API should I call to add an item to the cart?” from content it ingests from internal sources1.
- Employees: Give feedback on the internal GPT’s answers in its interface, and eBay incorporates that feedback into the system1.
eBay relies on a mix of commercial and public large language models and builds its own3.
“My bias is always towards build”
Alternatives considered
- Copilot over other commercial assistants: eBay chose Copilot for its popularity with developers, and because eBay’s codebase was already on GitHub1.
- Fine-tuning over post-training: For the code migration, the team first post-trained an open-source model on around 75 million lines of code. Fine-tuning on samples of manual work achieved the migration that post-training didn’t4.
Rollout
- A/B test, summer 2023: Half of 300 developers used Copilot, and half formed a control group with similar assignments and abilities1. The test ran for six weeks4.
- Company-wide, 2023: eBay expanded Copilot to all of its developers after the A/B test showed a positive return1, 4.
Technology and architecture
| Layer | What they used | Role | Source |
|---|---|---|---|
| Solution platform | GitHub Copilot | Suggests code, tests, and documentation in developers’ editors | 1, 3 |
| Language model | eBayCoder | Code Llama 13B trained on eBay’s codebase and documentation, for upkeep work | 1, 3 |
| Language model | GPT-4 | Fine-tuned on manual migration samples to generate JDK upgrade code | 4 |
| Language model | Code Llama 2 | Fine-tuned to help one domain write rules in an internal risk DSL | 4 |
| Chat interface | Internal GPT | Takes developers’ questions and returns answers from internal documentation | 1 |
| Embedding and ranking model | Content embeddings | Turns each piece of content and each query into an embedding vector | 1 |
| Search and vector index | Vector database | Stores content vectors and finds the closest matches to a query | 1 |
| Language model | Commercial and open source LLMs | Private instance that answers from the retrieved context | 1 |
| Feedback capture | User interface feedback | Collects employee feedback on answers to improve the internal GPT | 1 |
| Business or operational system | GitHub | Hosts eBay’s codebase | 1 |
Data inputs
- eBay’s code and documentation: Training data for eBayCoder1.
- Manual migration samples: Code from the first two months of the JDK upgrade, done by hand and then used to fine-tune GPT-44.
- Editor context: Copilot works from the surrounding files, the current repository, and a few dependent libraries1.
- Internal documentation: Content from enterprise GitHub Markdowns, Google Docs, Jira, Slack, and wikis, embedded in an automated, recurring task1.
Answering one developer question
- A recurring task creates an embedding vector for each piece of content and stores it in a vector database1.
- A developer enters a question. The system creates an embedding vector for it1.
- A similarity mechanism such as cosine similarity compares the query vector with the content vectors. It finds the content and links closest to the question1.
- The system sends the question and that context to eBay’s private instance of commercial and open source LLMs1.
- The prompt tells the model to answer truthfully from the context, and to say it doesn’t know when the answer isn’t there1.
- The developer reads the answer and can give feedback on it in the user interface1.
Results
eBay measures developer productivity with quantitative metrics from Git, DORA, Flow, and code quality tools, and with targeted developer surveys1.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Less time from pull request creation to merge | Control group without Copilot | 17% | 300 developers, summer 2023 | eBay, pilot1 |
| Shorter Lead Time for Change | Control group without Copilot | 12% | 300 developers, summer 2023 | eBay, pilot1 |
| Code acceptance rate | Not disclosed | 27% | Copilot group, summer 2023 | eBay, pilot1 |
| Faster JDK 8 to JDK 17 migration | Two months of manual work | 25% | Whole application fleet | eBay, measured4 |
- Pull request creation to merge: The time from opening a pull request to merging it, in the Copilot group against the control group, in the summer 2023 A/B test1.
- Lead Time for Change: The time from submitting a pull request to the code reaching production4.
- Code acceptance rate: The share of Copilot’s suggestions that developers accepted, from Copilot telemetry after a two-week ramp-up1. Generated documents were 70% accurate, and generated code 60%1.
- Code quality and surveys: The code quality measure through Sonar stayed the same in both groups, and the Copilot group reported higher perceived productivity1.
- Migration speed: The days the JDK upgrade took in its first two months of manual work, against the days after fine-tuning4. A Spring Boot upgrade to version 3 ran 30% faster, and writing risk rules became 50% faster4.
- Internal GPT: By February 2024, usage was rising each day. eBay tracks the time to complete everyday tasks and the number of support and meeting requests1.
In August 2024, Rawashdeh projected that eBay’s software developers will be 15% to 20% more productive within two years thanks to AI3.
Lessons learned
The Copilot figures come from a controlled comparison. Half of 300 developers used Copilot, and the other half formed a control group with similar assignments and abilities1. Padmanabhan said the impact might be reduced a little across the whole developer population4.
Copilot’s prompt size limits it in a codebase of eBay’s size. Tasks that need knowledge of the entire codebase aren’t possible with it1. Rawashdeh said its code can be a bit generic and doesn’t necessarily follow how eBay does things, which led to eBay Coder3.
Senior engineers were the most skeptical of Copilot at first. There was initial skepticism, and the strongest coders felt a lag in productivity because the suggestions didn’t make sense to them. The chat feature later sped them up more than code completion did4.
The internal GPT sometimes delivers nonsensical answers1. eBay relies on employee feedback through the interface to make it better over time, an approach it calls reinforcement learning from human feedback (RLHF)1.
A few good samples beat millions of lines for code migration. Post-training took days of training and didn’t achieve the migration, while cheaper fine-tuning on samples did4. Fortune gives over 250 million lines of eBay code as eBay Coder’s training data, against the around 75 million lines Padmanabhan described3, 4.
The figures are eBay’s own measurements, from its innovation blog and Padmanabhan’s interview1, 4. InfoQ and the ZenML LLMOps Database repeat the A/B test figures2, 5.
Case study scorecard
- 17% Less time from pull request creation to merge1
- 12% Shorter Lead Time for Change1
- 27% Code acceptance rate1
- 25% Faster JDK 8 to JDK 17 migration4
Sources by publication date
- Organization 1
- Press, academic, and regulators 4
Build this solution yourself
Analysis
What you need
- Delivery metrics and a control group: The 17% and 12% figures compare developers with and without Copilot on pull request and DORA metrics1. You need those metrics collected before the rollout to measure the same way.
- Code where the assistant works: eBay picked Copilot partly because its codebase was already on GitHub1.
- Good samples of manual work: The migration fine-tune learned from two months of hand-done upgrades, and Padmanabhan prefers a thousand high-quality rows to ten thousand average ones4.
- Documentation a job can ingest: The internal GPT depends on content it pulls on a schedule from GitHub, Google Docs, Jira, Slack, and wikis1.
Reference architecture
Software engineering assistant
A software engineering assistant writes, reviews, tests, or migrates code in the tools that developers already use, and a developer approves its output. A language model writes a change, a test, or a review comment from the code for a task, and automated checks and a checker model build, test, and filter it. A reviewer approves each checked proposal in code review before it merges, and developers do the work that fails the checks by hand.
- Developer tools
- Assistant platform (documented in this case study)
- Code repository (documented in this case study)
- Code index (documented in this case study)
- Deterministic code analysis
- Standards and guidelines
- Code and platform map
- Prompts and context
- Language model (documented in this case study)
- Automated checks
- Checker model
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- Uber: How Uber scaled coding agents and cut cost per session. Cost per agent session fell 52% from its June peak as weekly agent requests grew 9.4x.
- Pictet Group: Pictet takes Claude Code from developers to business teams. About 700 Pictet staff now use Claude Code and Cowork, and prototypes take 2 hours, not 2 weeks.
- TUI Group: TUI cuts external IT staff with AI coding assistants. TUI's external IT workforce fell from thousands to maybe 30 or 50 as its developers coded with AI.
- Meta: Meta's just-in-time LLM tests catch bugs before code lands. JiTTests helped catch 74 serious privacy bugs at Meta before they landed in the first half of 2026.
- Deutsche Bank: AI coding assistants speed up software work at Deutsche Bank. Developers save an estimated 1.5 to 2.5 hours per week and report 10x gains on some tasks.
- Barclays: Barclays scales AI coding from GitLab Duo to Claude Code. Barclays grew GitLab Duo use to 23,000 staff, with about 15% productivity gains from AI tools.
Cite this case study
Enterprise AI Case Studies. "eBay's Copilot pilot cut pull request merge time by 17%." Updated Nov 26, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-065-github-copilot-developer-productivity-ebay/
@misc{csai-er-065,
author = {{Enterprise AI Case Studies}},
title = {{eBay's Copilot pilot cut pull request merge time by 17%}},
year = {2026},
note = {Updated 2026-11-26},
url = {https://case-studies.ai/case-studies/engineering-and-research/ER-065-github-copilot-developer-productivity-ebay/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Cutting Through the Noise: Three Things We've Learned About Generative AI and Developer Productivity
Supporting excerpts (35)
We expanded our use of GitHub Copilot, a commercial offering, to all of our developers last year.
Our test for this track involved a, well, pilot for Copilot, comprising 300 developers – half using Copilot, and half forming a control group with similar assignments and abilities but without Copilot, in an A/B test experiment conducted in the summer of 2023.
We chose Copilot because of its popularity in the developer world, and because eBay already has our codebase on GitHub; we’re familiar with the way their products work.
Following a two-week ramp-up period, developer surveys showed that the developers using Copilot saw an increase in perceived productivity, along with a 27% code acceptance rate (as reported through Copilot telemetry).
the generated documents were 70% accurate, and the generated code was at 60%
we saw a 17% decrease in pull request (PR) creation to merge time, and a 12% decrease in Lead Time for Change – an indirect benefit of efficient coding
The code quality measure through Sonar remained the same for both groups.
Copilot was able to provide features including converting comments to code, suggesting the next line of code, generating tests, and auto-filling repetitive code – all time-saving measures.
Copilot has a limit to its prompt size – essentially, how much data it can process.
We’ve got millions of lines of code, and some activities require the knowledge of the entire eBay codebase.
there’s only so much we can learn from a model that doesn’t incorporate our internal data
We used Code Llama 13B as our base LLM for this exercise, though that can be easily swapped for another if the need arises.
we created what we call eBayCoder: Code Llama that’s trained on eBay’s codebase and associated documentation.
eBay has its own foundational libraries and frameworks built on top of open source software for servers, message queues, batch jobs, iOS, and Android.
With the existing migration tools at eBay, we still spend significant engineering resources on software upkeep.
usually the surrounding files, the current repository, and a few dependent libraries
It may not be aware of a different internal service or a non-dependent library maintained by other groups that offer the same functionality currently being authored. This often leads to large amounts of code duplication.
But a fine-tuned LLM can access as much context as we want, potentially reducing the amount of code duplication.
Which API should I call to add an item to the cart?
including enterprise GitHub Markdowns, Google Docs, Jira, Slack, and Wikis.
Trying to find the answers to seemingly simple questions can sometimes require multiple meetings, dead ends, and red herrings
So we created an internal GPT that ingests certain data from relevant primary sources.
a system that creates an embedding vector for each piece of content, which is then stored in a vector database. We were able to make this an automated, recurring task.
When someone enters a query, the system creates an embedding vector, and then uses a similarity mechanism (such as cosine similarity) to compare the query vector against all the known aforementioned content embedding vectors.
This step finds the content and links most similar to the person’s query.
we call our private instance of commercial and open source LLMs with a question of the form: Answer the question as truthfully as possible using the provided context, and if the answer is not contained within the text below, say “I don’t know.”
We’re already seeing usage of our internal GPT rise each day
we’re tracking how long it takes to complete everyday tasks, and also tracking the number of support and meeting requests
sometimes these GPTs can deliver nonsensical answers
At eBay, we depend on our employees to give feedback through the user interface, which is then incorporated into the system itself.
This technique – Reinforcement Learning from Human Feedback, or RLHF – can make the GPT better over time.
there is no reliable single metric to measure developer productivity given its complexity. Instead, as suggested by studies, we use both quantitative and qualitative metrics.
The former includes tools like Git, DORA and Flow, and measuring code quality and performance. The latter is measured with targeted developer surveys.
Each can be used separately or in any combination, and bring their own benefits and drawbacks.
The boost in developer productivity is at the beginning of an exponential curve, which we often underestimate
- Source 2:
eBay’s Lessons Learned about Generative AI in Software Development Productivity
Supporting excerpts (2)
The introduction of Github Copilot also allows a decrease of PR (about 17%) and a decrease (about 12%) of the Lead time for Change.
Despite occasional hiccups in response quality, ongoing refinement efforts via Reinforcement Learning from Human Feedback (RLHF) allow eBay to make the GPT-driven query system better over time.
- Source 3:
How eBay uses generative AI to make employees and online sellers more productive
Supporting excerpts (8)
Messaging matters to eBay chief technology officer Mazen Rawashdeh
“We shift how we talk about gen AI: This is a tool that is going to help you enjoy the job you do.”
Rawashdeh predicted that eBay’s software developers will be 15% to 20% more productive within the next two years thanks to AI.
To achieve those gains, eBay has relied partly on GitHub Copilot, an AI-enabled developer tool that can autocomplete code for programmers so they can do their jobs faster.
But the code the technology produces can be a bit generic, says Rawashdeh. The AI doesn’t necessarily understand how eBay does things.
That led Rawashdeh to create eBay Coder, which relies on an open-source large language model that’s trained on over 250 million lines of eBay code.
This generative AI tool is better at helping with tasks like code migration or transferring software code between different operating systems or frameworks.
“My bias is always towards build,” says Rawashdeh, who says eBay relies on a mix of commercial and public large language models and builds its own LLMs.
- Source 4:
LIVE from AI Summit: The Impact of Strategic Fine Tuning on Achieving Peak Performance
Supporting excerpts (26)
Senthil Padmanabhan is a Vice President and Technical Fellow at eBay, where he runs Platform and Infra (private cloud) Engineering for the global eCommerce marketplace, providing infrastructure for 4000+ engineers to deliver products at scale.
we are also responsible for, developer productivity or general employee productivity across the company
tools like Cursor or GitHub Copilot and all those things do a fantastic job in the editor, in the IDE, but it’s all in the context of what files you have been opening on and what’s available to it.
It was JDK 8 to JDK 17.
we did it across our whole application fleet
we did it across our whole application fleet, close to 2, 000 apps.
The first two months we did a manual effort, and then we took the samples and fine tuned on top of GPT 4, and that made the whole process 25 percent more faster.
you just compare the number of days it took the first two months, and then after the fine tuning
we saw a similar effect on when we did the Spring Boot 2. 7 to 3 upgrade, it was like 30 percent faster.
in eBay, we have a DSL for a risk system.
So we did this, fine tuning, on top of, Code Llama 2. and that made the whole process, 50 percent faster.
it doesn’t have a company wide impact because it’s just risk rules done by one domain.
there was initial skepticism, to be honest with you
especially with the more senior, like, very strong super coders, they initially felt a little bit of, lag in productivity, because they felt, oh, the suggestions don’t make sense.
but then later the chat feature is what, enabled them to be more faster rather than the code, complete feature.
we ran the test for six weeks
Lead time is the time when the, when you submit a PR and the time it goes to production, right?
if you expand it to the whole population of the developers, the impact may be reduced a little bit, I guess.
that motivated us to forget the noise and then expand it. Now everybody in the company has access to all these
took around 75 million lines of code, and post trained on an open source model.
it did not help us achieve the code migration that we thought we would achieve, which fine tuning was able to achieve
it was consuming days for training these millions of lines of code
Fine tuning is a cheaper alternative than. Training a model from scratch or post training.
I would at any time prefer thousand records of high quality rows of data set rather than ten thousand average rows.
how methods like low-ranking adaptation (LoRa) are pivotal in improving AI performance
I think we also leverage that a lot within, within eBay.
- Source 5:
eBay: Multi-Track Approach to Developer Productivity Using LLMs
Supporting excerpts (2)
eBay implemented a three-track approach to enhance developer productivity using AI: deploying GitHub Copilot enterprise-wide, creating a custom-trained LLM called eBayCoder based on Code Llama, and developing an internal RAG-based knowledge base system.
The Copilot implementation showed a 17% decrease in PR creation to merge time and 12% decrease in Lead Time for Change, while maintaining code quality.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.