Skip to main content

Parity testing

Behavioral parity is defined across three layers: Excel (reference), FormulaEvaluator, and standalone exported packages. Shared semantics live in excel_grapher/exporter/export_runtime/ so the evaluator and generated packages stay aligned. Function-level tests use FormulaEvaluator (tests/integration/utils/parity_harness.py). Evaluator ↔︎ export for packages uses inverted-tree generate_modules with series bindings. Evaluator ↔︎ Excel checks use values saved in the workbook and, when automation is available, live recalculation via xlwings that require Excel should run when automation works and pytest.skip otherwise (see tests/integration/evaluator/test_golden_master.py).