Reports
Reports are a first-class concept in Workbench: multi-page, lint-checked PDF documents composed from reusable analysis sections, stored in S3 via ReportStore, linked directly to Workbench artifacts, and served inline in the Workbench Dashboard.
How Reports Fit Together
- Compose a multi-page PDF with
workbench.reports.Reportand built-in analysis sections (Data Quality,Model Readiness,Model Performance,Data Comparison,Bateman PK Quality,Archive Intake, or your ownPaginatorpages). Backing row-level tables are automatically published toDFStoreunder/reports/<name>/<frame>. - Store PDFs in any logical namespace with
ReportStore()(backed bys3://<WORKBENCH_BUCKET>/reports/), mirroringDFStore. - Link zero to many reports on any Workbench artifact (
DataSource,FeatureSet,Model,Endpoint) viaartifact.add_report(location)andartifact.get_reports(). - Auto-Generate reports automatically when artifacts are onboarded:
DataSource&FeatureSet-> Auto Data Quality (including Target Health, Noise Floor, and Model Readiness)Model-> Auto Model Performance (regression metrics/charts or classifier metrics/confusion matrix)- View in the Dashboard: every artifact's details panel displays clickable PDF links served inline via
GET /report/<location>.
Report Submodules & Sections
| Submodule / Section | Entry Point | What It Covers |
|---|---|---|
| Data Quality | sections.data_quality, data_quality_report |
Missing values, non-finite/unparseable values, IQR/log outliers + box plots, duplicates, constants, target health, and replicate noise floor |
| Model Readiness | Embedded in sections.data_quality, model_readiness |
5-fold OOF probes (XGBoost MSE/Huber, Ridge, kNN), Y-scramble baseline, chemical semivariogram, local R² ceiling, learning curve, metadata shifts, and compound triage |
| Model Performance | sections.performance, model_performance_report |
KPI tiles (R², RMSE, MAE, Spearman; log-scale GMFE / within 2x, 3x, 10x), predicted vs. measured, residuals, group breakouts, and largest-error rows |
| Data Comparison | sections.comparison, compare_keyed |
Keyed two-frame audit: overlap Venn, one-sided breakouts, value mismatches, and row-level triage |
| Bateman PK Quality | sections.bateman_quality, bateman_quality |
Oral/IV 1-compartment PK consistency on the dimensionless Bateman manifold (\(y = e^{-x}\)) with unit-mismatch and non-1-compartment triage |
| Archive Intake | sections.archive, Archive.read |
Audits raw S3/local file collections: files read vs. unreadable counts and per-file failure reasons |
| Auto Reports | workbench.reports.auto_report, artifact.generate_auto_report() |
Automatic Auto Data Quality (DataSource/FeatureSet) and Auto Model Performance (Model) generation on onboard() |
Quick Example
from workbench.api import DataSource, Model, ReportStore
from workbench.reports import Report, sections
from workbench.utils.pandas_utils import data_quality
# 1. Build a custom report
ds = DataSource("aqsol_data")
dq = data_quality(ds.sample(), key="id", target="solubility")
report = Report(
"AqSol Data Quality",
summary="Sample quality and model readiness review for aqsol_data.",
filters=["DataSource: aqsol_data", "Target: solubility"],
)
report.add(sections.data_quality(dq, title="Data quality", about="aqsol_data"))
# 2. Store in ReportStore (publishes PDF to S3 and detail frames to DFStore)
store = ReportStore()
location = store.upsert("/aqsol/data_quality", report)
# 3. Link to any Workbench artifact(s) — immediately visible in the Dashboard
ds.add_report(location)
Model("aqsol-regression").add_report(location)
Guides in This Section
- Report Store — storing, listing, retrieving, and sharing PDFs in S3
- Auto Reports — automatic
Auto Data QualityandAuto Model Performancelifecycle and Dashboard integration - Report Sections — detailed reference for every built-in report submodule and authoring custom sections
Questions?

The SuperCowPowers team is happy to answer any questions you may have about AWS® and Workbench.
- Support: workbench@supercowpowers.com
- Discord: Join us on Discord
- Website: supercowpowers.com