Guide/Reference
Glossary
2 min readFrom the README
- CGSE (Canonical Graph Semantics Engine). The Rust crate (
fnx-cgse) and runtime policy machinery (fnx-runtime) that pin tie-break policy and emit complexity witnesses. - Complexity witness. A
ComplexityWitness { n, m, dominant_term, observed_count, policy, seed, decision_path_blake3 }receipt emitted per algorithm execution, drainable from aWitnessLedgerfor audit. - Compatibility mode (Strict vs Hardened). Two-mode runtime contract: Strict fails closed on malformed input; Hardened applies bounded recovery and records every recovery as a
DecisionRecord. - Conformance harness. The
fnx-conformancecrate; replays curated graph fixtures through fnx and the legacy NetworkX oracle, emitting a structured report underartifacts/conformance/latest/. - Coverage matrix. The
docs/coverage.mdledger, auto-generated from pinned NetworkX 3.6.1 byscripts/generate_coverage_matrix.py. It classifies 4,926 qualified paths as present, partial, missing, n/a, or reasoned excluded, reports per-family strict coverage, and retains thefranken_networkx.__all__route analysis as an appendix. - Decision-path hash (
decision_path_blake3). A length-prefixed Blake3 hash of the sequence of tie-break decisions an algorithm made. Used to detect non-determinism. - Delegation ledger.
docs/delegation_ledger.md; enumerates every_call_networkx_*_for_parityroute (public exports that intentionally fall back to NetworkX for specific argument shapes). - Fail-closed. A policy choice in
fnx-runtime: on uncertain input, raise rather than guess. The default in Strict mode. - PY_WRAPPER / RUST_NATIVE / NETWORKX_HELPER. The three runtime-route categories in the coverage matrix's runtime ledger.
- RaptorQ sidecar. An RFC 6330 erasure-coded shadow file written alongside a long-lived artifact (conformance bundle, perf baseline, migration manifest). Combined with a scrub report and a decode-proof receipt to make the artifact self-healing.
- TieBreakPolicy. The 13-variant Rust enum in
fnx-cgsethat pins how an algorithm resolves equally-correct choices. - Upstream divergence ledger.
docs/upstream_divergence_ledger.md; unified record ofnative-parity,wrapper-patched,intentionally-delegated,raw-known-gap, andowner-acknowledged-limitationrows. - Witness ledger. A scoped collector inside
fnx-cgse; you push an algorithm execution into it and drainComplexityWitnessreceipts at the end of a scope.