Skip to main content

SCORING_MODE_NAMES

Constant SCORING_MODE_NAMES 

Source
pub const SCORING_MODE_NAMES: &[&str];
Expand description

The single source of truth for what --scoring accepts.

Both CLIs enumerate the accepted values for their own argument parsers, and both silently kept their own copy: pit was reachable through the engine and the eval harness while diffctx --scoring pit rejected it as invalid. A test pins this array against from_str in both directions.