Fast and almost free. Runs every morning on every project.
-- routines that spend credits but find nothing select routine_id, count(*) from runs where credits > 0 and findings = 0 and started_at > now() - interval '7 days' group by routine_id having count(*) >= 5