You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement ControlDependence trait on Model; migrate is_control_free/has_control to CTBase
- Model now implements the CTBase.Traits.ControlDependence contract
(has_control_dependence_trait + control_dependence), reading ControlFree from an
EmptyControlModel and WithControl otherwise — from the control model TYPE, mirroring
the existing variable-dependence design (not from control_dimension)
- is_control_free / has_control are now generic functions owned by CTBase.Traits;
CTModels re-exports them so CTModels.Models.is_control_free / has_control are unchanged.
is_control_free is now type-stable (no runtime control_dimension == 0)
- Bump CTBase compat 0.25 -> 0.26 (and docs env compat); bump version 0.13.3-beta -> 0.14.0-beta
- Extend control-checks tests with trait-path assertions (control_dependence, has_control)
- Add a Control dependence subsection to the model Types-and-traits guide
- Update CHANGELOG.md and BREAKING.md (purely additive, no breaking changes)
Tests: models/components/display suites 313/313 pass; docs build succeeds (exit 0).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments