Methodology & Accounting Rules
How we reconcile California state expenditure files, align budget authorities, compare equivalent fiscal periods, and surface statistical observations using strictly neutral rules.
Reconciliation & Budget Alignment Principles
Public financial datasets require careful accounting discipline so users are never misled by incompatible definitions or silent row overwrites:
- Exact Cents Reconciliation: Every imported CSV is summed in integer cents across three buckets:
grossPositiveCents,refundAdjustmentCents, andnetCents. Import runs must verifyrawNetCents === normalizedNetCents. - Why Enacted Budget Ratios Are Excluded: Per the California Department of Finance and Open FI$Cal FAQ, Open FI$Cal reports modified-accrual/cash expenditures for 153 departments (~79% of state spending) and includes interdepartmental transfers, whereas
ebudget.ca.govreports Budgetary-Legal enactments including unliquidated encumbrances. Dividing one by the other produces invalid percentages. Instead, we break down spending by the alignedbudget_reference_category(Budget Actvs.Non-Budget Act),budget_reference_sub_category(State Operations,Local Assistance), andfund_groupfields embedded on each FI$Cal line. - Concentration (HHI) on Gross Positive Spend: Herfindahl-Hirschman Index (HHI) and recipient share metrics are computed strictly on positive gross expenditures so negative accounting reversals cannot distort market-share denominators.
Analytical & Statistical Rules
Below are the neutral reconciliation and statistical rules active in v2 of the explorer.
Multi-line voucher / adjustment observation
v2Plain language:
Multiple accounting distributions or negative reversals sharing the same FI$Cal document_id.
What it means:
In FI$Cal, a single payment voucher (document_id) is frequently split across multiple funds, service locations, or reversed and re-entered during journal reconciliation.
Exact rule:
Preserve every line via deterministic SHA-256 content key (fiscal_{type}_fy{YYYY}p{PP}_{docId}_{hash12}); separate positive gross cents from negative refund/adjustment cents and verify gross + refunds == net.
What is shown:
All constituent lines sharing the document_id, including negative reversals and $0 clearing entries.
Not an allegation: Reversals and multi-line vouchers are standard double-entry and modified-accrual accounting operations, not duplicate payments or errors.
Comparable-period fiscal variance
v2Plain language:
Year-over-year comparison restricted to identical fiscal periods (e.g., Period 02 August and Period 11 May in FY2024–25 vs. FY2025–26).
What it means:
Comparing a full 12-month fiscal year against an in-progress fiscal year (or mixing calendar years with July–June fiscal years) creates artificial drops or spikes. We align identical period numbers before computing period-over-period variance.
Exact rule:
Group records by fiscalYearBegin and fiscalPeriod; compute YoY delta only across matching fiscalPeriod integers where both fiscal years have published files.
What is shown:
Period-by-period gross positive spend, negative adjustments, net total, and percentage delta.
Not an allegation: Period-over-period shifts often reflect appropriation timing, federal grant drawdowns, or bond disbursement schedules.
Statistical distribution outlier (Z-Score & IQR)
v2Plain language:
Individual voucher lines whose dollar amount lies more than 3 standard deviations from the dataset mean or outside 1.5x the interquartile range.
What it means:
State expenditure distributions are heavily right-skewed because large local-assistance transfers, university allocations, and bond debt service share the same ledger as routine operating expenses.
Exact rule:
Compute sample mean, standard deviation, Q1, and Q3 across positive expenditure lines; flag lines where |z| > 3.0 or amount > Q3 + 1.5 * IQR.
What is shown:
Show the exact transaction line, department, fund group, and statistical z-score alongside median and mean metrics.
Not an allegation: High-value lines in state finance typically represent statutory local assistance, Medi-Cal/CalWORKs transfers, or infrastructure allocations — never evidence of impropriety.
What statistical observations are NOT
- ✗Not allegations of corruption, fraud, waste, or illegality. Observations describe mathematical distributions only.
- ✗Not audits or investigations. We surface official public ledger lines with their original IDs and source links so researchers can inspect context directly.