convexent
Blog

Validation

A Financial Model You Can Test

Nicholas Hilton Co-Founder & Head of AI 5 min read

A spreadsheet will render a number even when the logic underneath it has drifted. A driver can invert a sign, a debt schedule can stop tying to cash flow, or a copied formula can skip a column—and the workbook still looks finished until someone catches the mistake by hand.

Because Simplex and Echelon represent financial models and close workflows in code, validation runs as a deterministic test suite on every build. Before a workbook or board pack is ever exported, more than 70 checks verify accounting identities, sign conventions, dependency graphs, and economic bounds—blocking broken builds and returning exact diagnostics to fix.

Validation is how the model tells you when not to trust it

When a check fails in Convexent, it does not produce a vague warning to "review the sheet." It identifies the exact invariant that broke, the period and line item involved, and the upstream expression responsible—giving both the agent and your finance team a concrete failure to resolve before the numbers reach a decision.

Deterministic Validator Suite
70+ checks on compile
Validator & invariant What it catches Gate
Balance sheet reconciliation abs(total_assets - (total_liabilities + total_equity)) <= $1
Enforces balance across every historical and forecast period without plug rows. Pass
Cash flow bridge tie-out ending_cash == prior_cash + operating_cf + investing_cf + financing_cf
Verifies that working capital movements, capex, and debt draws reconcile to ending cash. Pass
PP&E and debt rollforwards ending_net_ppe == opening_ppe + capex - depreciation
Catches schedules where capital additions or principal repayments drop out of the balance sheet. Pass
ƒ Example failure caught before export · Unlinked capex addition Auto-remediated in harness

2027-Q2 balance_sheet_balance: Δ $800.0k (expansion capex in Cash Flow missing from Fixed Assets rollforward)

Build blocked → Capex schedule wired to PP&E additions → Re-compiled (0.0 variance)

Validator & invariant What it catches Gate
Sign convention enforcement sign(cost_line) matches declared economic polarity
Prevents a cost, contra-revenue, or cash outflow expression from flipping sign and inflating EBITDA. Pass
Implied segment margin floor implied_fixed_price_margin >= 0.20 and <= 1.00
Catches top-down blended margin targets that silently push a single segment negative. Fail (caught)
Positive liquidity constraint ending_cash[t] > 0 across all forecast quarters
Flags unfinanced cash troughs automatically so funding requirements are explicit. Pass
ƒ Example failure caught before export · Inverted sign on commission expense Auto-remediated in harness

2026-Q3 sign_convention: sales_commission evaluated positive (+$18.4k) in OpEx subtraction chain

Build blocked → Sign polarity standardized → Re-compiled and verified

Validator & invariant What it catches Gate
Acyclic dependency graph topological_sort(metric_graph) has 0 cycles
Finds direct or multi-hop circular references before they become iterative Excel loops. Pass
Scenario differentiation & dead drivers diff(branch_a, branch_b) != 0 and ref_count(assumption) >= 1
Ensures scenario branches actually move downstream outputs and no assumption sits disconnected. Pass
Source provenance completeness every historical_actual and calibrated_driver has source_ref
Verifies that extracted actuals and derived ramps remain pinned to their source document and sheet. Pass
ƒ Example failure caught before export · Dead scenario driver Auto-remediated in harness

branch se-hire-high: assumption new_site_count declared (=24) with 0 downstream formula references

Build blocked → Cohort capex & revenue wired to new_site_count → Re-compiled

Validators run automatically on every compile and scenario edit—checking accounting identities, sign conventions, economic floors, and dependency hygiene before generating the Excel workbook.

Inspect a complete validated model in Excel

To make this concrete, we publish a complete synthetic operating model for Acme Corp (an invented B2B services and production business, so we can share the raw CRM input file and the compiled multi-sheet Excel workbook publicly). Across 22 quarters of actuals and 10 forecast quarters, every statement cell is a live Excel formula, and a dedicated Tests tab inside the workbook evaluates all 70 assertions directly in Excel.

Acme Corp — Reference Operating Plan (Synthetic) 2021-Q1 – 2028-Q4 · 9 sheets · All checks passing
70 / 70 checks passing

Invariants declared inside the model and evaluated on every build. Zero errors, zero failures.

5,610 live Excel formulas

Against 476 literal values — and those sit only on Inputs and the actuals block. Every statement sheet is formula, end to end.

32 quarters modelled

22 quarters of actuals (2021-Q1 to 2026-Q2), then 10 forecast quarters driven by the assumptions and the pipeline.

Declared model invariants (7 families × 10 forecast quarters) 70 / 70 passing
01
Balance sheet balances Assets less liabilities less equity, bounded to ±$1. A model that does not balance fails the build.
10 / 10 qtrs
02
Ending cash stays positive Cash never goes negative across the forecast — the failure a plan is most often quietly wrong about.
10 / 10 qtrs
03
Revenue positive and plausible Bounded above as well as below, so a runaway driver is caught rather than admired.
10 / 10 qtrs
04
Blended gross margin at or above target The margin the plan is built to defend, asserted per quarter rather than checked once by eye.
10 / 10 qtrs
05
Implied fixed-price margin at or above floor Solving fixed-price COGS to hit a blended target can silently push one segment negative. This catches it.
10 / 10 qtrs
06
Implied fixed-price margin between 0% and 100% A sanity bound. Cheap to state, and it fails loudly the day an upstream assumption inverts.
10 / 10 qtrs
07
T&M share of revenue within bounds Holds the revenue mix inside the range the unit economics were derived from.
10 / 10 qtrs
Download the compiled 9-sheet Excel workbook and the raw 30-deal CRM pipeline CSV to inspect the live formulas and the in-sheet Tests tab yourself.

Confidence is a loop

Passing deterministic checks does not guarantee that a forecast will come true—no software can predict the market for you. What it guarantees is that your model is internally consistent, faithful to its sources, and free of silent mechanical errors before you stake an operating or board decision on its numbers.

See your models as code

Watch Convexent build a traceable, validated operating model from your documents.