Sweep all 296 v2 modules: simplify verbose docstrings/comments and remove 376 dangling "(design_vN §X)" citations to the now-deleted design docs (v2/README.md is the source of truth). Comment/docstring-only — AST-verified code-identical; the CPU suite holds at 237 passed / 5 pre-existing. Also applies yapf + ruff --fix auto-fixes (import ordering, forward-ref annotation de-quoting under `from __future__ import annotations`; behavior- neutral, suite-confirmed) and adds the legitimate domain terms mot/clen/te to the codespell ignore-list. Remaining ruff (24) + mypy (68 no-untyped-call) findings are pre-existing v2 debt, untouched here.
17 lines
706 B
Python
17 lines
706 B
Python
"""Parity plane — a first-class package, not a test folder.
|
|
|
|
It is how the (recipe, runtime) pair is kept honest: parity is measured by ParityAligner,
|
|
the consistency ladder is typed, and the interleave gate is non-negotiable.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from v2._enums import ConsistencyLevel, ExecutionProfile
|
|
from v2.parity.aligner import ParityAligner
|
|
from v2.parity.interleave_gate import assert_interleave_parity, compare_outputs
|
|
from v2.parity.ladder import Divergence, array_diff, bit_identical, within
|
|
|
|
__all__ = [
|
|
"ConsistencyLevel", "ExecutionProfile", "ParityAligner", "Divergence", "array_diff", "bit_identical", "within",
|
|
"assert_interleave_parity", "compare_outputs"
|
|
]
|