-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path01_platform_benchmark.sql
More file actions
30 lines (29 loc) · 909 Bytes
/
Copy path01_platform_benchmark.sql
File metadata and controls
30 lines (29 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-- Platform Enforcement Reliability Audit
-- Platform benchmark: scale, automation, appeals and intensity.
SELECT
platform,
enforcement_volume,
ROUND(
100.0 * automated_detection_volume / NULLIF(enforcement_volume, 0),
2
) AS automation_exposure_pct,
complaints_received,
decisions_reversed,
ROUND(
100.0 * decisions_reversed / NULLIF(appeals_resolved, 0),
2
) AS reversal_rate_resolved_pct,
ROUND(
1000000.0 * enforcement_volume / NULLIF(active_users, 0),
0
) AS measures_per_million_users,
ROUND(
1000000.0 * complaints_received / NULLIF(active_users, 0),
0
) AS complaints_per_million_users,
ROUND(
100.0 * severe_restrictions_reported / NULLIF(enforcement_volume, 0),
2
) AS severe_restrictions_per_100_measures
FROM platform_summary
ORDER BY enforcement_volume DESC;