Overview
All benchmark data is computed from live PostgreSQL aggregation queries against thenil_deals table. No hardcoded values, no fake data.
Three Comparison Scopes
Core Aggregation Helper
The_agg() function runs a single SQL query with all filters applied:
Percentile Calculations
The grid endpoint uses PostgreSQL’s nativepercentile_cont() function:
Filter Support
Every endpoint accepts and respects these filters:
All filters apply to all three scopes (school, conference, peer) simultaneously.
Data Anonymization
Per the product spec, benchmarks anonymize cross-institution data:- Conference and peer data show only aggregated statistics (AVG, SUM, percentiles)
- Individual university names, athlete names, and deal details are never exposed in benchmark responses
- Only the user’s own school data is identifiable