parity

command
v0.0.0-...-09d6bc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Command parity captures and compares the observable surface of a CostCrew installation, so a Go implementation can be held against the Python one.

The oracle is deliberately the HTTP surface rather than any function API: it is the only contract both implementations must agree on, and it covers routing, templates and the engine's arithmetic in a single pass.

parity capture -base http://127.0.0.1:8422 -out captures/py
parity compare -a captures/py -b captures/go

A capture is only trustworthy if capturing the SAME implementation twice produces the same bytes. `parity selfcheck` asserts exactly that, and it is the first thing to run after changing a normalisation rule.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL