1 lightning.finite_horizon.studies.architecture_results

lightning.finite_horizon.studies.architecture_results

Scene-equal H1 reductions and paired development-only architecture verdicts.

1.1 Functions

Name Description
compare_architecture_cells Compare complete, identity-matched architecture cells on paired scenes.
summarize_h1_rows Aggregate canonical H1 rows with explicit state and scene denominators.

1.1.1 compare_architecture_cells

lightning.finite_horizon.studies.architecture_results.compare_architecture_cells(
    cells,
    *,
    seeds=(41, 73),
    regret_fraction=0.95,
    mae_fraction=1.25,
)

Compare complete, identity-matched architecture cells on paired scenes.

Cells use the canonical architecture-study schema: variant/seed/protocol and source_package_digest, nested metrics and benchmark. Both each-seed and seed-mean regret gates must pass; MAE safety holds separately in each seed. Physical scenes receive equal weight; rows/states are not replicates. The weighted-attention/full contrast is a combined reader bridge, whereas weighted-pooling/weighted-attention isolates the reduction contract. Missing/duplicate cells or support/source mismatches fail before comparison. This development-only decision does not establish generalization.

1.1.2 summarize_h1_rows

lightning.finite_horizon.studies.architecture_results.summarize_h1_rows(rows)

Aggregate canonical H1 rows with explicit state and scene denominators.

Rows are admitted only when the canonical evaluator says admitted. An unavailable ranking denominator remains missing, never zero accuracy. Missing/nonfinite supported predictions are not silently deleted.

Back to top