DDE DORA v2—measuring delivery from release evidence
The original dashboard and animated specification, with eight calculations, their source records and the simulation that puts changes in context.
DDE v2 is a prototype for making engineering metrics traceable. The overview in the original design shows lead time at 11.4 h, down 12.4%, with change failure rate at 20.0%, up 33.3%. Clicking either figure leads to the definition, the settings behind it and the records that contributed to it. That connection between the result and the evidence is the purpose of the design.
The dashboard and examples use synthetic data. The material here comes from the original Claude Design dashboard and its companion specification. The dashboard snapshot, one-week traceability fixture and forecast back-test each have their own reporting context.
The original DDE v2 dashboard
The default view shows production (PRO), all teams and components and the last 30 days, with a commit-weighted mean and the last component’s deployment end as the endpoint. The original comparison spans 2–31 October against 2 September–1 October. The arrows and percentage changes describe the original snapshot. A lower value is favourable for lead time and recovery, while a higher change failure rate points the team towards the incident records.
The original interactive specification
The 111-chapter, 17 min 51 s journey is included here from the Claude export. Use its chapter menu to jump between concepts, playback and captions to step through a scene, and the commit and component inspectors to see the timestamps and data behind a calculation. The examples below offer shorter entry points into the same animation.
Open the original DORA animation
- Project mapping in a monorepo 0:54
- Original commit timestamps 2:31
- Failure signals 5:42
- Deployment and recovery 8:13
- The workable-time denominator 11:46
- Modification density 13:04
- Simulating lead time 14:42
- Joint simulation in three dimensions 16:58
What the configuration changes
A number can change when the team changes what it counts or how it groups records. The prototype keeps those choices visible so two people can reproduce the same result. The production view is the basis for DORA comparisons. DEV and STG support diagnosis, and the optional synthetic deployment mode uses the merge into main as a proxy for delivery where runtime deployment data is unavailable. Change failure rate and recovery time require runtime evidence, so the synthetic mode shows them as unavailable.
| Setting | Default value |
|---|---|
| Environment | PRO |
| Time scale | days |
| Granularity | Global |
| Selection range | 30 days |
| Workable hours | 8 h · 09:00–17:00 |
| Workable days | Mon–Fri |
| Overlapping events | Following |
| Setting | Default value |
|---|---|
| Classification | Path pattern |
| File mapping | Advanced · inverse transitive |
| Dependency levels | L* · all depths |
| Setting | Default value |
|---|---|
| Aggregation | Mean · all commits |
| Included outcomes | Netto · successful |
| Deployment Event | Max End DE |
| Setting | Default value |
|---|---|
| Counting | 1 deployment → 1 failure |
| Selectivity | All five event types |
| Components | All components |
| Setting | Default value |
|---|---|
| Deployment Event | Coarse · one per version |
| Setting | Default value |
|---|---|
| Simulated metric | Lead Time for Change |
| Confidence interval | 95% |
| Back-test horizon | 1 month |
Lead time starts at the original commit creation timestamp, even when a rebase changes the hash. For a multi-component release, Max End DE places the deployment event at the latest component end. Earlier starts, earlier ends, or averages describe different questions. Netto uses successful outcomes, while Brutto includes terminal attempts for diagnosis. Averaging all commit observations and averaging the means of individual pull requests answer different questions. The first gives each commit equal weight. The second gives each pull request equal weight, even when pull requests vary in size.
The prototype separates the overall selection range from the granularity used for trends. A global result aggregates the underlying eligible events over the whole range. Averaging weekly results gives each eligible week equal weight, which can magnify a week with only one observation. For events spanning two windows, the default assigns the completed event to the following window. The configuration also separates eligible event time from the workable-time denominator. The Sunday release in the fixture counts towards deployment frequency, and the Sunday adds no workable hours.
Show the prototype’s performance tiers
The prototype includes DORA, Strict and Relaxed presets. The table shows the default choices from the exported design. Apply the bands in order from Elite through Low. Presets affect the badge and overview counts, while the underlying metric values stay the same.
| Metric | Elite | High | Medium | Low |
|---|---|---|---|---|
| Lead Time for Change | < 1 day | < 1 week | < 1 month | ≥ 1 month |
| Deployment Frequency | > 1/day | ≥ 1/week | ≥ 1/month | < 1/month |
| Change Failure Rate | ≤ 5% | ≤ 10% | ≤ 15% | > 15% |
| Mean Time to Restore (MTTR) | < 1 hour | < 1 day | < 1 week | ≥ 1 week |
The source’s four-metric performance panel shows one Elite metric (lead time), two High metrics (deployment frequency and recovery), and one Low metric (change failure rate). Deployment rework uses a separate status in the prototype.
Five deployments, five original commit records
The design’s worked fixture tracks five commits, four pull requests and five deployment events across 5–11 October. Two commits go out in D1, and D3 is a rollback with no newly delivered commit. A confirmed production incident, INC-01, follows D2. The trace records failure at 12:10 and restoration at 14:10 on 7 October. The fixture still includes D5 in the deployment total. Its hotfix label is a candidate signal, outside the 24-hour attribution window, and its rework classification remains unknown.
| Commit | PR | Original creation | Release | Lead time | Added | Removed |
|---|---|---|---|---|---|---|
| c1 | #123 | 5 Oct 08:00 | D1 | 2 h | 24 | 3 |
| c2 | #123 | 5 Oct 09:00 | D1 | 1 h | 18 | 11 |
| c3 | #124 | 6 Oct 12:00 | D2 | 24 h | 162 | 66 |
| c4 | #125 | 9 Oct 10:00 | D4 | 6 h | 310 | 145 |
| c5 | #126 | 10 Oct 10:00 | D5 | 24 h | 35 | 0 |
| ID | Version | End timestamp | Trace context |
|---|---|---|---|
| D1 | v1.4.0 | 5 Oct 10:00 | Initial fixture release |
| D2 | v1.4.1 | 7 Oct 12:00 | Linked to INC-01 |
| D3 | v1.4.0 (rollback) | 7 Oct 14:00 | Rollback for INC-01 |
| D4 | v1.5.0 | 9 Oct 16:00 | Feature release |
| D5 | v1.5.1 | 11 Oct 10:00 | Sunday release, unclassified rework |
A release, a commit and an incident have different grains. Joining a deployment to two commits creates two rows in a trace view and still represents one deployment. D3 appears in the deployment frequency and rework calculations even though it contributes zero new lines and no lead-time sample. The recovery interval ends when service is healthy again. In the worked fixture, HEALTH-01 provides that evidence ten minutes after the rollback’s deployment event.
In the source dashboard, each metric’s Traceability panel supports CSV export of the visible records. The downloads below copy the corresponding fixture rows. Commit IDs such as c1 and deployment IDs such as D3 identify the synthetic records in this post.
Eight definitions, calculated from the source fixture
The first five cards follow the DORA dimensions of throughput and instability. The prototype labels failed deployment recovery time Mean Time to Restore (MTTR). Its three additional measures use changed lines to describe volume or weight, even when the version count is constant. Treat those measures as descriptions of the workload. Generated files, lockfiles and binaries are excluded in the source convention, and modified lines are additions plus removals.
Lead Time for Change
Measure each newly delivered commit from its original creation timestamp to its first eligible production event. Group by original commit identity so a rebase or repeated promotion cannot add the same observation twice. The fixture also shows the median and sample standard deviation.
The five observations are 2, 1, 24, 6 and 24 hours. Their mean is 57 ÷ 5 = 11.4 h, the sample standard deviation is 11.7 h and the median is 6.0 h.
Show trace records (6)
| Commit | Pull request | Deployment Event (CI/CD) | Lead time | Sample |
|---|---|---|---|---|
| c1 · committed 5 Oct 08:00 | #123 | PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | 2 h | −9.4 h vs μ_L |
| c2 · committed 5 Oct 09:00 | #123 | PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | 1 h | −10.4 h vs μ_L |
| c3 · committed 6 Oct 12:00 | #124 | PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | 24 h | +12.6 h vs μ_L |
| c4 · committed 9 Oct 10:00 | #125 | PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | 6 h | −5.4 h vs μ_L |
| c5 · committed 10 Oct 10:00 | #126 | PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | 24 h | +12.6 h vs μ_L |
| — | — | PRO · v1.4.0 (rollback) · D3 · run 9100003 · 7 Oct 14:00 | — | no new commit |
μ_L = (2 + 1 + 24 + 6 + 24) / 5 = 57 / 5 = 11.4 h; σ_L = 11.7 h; median 6.0 h (diagnostic). The rollback D3 delivers no new commit, so it adds no sample.
Deployment Frequency
Divide the number of eligible deployment events by workable time. The coarse option counts one event per version, while the fine-grained view can examine component events. The fixture uses 8-hour weekdays. Its numerator includes the Sunday deployment and the rollback.
5 deployments in one week of 5 workable days → 1.00 per workable day (0.71 per calendar day).
Show trace records (5)
| Deployment Event (CI/CD) | Pull request | Commits included | Deployed at | Counted |
|---|---|---|---|---|
| PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | #123 | c1, c2 | 5 Oct 10:00 | +1 |
| PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | #124 | c3 | 7 Oct 12:00 | +1 |
| PRO · v1.4.0 (rollback) · D3 · run 9100003 · 7 Oct 14:00 | — | — (rollback) | 7 Oct 14:00 | +1 |
| PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | #125 | c4 | 9 Oct 16:00 | +1 |
| PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | #126 | c5 | 11 Oct 10:00 | +1 |
5 Deployment Events over 5 workable days (Mon–Fri, 8 h) = 1.00 per workable day. D5 landed on a Sunday: it counts, but Sunday adds no workable time.
Change Failure Rate
Link failure signals to the deployment that introduced the incident, using the configured time window and selected component scope. Collapse duplicate signals so a failed health check and an incident ticket for one release still contribute one failure.
D2 failed out of D1…D5 → 1 / 5 = 20%.
Show trace records (5)
| Deployment Event (CI/CD) | Pull request | Failure event | Source | Counted |
|---|---|---|---|---|
| PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | #123 | none | — | ok |
| PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | #124 | INC-01 · production error | Incident, confirmed 7 Oct 12:10 | failed +1 |
| PRO · v1.4.0 (rollback) · D3 · run 9100003 · 7 Oct 14:00 | — | none | — | ok |
| PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | #125 | none | — | ok |
| PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | #126 | hotfix label, 42 h after D4 | PR label (heuristic) | candidate only |
1 failed deployment out of 5 = 20%. The D5 hotfix label is outside the 24 h window and is not a confirmed failure.
Mean Time to Restore (MTTR)
For each eligible deployment failure, measure the interval from confirmed failure to restored service and take the mean. Fine-grained recovery can use component health. The coarse view waits for the relevant deployment event that returns all affected components to a healthy state.
Failure was confirmed at 12:10 and service recovered at 14:10. One completed recovery yields a mean of 2 h.
Show trace records (1)
| Failed Deployment Event | Failure Event | Restoration Deployment | Restoration Event | Time to restore |
|---|---|---|---|---|
| PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | 7 Oct 12:10 · INC-01 | PRO · v1.4.0 (rollback) · D3 · run 9100003 · 7 Oct 14:00 | 7 Oct 14:10 · HEALTH-01 | 2 h |
One restoration inside the range: mean 2 h. Coarse restoration: D3 is the first later deployment in which everything is green.
Deployment Rework Rate
Divide confirmed unplanned recovery deployments by all eligible deployments. A rollback for an earlier failure counts as rework, while the failed release and its rollback have separate roles in the two rates. Keep candidate rework visible until confirmed.
D3 is the confirmed rollback for INC-01. One confirmed recovery release out of five yields 20%, provisional while D5 is unclassified.
Show trace records (5)
| Deployment Event (CI/CD) | Pull request | Trigger | Classification | Counted |
|---|---|---|---|---|
| PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | #123 | planned release | planned | — |
| PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | #124 | planned release | planned | — |
| PRO · v1.4.0 (rollback) · D3 · run 9100003 · 7 Oct 14:00 | — | INC-01 rollback | unplanned | rework +1 |
| PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | #125 | planned release | planned | — |
| PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | #126 | hotfix label | unknown | unclassified |
1 of 5 = 20%, provisional while D5 is unclassified.
Modification Density
Sum additions and removals across the selected, deduplicated commit records and divide by workable duration. The design also shows density per calendar day, per commit and per pull request so a reader can see which denominator was selected.
774 modified lines over 5 workable days (Mon 5–Fri 9 Oct) → 154.8 LoC/day; 110.6 per calendar day, 154.8 per commit, 193.5 per PR.
Show trace records (5)
| Commit | Pull request | Deployment Event (CI/CD) | Added / removed | Modified LoC |
|---|---|---|---|---|
| c1 · committed 5 Oct 08:00 | #123 | PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | +24 −3 | 27 |
| c2 · committed 5 Oct 09:00 | #123 | PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | +18 −11 | 29 |
| c3 · committed 6 Oct 12:00 | #124 | PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | +162 −66 | 228 |
| c4 · committed 9 Oct 10:00 | #125 | PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | +310 −145 | 455 |
| c5 · committed 10 Oct 10:00 | #126 | PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | +35 −0 | 35 |
774 modified lines over 5 workable days (Mon 5–Fri 9 Oct) = 154.8 LoC/day. Alternatives: 110.6 per calendar day, 154.8 per commit, 193.5 per pull request.
Impactful Lead Time for Change
Weight each commit’s lead time by the number of lines it changed. Larger changes have more influence on the mean. The worked example retains the ordinary lead time nearby so a reviewer can see the effect of weighting.
Σ M·L = 9,125 LoC·h over Σ M = 774 LoC → 11.8 h, against the 11.4 h plain mean μ_L. The 455-line commit c4 alone carries 59% of the weight, so its 6 h and the 24 h of c3 dominate.
Show trace records (5)
| Commit | Pull request | Deployment Event (CI/CD) | Lead time × LoC | Weight |
|---|---|---|---|---|
| c1 · committed 5 Oct 08:00 | #123 | PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | 2 h × 27 | 3.5% |
| c2 · committed 5 Oct 09:00 | #123 | PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | 1 h × 29 | 3.7% |
| c3 · committed 6 Oct 12:00 | #124 | PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | 24 h × 228 | 29.5% |
| c4 · committed 9 Oct 10:00 | #125 | PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | 6 h × 455 | 58.8% |
| c5 · committed 10 Oct 10:00 | #126 | PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | 24 h × 35 | 4.5% |
Σ M·L / Σ M = 9125 / 774 = 11.8 h. The 455-line commit carries 59% of the weight.
Impactful Deployment Frequency
Sum the lines newly delivered by the eligible deployments and divide by workable time. Repeated delivery of identical lines contributes once. Under this fixture, the density and impactful frequency coincide because all eligible modifications ship within the selected window.
D1 56 + D2 228 + D4 455 + D5 35 = 774 LoC (the D3 rollback ships no new lines) over 5 workable days → 154.8 LoC/day, against a plain 1.00 deployment/day.
Show trace records (6)
| Deployment Event (CI/CD) | Commit | Pull request | Added / removed | Modified LoC | Share |
|---|---|---|---|---|---|
| PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | c1 · committed 5 Oct 08:00 | #123 | +24 / −3 | 27 | 3.5% |
| PRO · v1.4.0 · D1 · run 9100001 · 5 Oct 10:00 | c2 · committed 5 Oct 09:00 | #123 | +18 / −11 | 29 | 3.7% |
| PRO · v1.4.1 · D2 · run 9100002 · 7 Oct 12:00 | c3 · committed 6 Oct 12:00 | #124 | +162 / −66 | 228 | 29.5% |
| PRO · v1.4.0 (rollback) · D3 · run 9100003 · 7 Oct 14:00 | — (rollback, no new commits) | — | +0 / −0 | 0 | 0.0% |
| PRO · v1.5.0 · D4 · run 9100004 · 9 Oct 16:00 | c4 · committed 9 Oct 10:00 | #125 | +310 / −145 | 455 | 58.8% |
| PRO · v1.5.1 · D5 · run 9100005 · 11 Oct 10:00 | c5 · committed 10 Oct 10:00 | #126 | +35 / −0 | 35 | 4.5% |
Σ M_d = 774 LoC over 5 workable days = 154.8 LoC/day. Plain Deployment Frequency counts all five deployments equally (1.00/day).
In source accounting, the 455-line commit contributes 58.8% of the weight, yet its lead time is only 6 h. The 228-line commit waits 24 h. Both strongly influence the weighted mean, which is 11.8 h versus 11.4 h for the unweighted mean. Pairing these two measures tells reviewers which changes deserve a closer look. Counting changed lines as productivity would give a reformatted file the same status as a product improvement.
Project attribution in a monorepo
The original specification shows two mappings. In simple mapping, a changed path belongs to its owning project. In advanced mapping, a change to a shared project also affects its direct and indirect dependants. The depth can range from L0 (direct attribution only) to L* (all dependency depths), and the shortest path determines each project’s distance. When two paths reach the same project, the project contributes one affected record for that change.
This matters for the advanced metrics and for code-review conversations. A commit can bring work to several downstream projects, while the commit is still one unique event at repository level. Project totals can overlap. Keep the report’s mapping policy with any export, and compare the same project under the same policy across reporting windows.
Simulation and counterfactual comparison
The design asks whether a measured change is unusual relative to its own history. It takes about a quarter of daily observations, trains on the period preceding the held-out month and forecasts that last month. The forecast incorporates a trend and weekly seasonality. The interface displays 90%, 95% and 99% predictive bands, with 95% as the default decision level. The source describes a Stan model with four NUTS chains and a convergence gate of R̂ below 1.01. The exported animation uses an illustrative browser calculation to teach that workflow.
The source contrasts ordinary variation (Scenario A) with a pipeline change (Scenario B). In the dashboard’s synthetic forecast trace, the four weekly predicted values are 9.3, 9.2, 9.1 and 9.0 h, while the observed values are 6.8, 6.5, 6.3 and 6.0 h. The original prototype flags the lead-time improvement outside 99%. The next step in a real investigation would be to check the release, workload and incident traces for corroborating evidence.
Show trace records (4)
| Week | Predicted (Stan median) | Factual | Delta | Delta % |
|---|---|---|---|---|
| Sep 29 | 9.3 h | 6.8 h | -2.5 h | -26.9% |
| Oct 6 | 9.2 h | 6.5 h | -2.7 h | -29.3% |
| Oct 13 | 9.1 h | 6.3 h | -2.8 h | -30.8% |
| Oct 20 | 9.0 h | 6.0 h | -3.0 h | -33.3% |
Each week links back to the Lead Time for Change records of that week. All four weeks fall below the 99% band: an impactful improvement.
Joint simulations and direct associations
Changes in lead time and change failure rate can be related. The original design therefore compares a vector of standardised shifts with a reference ellipsoid, using the inverse of the metrics’ correlation matrix. The Stan specification proposes an LKJ(2) prior for that matrix. The two-dimensional example uses lead time and change failure rate, with a correlation of 0.46. The three-dimensional example adds recovery time. A four-dimensional chapter adds deployment frequency.
Two dimensions
The aggregate shift is (−3.1, −0.4). With a correlation of 0.46, the squared distance is approximately 10.95. It exceeds the 99% threshold of 9.21.
Show trace records (4)
| Week | z LTfC | z FR | d² | Verdict |
|---|---|---|---|---|
| Sep 29 | -0.8 | -0.2 | 0.68 | inside 90% |
| Oct 6 | -1.6 | -0.3 | 2.80 | inside 90% |
| Oct 13 | -2.4 | -0.4 | 6.39 | outside 95% |
| Oct 20 | -3.1 | -0.4 | 10.95 | outside 99% |
Each week links to the Lead Time for Change and Change Failure Rate records of that week. χ²₂ thresholds: 4.61 · 5.99 · 9.21.
Three dimensions
The aggregate shift is (−3.1, −0.4, −0.6). Its squared distance of 11.28 falls between the 95% threshold of 7.81 and the 99% threshold of 11.34.
Show trace records (4)
| Week | z LTfC | z FR | z MTTR | d² | Verdict |
|---|---|---|---|---|---|
| Sep 29 | -0.8 | -0.2 | -0.3 | 0.68 | inside 90% |
| Oct 6 | -1.6 | -0.3 | -0.4 | 2.85 | inside 90% |
| Oct 13 | -2.4 | -0.4 | -0.5 | 6.57 | outside 90% |
| Oct 20 | -3.1 | -0.4 | -0.6 | 11.28 | outside 95% |
χ²₃ thresholds: 6.25 · 7.81 · 11.34. The last week is outside 95% but just inside 99%.
The correlation view makes the next question explicit. Compare the ordinary Pearson correlation with the partial correlation after accounting for the other included metrics. The prototype draws an edge when the absolute partial correlation exceeds approximately 0.21 for a 90-day history. For example, lead time and modification density go from +0.44 to +0.12 after adjustment, below the edge threshold. The four displayed edges are hypotheses for reviewing release and incident evidence.
Show trace records (10)
| Metric pair | Expected | Pearson ρ | Partial ρ | Edge |
|---|---|---|---|---|
| LTfC–FR | positive | +0.52 | +0.31 | direct link |
| LTfC–DF | negative | -0.47 | -0.35 | direct link |
| LTfC–MTTR | positive | +0.41 | +0.27 | direct link |
| FR–MD | positive | +0.48 | +0.33 | direct link |
| LTfC–MD | positive | +0.44 | +0.12 | indirect |
| FR–MTTR | positive | +0.29 | +0.06 | indirect |
| FR–DF | negative | -0.26 | -0.04 | indirect |
| MTTR–DF | negative | -0.22 | +0.03 | indirect |
| MTTR–MD | positive | +0.18 | +0.02 | none |
| DF–MD | negative | -0.15 | -0.05 | none |
At the 0.21 threshold, four direct associations remain. The two examples that fall below the threshold after adjustment are lead time with modification density and change failure rate with recovery time.
The design ties four things together—configuration, a calculation, its evidence and a decision. A team looking at the higher change failure rate can check which release triggered action, how many deployments form the denominator and whether the same counting rule applied in the comparison period. The forecast then adds context about how unusual the shift is for that service.
Method references DORA’s software delivery performance metrics, DORA’s metric history, the Stan User’s Guide and Vehtari et al. on R̂ and effective sample size.