1What it's about
BioMarin · External Operations · Summer 2026
From processing
to adaptive learning

Automated metric tracking for the monthly operations scorecard, with an agent team that drafts the root-cause deep dive and signals the owner before a miss.

The company

Biotech

Rare diseases and GMP manufacturing, where every batch matters.

The team

External Ops

Runs a network of contract manufacturers across sites.

The scorecard

12 metrics

Quality, batch release and training, reviewed every month.

My role

End to end

Designed and built it as the Insights & Analytics intern.

2The business question
The ask
“Can every number on the scorecard arrive with its context, its likely cause and an owner, early enough to prevent the miss instead of just reporting it?”

In a GMP operation a late deviation closure or a lapsed training record is a compliance risk, not just a red cell. Automation brings the numbers in; AI brings the why, early enough to act on it.

Today
Numbers arrive without context: pulled by hand from four systems and pasted onto the deck.
Hard to explain why a metric moved, so little time is left for root-cause analysis.
Misses are flagged at the monthly review, after they were avoidable.
3How it's built

Every source lands in one governed layer and is calculated in one run. The main path ends in one drafted deck; a weekly branch signals owners, and their answers flow back into it.

1SOURCESGxP systems of record
2GOVERNone model, one key
3CALCULATE12 metrics, one run
4ANALYSEagents draft
5DELIVERone deck, or a signal
6DECIDEpeople own the call
Monthly · the scorecard
Weekly · proactive signals
Veeva QMS

deviations · CAPAs

SAP S/4HANA

batch release decisions · shipments

LMS + HR

GMP training records · people

Governed layer

read-only from every source

Databricks medallionSAP, bronze → silver → gold
Power BI semantic modelsquality + training, queried by REST and DAX
One keybatch · site · month, so metrics join
12 metrics, one run

Rate vs target, by site × month, with 13 months of history.

Delta metric storeone source for the deck and the agents
AGENT TEAMRoot-cause deep dive
Trendwhat changed this month
Root causelikely driver by site, product, category
Recurrenceseen this before?
The draft deck

Copilot builds it from the metric store.

Deck skilla detailed playbook: layout, metric definitions, house style, how to write up a miss
SME reviews

edits the read, then leadership signs off at the monthly review.

EARLY WARNINGWeekly checks
Deviationopen day 21 of 30, closure at risk
Recurrence3rd time at one site this quarter
TrainingGMP course due within 7 days
Signal to the owner

A Teams message or email: what's at risk, the context, and a drafted read.

Owner acts

confirms the cause, sets the action and an owner.

FivetranSAP replication
NotebooksFabric + Databricks
Power Automatemonthly
Power Automateweekly
Evals check every claim cites the metric store.
owner's answer → draft
GxP guardrails

Read-only

Agents never write to a GxP system of record.

QA-confirmed definitions

Each metric's logic is signed off before it's automated.

Agents draft, people approve

Nothing reaches leadership without SME review.

Grounded and scored

Evals check every figure traces to the metric store.

4What it brings the business
85%
less manual data processing

The other 15% is on purpose: it's where people review, judge and sign off.

Why, not whatTime moves to root cause
Before

Hours went into pulling data and pasting it onto the deck.

Now

The deep dive arrives drafted, and the team tests and refines it.

WeeklyAct while it's avoidable
Before

Misses surfaced at the monthly review, after the due date.

Now

Early warnings reach the named owner days before the due date.

Days → 1 runMeetings become a schedule
Before

Days of coordination and manual pulls every cycle.

Now

One scheduled source-to-deck run, refreshed more often.

5What I proposed next
Every closed loop makes the next one smarter

Today a deviation is investigated, closed, then forgotten. If cause, owner, action and outcome are written back into one context layer, people and AI can ask:

Did the CAPA work? Effectiveness, not just closure.
Have we seen this before? Similar deviations, causes and fixes.
Is it coming again? Recurrence spotted before the event.

The first step is already built. When an owner answers a weekly signal, their cause and action are captured. That is the start of the loop.

What it takes: an operating-model change, not another agent. Record the outcome where the work happens, and check effectiveness later.

Scroll or press
01 / 11 · OverviewOne project on one board. Scroll and I'll walk you through it in order.

Stack

Databricks (medallion, SQL) · Fivetran · Microsoft Fabric notebooks · Power BI semantic models (REST and DAX) · Delta tables · Power Automate · Copilot · agent evals

A note on what's shown

The flow follows the real build. Signal thresholds are illustrative; internal names and figures are left out. The 85% is the reported result.