Skip to main content

Module sentinel_config

Module sentinel_config 

Source
Expand description

Sentinel config TOML build/parse.

Structsยง

CandidateItemConfig
One candidate item for a slot.
FactorialConfig
Factorial-screening phase configuration.
ScreeningConfig
Screening phase configuration.
SentinelConfig
Configuration consumed by the sentinel scheduler, stored as TOML in jobs.sentinel_config.
SentinelConfigError
Failure to parse or serialize Sentinel configuration TOML.
SlotCandidatesConfig
Candidate items for a single gear slot in a tournament job.
TournamentConfig
Optional tournament-specific settings.
TournamentPhaseConfig
One elimination phase for the tournament strategy.

Enumsยง

SentinelConfigErrorKind ๐Ÿ”’
SentinelConfigOperation
Operation being performed when Sentinel configuration handling failed.

Constantsยง

DEFAULT_INTERACTION_ITERS ๐Ÿ”’
DEFAULT_ITERATIONS ๐Ÿ”’
DEFAULT_KEEP_MIN ๐Ÿ”’
DEFAULT_MAIN_ITERS ๐Ÿ”’
DEFAULT_MAX_ITERATIONS ๐Ÿ”’
DEFAULT_MIN_ITERATIONS ๐Ÿ”’
DEFAULT_TARGET_ERROR ๐Ÿ”’
DEFAULT_TOP_K_PER_SLOT ๐Ÿ”’

Functionsยง

build_sentinel_config
Serialize a SentinelConfig to its canonical pretty-printed TOML form.
default_interaction_iters ๐Ÿ”’
default_keep_min ๐Ÿ”’
default_main_iters ๐Ÿ”’
default_max_iterations ๐Ÿ”’
default_min_iterations ๐Ÿ”’
default_strategy ๐Ÿ”’
default_target_error ๐Ÿ”’
default_top_k_per_slot ๐Ÿ”’
is_zero_u32 ๐Ÿ”’
parse_sentinel_config
Deserialize a SentinelConfig from its TOML representation.