This repository contains lightweight Python tools designed to estimate the cost avoidance and Return on Investment (ROI) generated by open source design systems.
It contains two distinct analyses:
This analysis focuses exclusively on the value generated by USWDS across the federal government, utilizing highly defensible, first-party telemetry rather than open source proxy metrics.
scc on the core USWDS repository, actively excluding vendor libraries while including all End-to-End automated testing suites).

To generate the USWDS specific charts and command-line report:
python uswds_federal_savings.py
Because live domain telemetry is rarely available for other government systems, this secondary analysis uses open source proxy metrics (GitHub Forks + NPM Dependents) to compare USWDS against the UK Government (GOV.UK) and the New York State Design System (NYSDS).
Data reflects the current baseline configuration in the comparison script.
| Design System | Base Reproduction Cost | GitHub Forks | NPM Dependents | Total Reuses |
|---|---|---|---|---|
| USWDS | $1,370,828 | 1,100 | 40 | 1,140 |
| GOV.UK | $1,122,301 | 369 | 127 | 496 |
| NYSDS (New York) | $339,456 | 4 | 3 | 7 |


To generate the comparative charts and command-line report:
python compare_civic_design_systems.py
Ensure you have Python 3 installed on your machine. You will also need the matplotlib and numpy libraries for generating the comparative charts.
pip install matplotlib numpy
Both scripts (uswds_federal_savings.py and compare_civic_design_systems.py) are designed to be easily configurable. Open the files and modify the values in the CONFIGURATION blocks at the top. The scripts contain comments with the exact scc commands and source URLs needed to pull fresh, accurate baseline costs.