face_core/detect.rs
1//! Auto-detection of score field, preset distribution shape, and
2//! per-axis strategy.
3//!
4//! Implements §4.3 (score-field detection), §4.4 (preset auto-detection),
5//! and §4.5 (per-axis strategy auto-selection) of `docs/design.md`.
6//! CLI flags `--score`, `--preset`, `--scale`, `--invert`, `--by`, and
7//! `--strategy` bypass the matching detection step; the wiring lives
8//! in `face-cli`.
9
10pub mod preset;
11pub mod score;
12pub mod strategy;
13
14pub use preset::{Preset, detect_preset, invert, sample_scores};
15pub use score::{
16 ScoreDetection, ScoreOptions, detect_score, detect_score_with_options, validate_score_path,
17};
18pub use strategy::{
19 StrategyDetectionOptions, auto_strategy, auto_strategy_with_options, pick_grouping_field,
20 pick_grouping_field_with_options,
21};