Refactor report builders behind a DataSource abstraction
Refactor report builders behind a DataSource abstraction: a task in bird-critic-1.5-full-300 (Harbor dataset). The existing CountReportBuilder and AverageReportBuilder had SQL logic inlined and were selected by a metric-name case statement in the base builder. This task refactors the reporting…
The task
The existing `CountReportBuilder` and `AverageReportBuilder` had SQL logic inlined and were selected by a metric-name case statement in the base builder. This task refactors the reporting layer so that a single `V2::Reports::Timeseries::ReportBuilder` replaces both, delegating data retrieval to a…
Part of kochsnow/bird-critic-1.5-full-300.