Files
hao-ai-lab-FastVideo/v2/parity/__init__.py
T
SolitaryThinker a9e5f6ee7a [refactor] rename package mini_fastvideo → v2
Directory rename (git mv, history preserved) plus rewrite of all references: absolute imports in
tests, the zero-dep runner, docstrings, comments, and the README. No behavior change.

Run: python3 -m pytest v2/tests/ -q ; python3 v2/run_tests.py ; python3 -m v2.examples
2026-07-04 17:15:34 +00:00

15 lines
701 B
Python

"""Parity plane — a first-class package, not a test folder (design_v3 §9, §18).
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 .._enums import ConsistencyLevel, ExecutionProfile
from .aligner import ParityAligner
from .interleave_gate import assert_interleave_parity, compare_outputs
from .ladder import Divergence, array_diff, bit_identical, within
__all__ = ["ConsistencyLevel", "ExecutionProfile", "ParityAligner", "Divergence",
"array_diff", "bit_identical", "within", "assert_interleave_parity", "compare_outputs"]