Extend the measurement-validity treatment from riemannian_manifold.py
to concept_geometry, the LEACE paths, cross_layer and
wasserstein_optimal. Each audited result carries measurement evidence,
every reported field has a catalog entry, and a registry test fails
when either is missing.
- concept_geometry: the cone "solid angle" is a cap around the mean
axis, not a minimal enclosing cone; relabelled. Placeholder defaults
(cosine 1.0, specificity 1.0, linear/polyhedral flags, layer indices 0)
become None when there is too little data. The informed pipeline skips
unavailable flags; decisions on valid inputs are unchanged.
- cross_layer: persistence, adjacent cosine and angle path length are
None with fewer than two layers instead of 0.0/1.0; zero or non-finite
directions are rejected instead of reported as orthogonal.
- leace: the Fisher "erasure loss" is relabelled as variance along the
direction; exact and multiclass LEACE gain erasure oracles.
- wasserstein_optimal: a layer with no signal reported a cost ratio of 0
and could be chosen as best_layer; it is now None and excluded. The
W2 cost is exact for any direction (closed-form oracle), and the
comment calling it a bound is corrected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Default exclude_invalid to True for refusal metrics, verification and the
optimizer objective, with a one-release warning for implicit legacy use,
invalid counts in metadata and reports, and a changelog note.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Validate from_direction() inputs (real, finite, nonzero, 1-D), keep
from_refusal_direction() numerics unchanged, document the API and add
edge-case coverage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Maintainer decisions for epic #223 (2026-10-15):
- Q1: `leace` is a deprecated alias of the Fisher LDA direction. It keeps
its numerical behaviour, warns once per public resolution with a
DeprecationWarning naming `fisher_lda` and `leace_exact`, and will be
removed in a future minor release.
- Q4: a collateral FAIL blocks both the model card and any Hub push of
modified weights or adapters on every path (pipeline, export_run, both
CLIs, Concept Lab, the Hub UI and tourney uploads), checked before any
network call. `--allow-collateral-fail REASON` (and the matching API
argument and UI field) overrides the block and stamps the FAIL and
reason into the card, checkpoint metadata and provenance. Local save
and export are never blocked.
- Q5: research-tier packs no longer carry publication or local-export
restrictions; the tier is provenance only and Q4 applies to every pack.
- Steering defaults are removal-first: `steer` defaults to alpha -1 and
the default dose ladder is non-positive. Positive doses stay available
explicitly; `project` keeps its positive removal strength.
- Q3 (gate modes) and Q7 (dense only, follow-up #310) are unchanged and
documented.
Refs #223
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>