Spaces:
Sleeping
Sleeping
File size: 412 Bytes
30bce81 b3cf2ce 30bce81 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
def coverage_summary(results):
"""
Aggregate-only coverage summary.
No tracking, no per-user analytics.
"""
counts = {}
for r in results:
agency = r.get("agency", "Unknown")
counts[agency] = counts.get(agency, 0) + 1
return [
{
"Agency": agency,
"Result Count": count
}
for agency, count in sorted(counts.items())
] |