Commercial-trucking insurance & safety intelligence — carrier data, a proprietary risk score, and the full broker → underwriting → claims workflow, in one platform.

Live production data
By the numbers
As of 22 June 2026
The scale of work

A comprehensive, production-grade insurance platform: ~170,000 lines of code across a Python web service, two native iOS apps, and an actuarial scoring engine — serving a live database that scores every USDOT-registered motor carrier in America against 12.7 million federal safety records, refreshed every week.

170K
Lines of code
across 642 files
345
API routes
259 JSON endpoints
1.15M
Carriers scored
refreshed weekly
12.7M
Safety records
FMCSA, live
6.85GB
Production DB
51 tables · ~23M rows
130
Capabilities
across 15 modules

Codebase

measured from the git repository
Total lines of code170,007
Python (backend + ML)83,465 · 142 files
Swift (iOS)26,791 · 166 files
HTML / Jinja templates37,723 · 74 files
JavaScript19,559 · 32 files
Commits · timespan444 · ~4.7 mo
17 blueprint modules · 23.2Kcore lib · 13.5Kdata/ops scripts · 18.6Kscoring engine · 9.3K

API & backend

Flask route surface
HTTP routes345
JSON API endpoints259 · 75%
Server-rendered pages86
Distinct API groups28
Blueprint modules17
HTTP methods5
admin · 54underwriter · 46carrier · 43FRED app · 37applications · 36auth · 36

Production database

live PostgreSQL · pulled 22 Jun 2026
Total size6.85 GB
Tables · total rows51 · ~23M
Carriers scored (FRED)1,154,132
Roadside inspections5,782,056
Safety violations6,677,775
Reportable crashes258,474
SMS census · 2.08MBASIC scores · 2.11Mscore history · 3.34M17 migrations

FRED Score engine

actuarial + machine learning
Carriers scored weekly1.15M
Scoring-engine code9,344 lines
Out-of-time Gini≈ 0.41
Mathematical whitepaper8 pages
Published study pages~10
Bühlmann–Straub Empirical Bayesdual-head XGBoostTweedie + Poissonwithin-band O/E calibration50-carrier audit harness

Platform scope

what it actually does
Product capabilities130 · 15 modules
Distinct user roles~13
UI templates74 · 9 dashboards
Native iOS apps2 · 76 views
Insurance forms library71
BrokerUnderwritingClearanceClaimsActuarialLoss runsManager analyticsHelp desk

Infrastructure & security

hardened, automated, two-environment
Production server18 cores · 96 GB
Hermetic environments2 · prod + sandbox
Pipeline cadenceWeekly · auto
2FA / TOTPWebAuthn passkeysQR cross-device loginPII encryption at restClamAV2-layer rate limitingCI-gated deploysFMCSA live lookups