ct metrics roc

ROC curves and AUROC per monitor, each trajectory scored by its highest verdict an audit could act on, every attack trajectory a positive.

Usage

ct metrics roc [OPTIONS]

Options

OptionDescription
--honest TEXTHonest trajectories (path, dir, run ID or run URL). Mutually exclusive with --run-file.
--attack TEXTAttack trajectories, one curve each (repeatable). Mutually exclusive with --run-file.
--run-file PATHYAML run file with several honest/attack entries.
--filter-by TEXTKeep run-file entries whose field has this value (field=value, repeatable).
--group-by [env|failure_type|main_task_category|side_task_category]One curve per run and value of this field.
--color-by TEXTRun field mapped to curve color.
--style-by TEXTRun field mapped to curve linestyle.
--min-samples INTEGER RANGELeave out a curve with fewer scored trajectories on either side. [default: 2; x>=1]
--output-dir PATHDirectory for the plots (default: data/roc/<timestamp>).
--max-workers INTEGER RANGEThread-pool size for loading run entries concurrently. [default: 8; x>=1]
--helpShow this message and exit.