pub enum EvalCommand {
Score(EvalScoreArgs),
Run(EvalRunArgs),
}Expand description
talon eval subcommands.
Variants§
Score(EvalScoreArgs)
Offline: score already-produced reports (<case id>.json) against
the golden cases. Exit code 1 when the pass rate is below
--min-pass-rate, 2 on unusable input.
Run(EvalRunArgs)
Online: submit every golden case to a running Talon
(POST /investigate), wait for each verdict, then score. The
case’s alert must already exist in the CoPilot stack Talon is
connected to.
Trait Implementations§
Source§impl Debug for EvalCommand
impl Debug for EvalCommand
Source§impl FromArgMatches for EvalCommand
impl FromArgMatches for EvalCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl PartialEq for EvalCommand
impl PartialEq for EvalCommand
impl StructuralPartialEq for EvalCommand
Source§impl Subcommand for EvalCommand
impl Subcommand for EvalCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Forget for EvalCommand
impl Freeze for EvalCommand
impl Move for EvalCommand
impl RefUnwindSafe for EvalCommand
impl Send for EvalCommand
impl Sync for EvalCommand
impl Unpin for EvalCommand
impl UnsafeUnpin for EvalCommand
impl UnwindSafe for EvalCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more