Skip to main content

Module detect

Module detect 

Source
Expand description

Auto-detection of score field, preset distribution shape, and per-axis strategy.

Implements §4.3 (score-field detection), §4.4 (preset auto-detection), and §4.5 (per-axis strategy auto-selection) of docs/design.md. CLI flags --score, --preset, --scale, --invert, --by, and --strategy bypass the matching detection step; the wiring lives in face-cli.

Re-exports§

pub use preset::Preset;
pub use preset::detect_preset;
pub use preset::invert;
pub use preset::sample_scores;
pub use score::ScoreDetection;
pub use score::ScoreOptions;
pub use score::detect_score;
pub use score::detect_score_with_options;
pub use score::validate_score_path;
pub use strategy::StrategyDetectionOptions;
pub use strategy::auto_strategy;
pub use strategy::auto_strategy_with_options;
pub use strategy::pick_grouping_field;
pub use strategy::pick_grouping_field_with_options;

Modules§

preset
§4.4 preset auto-detection from numeric distribution shape.
score
§4.3 score-field detection.
strategy
§4.5 auto-strategy selection and §4.5 fallback grouping-field pick.