Date logic
Reporting Window Builder
Create fiscal, rolling, custom, and like-for-like comparison periods without hidden date arithmetic.
- Inclusive day counts
- Fiscal quarter alignment
- Leap-year warnings
Local CSV change audit
Compare two CSV extracts locally in your browser. No uploads, accounts, or analytics.
Runs locally in your browser. No uploads, accounts, or analytics.
New: save a monthly check and explain its count changes
Open toolkit
Define the period, verify what changed, then test whether capacity can absorb the work. Each utility can stand alone.
Date logic
Create fiscal, rolling, custom, and like-for-like comparison periods without hidden date arithmetic.
Data quality
Compare two CSV extracts in your browser and separate schema drift from added, removed, and modified records.
Operations
Compare current capacity with a proposed change and see the implied backlog and queue-wait trajectory.
Conformance
Compare aggregate pipeline outputs with versioned synthetic edge-case contracts without uploading the files.
Deliberate boundary
The toolkit is not a submission engine, clinical system, queueing simulation, or replacement for local policy. It makes a narrow set of calculations inspectable and reproducible.
For deterministic reporting test cases, see the companion Health Data Edge Cases project.
Tool 01 · Date logic
Turn an as-of date into an explicit current period and a defensible comparison period.
Choose a period and comparison method. The result will show exact inclusive boundaries and flag calendar differences.
Current period
— —Comparison period
— —| Period | Start | End | Inclusive days |
|---|---|---|---|
| Current | — | — | — |
| Comparison | — | — | — |
Dates are calculated as calendar dates in UTC to avoid daylight-saving shifts. Day counts include both the start and end date.
Like-for-like comparison subtracts one calendar year from each boundary and clamps February 29 to February 28 when required. It does not adjust for holidays, weekdays, fiscal calendars with 4-4-5 periods, or local reporting exclusions.
Tool 02 · Data quality
Compare two CSV snapshots and distinguish schema drift from record-level change.
Use your own files or the synthetic example. Shared non-key columns are compared as text after optional trimming.
Showing material differences
| Key | Status | Changed fields | Detail |
|---|
Added or removed schema columns are reported separately and do not make every record appear changed. Only columns present in both files are compared at record level.
Duplicate and blank keys are excluded rather than guessed. Values are compared as text; inferred type shifts are screening signals, not a formal schema. CSV exports prefix spreadsheet formula characters to reduce formula-injection risk.
Comparison runs in a same-origin browser worker. The interface retains only aggregate findings, a 100-record preview, source fingerprints, and—when it fits—a complete change-log download. Downloads above 250,000 detail rows or 48 MB are refused rather than silently truncated.
Tool 03 · Operations
Make the backlog consequence of demand and service capacity visible before committing to a plan.
People remaining after each week
Target assessment
| Week | Current backlog | Planned backlog | Planned wait |
|---|
The model adds a constant average number of referrals each week, serves up to the available capacity, and carries remaining work forward. The wait proxy is backlog divided by that week's service capacity. Sustainable capacity is never reported below average weekly arrivals under these assumptions.
It assumes a single queue, no prioritization, no cancellations, no seasonality, no capacity variation, and no differences in case complexity. Validate any decision with local distributions, staffing constraints, and patient-level flow.
Tool 04 · Conformance
Test aggregate outputs from another reporting stack against one versioned, synthetic Health Data Edge Cases contract.
Use your own aggregate outputs or one of the synthetic examples. The checker requires the complete expected key set and exact integer values.
Showing result differences
The detailed CSV can contain operational keys and values. Review it before storing or sharing it.
| Type | Key | Status | Expected | Actual |
|---|
Selected synthetic contract
A pass proves only that these two exports match this synthetic case. It does not certify the pipeline, source data, or untested logic.
Column names and order must match the public external-results contract exactly. Keys cannot be blank or duplicated. Values must be whole-number text without decimals, exponents, NaN, or infinity. Missing, unexpected, and incorrect results all prevent a match.
The checker reads only aggregate result exports. Do not select patient-level source data. Detailed diagnostics can contain operational identifiers and values; analysis receipts deliberately omit them. Source hashes are linkable fingerprints, not anonymization.
Audit utility · Reproducibility
Check an existing toolkit receipt for internal consistency, replay supported calculations, and optionally match its source fingerprints.
Select a toolkit analysis receipt or load the synthetic example. The file stays in this browser tab.
—
—
| Role | Recorded bytes | Selected file | Result |
|---|
“Internally consistent” means the receipt structure, recorded digest, and any supported replay agree. It does not authenticate the receipt, its creator, or its timestamp, and it does not prove that unselected source files match their fingerprints.
The inspector recognizes published receipt profiles from toolkit versions 0.2.0 through 0.8.0. Reporting-window and capacity receipts are recalculated; extract and conformance receipts are checked by schema, digest, and optional exact source-file fingerprints.
Source verification compares the selected file’s exact byte count and SHA-256 digest. A match does not establish where the file came from or whether its contents are appropriate for a real decision.