pomelo-audit
Read-only data-quality audit of a pomelo data-layout tree — part of citrusquant.
Given a synced prices/ / fundamentals/ / panels/ / tracked/ tree,
run_data_audit answers "is this clean enough to trust a backtest?" — turning
"high-quality data" from a claim into a measurement: coverage, calendar gaps,
adjustment sanity, survivorship, NaN density, filing-date lag, and index
membership, each reported as an OK / WARN / FAIL verdict.
Storage-agnostic: it takes any ObjectSource + ObjectLister, so it audits a
local tree or an S3/R2 tree identically. No network beyond the source's own
reads, no engine run — it reuses the pomelo-data loaders and returns a
serializable DataAuditReport any front end can render (the yuzu-cli data-audit CLI is a thin shim that maps a FAIL to a non-zero exit).
See the data sources overview.
License
MIT