pub fn compute_efficiency( db: &Database, period: &str, model_filter: Option<&str>, ) -> Result<EfficiencyReport>