Safe Implementation of AI-Assisted Development with GitHub Copilot

pinterest · Tech · 2024 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Enterprise AI-assisted software development rollout

Pinterest wanted to unlock AI-assisted development for engineers while managing legal, security, productivity, adoption, and cost risks that had initially led the company to disallow LLM use.

Constraints:

Architecture

Pinterest chose to buy GitHub Copilot rather than build an internal AI-assisted development system. The rollout architecture combined vendor selection, a roughly 200-developer trial, Slack-based weekly NPS surveys, trial-versus-control productivity analysis, legal/licensing review, security scanning of Copilot and non-Copilot code, access-control/provisioning integration, domain-specific enablement, and gradual expansion to all engineers.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Engineering demand"] --> B["Build-versus-buy decision"]
  B --> C["GitHub Copilot"]
  C --> D["Developer trial cohort"]
  D --> E["Slack NPS survey"]
  D --> F["Productivity measurement"]
  C --> G["Access provisioning"]
  H["Legal and security review"] --> I["Rollout decision"]
  E --> I
  F --> I
  I --> G
  G --> J["All engineering rollout"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Engineering demand Internal developer interest in using AI-assisted development tools professionally. Build-versus-buy decision
Build-versus-buy decision Determined that a vendor tool was faster and not core to Pinterest's business. GitHub Copilot
GitHub Copilot Vendor AI-assisted development tool used in the enterprise rollout. Developer trial cohort, Access provisioning
Developer trial cohort Around 200 engineers using Copilot across IDEs during the trial. Slack NPS survey, Productivity measurement
Slack NPS survey Weekly qualitative feedback channel with low friction for developers. Rollout decision
Productivity measurement Quantitative comparison of trial cohort changes against a control. Rollout decision
Legal and security review Assessed licensing, training-data controls, and vulnerability risk. Rollout decision
Rollout decision Combines trial feedback, productivity comparison, legal review, and security review into the expansion decision. Access provisioning
Access provisioning Integrated Copilot access into Pinterest's control and provisioning systems. All engineering rollout
All engineering rollout General availability of AI-assisted development to Pinterest engineers. —

Data flow

Developer demand and build-versus-buy analysis led Pinterest to GitHub Copilot. A trial cohort of about 200 developers used Copilot across VS Code and JetBrains IDEs. Weekly Slack surveys and productivity metrics were compared against controls, while legal and security teams reviewed licensing, model-training controls, and vulnerability risk. Positive results triggered broad engineering access, training, and access-control integration.

3 supporting quotes
“we decided to run our trial with around 200 developers over a longer duration.”article, stated
“Qualitative sentiment feedback was collected weekly through a short slack bot based survey”article, stated
“Our approach was to compare the relative change over time for the trial cohort vs a control from prior to the Copilot trial.”article, stated

Why this architecture

Pinterest treated Copilot as an enterprise change-management and risk-control program rather than a pure tool install. Buying accelerated time-to-value, a large long-running trial improved measurement quality, and legal/security reviews made broad access acceptable.

3 supporting quotes
“developing everything from scratch was not essential to our core business. Opting to buy a vendor solution allowed us to expedite this process”article, stated
“Running the trial over a longer duration helped us control for the novelty effect and other measurement issues.”article, stated
“we ensured that our usage of AI-assisted development adhered to all relevant licensing terms and regulations.”article, stated

Models used: GitHub Copilot · Large Language Models

Scale

Alternatives considered (roads not taken)

Build an internal AI-assisted development tool

Rejected because: Pinterest had AI expertise but decided building from scratch was not core to the business and would slow delivery.

“While Pinterest possesses extensive in-house AI expertise and builds many of our developer tools, we recognized developing everything from scratch was not essential to our core business.”article, stated

Run a small, short trial

Rejected because: Pinterest wanted a larger cohort and longer duration to represent developer personas and control for novelty effects.

“While many companies ran trials of fewer than 30 people over just a few weeks, we decided to run our trial with around 200 developers over a longer duration.”article, stated

Rely on email surveys

Rejected because: Slack-based surveys had higher completion rates and met developers where they worked.

“previously we noticed that slack based surveys have higher completion rates than email based surveys, so we wanted to meet developers where they spend more time”article, stated

Patterns

eval-driven-development (evaluation)

Pinterest used NPS, productivity metrics, real-time feedback sampling, and trial-versus-control comparison to decide whether to expand Copilot.

“We looked at both qualitative and quantitative data — and spent time sampling real-time user feedback.”article, stated
“Our approach was to compare the relative change over time for the trial cohort vs a control from prior to the Copilot trial.”article, stated

safety-policy-enforcement (governance)

Legal and security reviews controlled licensing, training-data use, and vulnerability risk before general availability.

“we ensured that our usage of AI-assisted development adhered to all relevant licensing terms and regulations.”article, stated
“Our security team leveraged vulnerability scanning tools to continuously audit all code introduced by both Copilot participants and non-participants.”article, stated

canary-rollout (deployment)

Pinterest moved from disallowing LLMs to a measured trial cohort before expanding to all engineering.

“Like many companies, we initially disallowed the use of Large Language Models (LLMs)”article, stated
“Based on this positive feedback we made the decision to expand access to Copilot to all of engineering”article, stated

human-in-the-loop-gate (adoption)

The rollout relied on developer sentiment and feedback rather than only automated productivity metrics.

“Qualitative sentiment feedback was collected weekly through a short slack bot based survey; previously we noticed that slack based surveys have higher completion rates than email based surveys, so we wanted to meet developers where they spend more time and reduce friction for them to share feedback.”article, stated
“Getting good qualitative measurements was slightly more complex. Our approach was to compare the relative change over time for the trial cohort vs a control from prior to the Copilot trial.”article, stated

Tradeoffs

Vendor versus internal build

Chose GitHub Copilot over building an AI-assisted development tool from scratch.

Rationale: Copilot's feature set, robust LLM, IDE support, and ecosystem fit accelerated delivery for a non-core internal capability.

“After careful consideration, we chose GitHub Copilot due to its feature set, robust LLM, and fit with our existing tooling ecosystem.”article, stated
“Opting to buy a vendor solution allowed us to expedite this process and provide our engineers with a polished experience”article, stated

Trial size and duration

Chose around 200 developers over a longer duration over fewer than 30 people for a few weeks.

Rationale: A larger, longer trial represented developer personas and reduced novelty-effect bias.

“This larger cohort also allowed us to ensure we had significant populations across various developer personas.”article, stated
“Running the trial over a longer duration helped us control for the novelty effect and other measurement issues.”article, stated

Feedback collection channel

Chose Slack bot survey over email survey.

Rationale: Slack surveys reduced friction and had higher completion rates for developers.

“slack based surveys have higher completion rates than email based surveys, so we wanted to meet developers where they spend more time”article, stated

Gotchas (what bit them)

Enterprise AI-assisted development could not launch before legal and security review.

Root cause: LLM-assisted code raises licensing, data-use, and vulnerability concerns.

Resolution: Pinterest worked with legal and security teams and continuously scanned code from both participants and controls.

“we initially disallowed the use of Large Language Models (LLMs) until we thoroughly evaluated their legal and security implications.”article, stated
“This comprehensive approach enabled us to effectively mitigate potential risks to our robust security posture arising from AI-assisted development practices among our engineers.”article, stated

Small or short trials can overstate early enthusiasm.

Root cause: Novelty effects and temporal influences can distort productivity and sentiment measurements.

Resolution: Pinterest used a longer trial with about 200 developers and a control comparison.

“Running the trial over a longer duration helped us control for the novelty effect and other measurement issues.”article, stated
“Our approach was to compare the relative change over time for the trial cohort vs a control from prior to the Copilot trial.”article, stated

Adoption required more than buying the tool.

Root cause: Engineers needed easy access and domain-specific guidance to use Copilot effectively.

Resolution: Pinterest ran training, streamlined access provisioning, and partnered with platform teams across web, API, and mobile domains.

“we ran training sessions, streamlined the process to get access to Copilot through integration into our access control and provisioning systems”article, stated
“partnered with our platform teams to help folks understand how to best take advantage of Copilot in different domains such as web, API and mobile.”article, stated

Evaluation

Pinterest evaluated Copilot with weekly Slack NPS, real-time qualitative feedback, quantitative productivity measures, trial-versus-control comparisons, legal review, and vulnerability scanning.

Metrics: Trial cohort of around 200 developers · NPS of 75 early in the trial · Less than six months from idea to scaled availability · 150% adoption increase in two months · 35% of total developer population using Copilot regularly

“Early NPS results were really positive (NPS of 75), and we watched these increase as the trial continued. Our quantitative data was equally impressive supporting the feedback we heard that Copilot was helping our teams be more productive.”article, stated
“we unlocked AI Assisted development safely from idea to scaled availability in less than 6 months, increased user adoption by 150% in 2 months”article, stated

Outcomes

Pinterest reports more than 300 billion indexed ideas, a roughly 200-person Copilot trial, and 35% regular adoption across its developer population.

“with 35% of our total developer population using Copilot regularly.”article, stated
“This means according to the Technology adoption lifecycle we are well into the early majority phase of adoption.”article, stated