Skip to content

Add DORA scores calculation logic

What does this MR do and why?

This MR adds DORA scores calculation logic based on each dora::daily_metrics update. No user facing changes yet. This MR is part of #386844 (closed)

How to set up and validate locally

  1. Refresh daily metrics for given production environment with Dora::DailyMetrics.refresh!(prod, Date.today)
  2. Check that Dora::PerformanceScore.where(project: prod.project, date: Date.today).first exists.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #386844 (closed)

Merge request reports