Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/phase-ai/src/bin/ai_duel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ fn main() {
let mut output: Option<PathBuf> = None;
let mut suite_filter: Option<String> = None;
let mut attribution = AttributionMode::Disabled;
let mut harvest_output: Option<PathBuf> = None;
let mut commander_feed = "feeds/mtggoldfish-commander.json".to_string();

let mut args_iter = args.iter().skip(1).peekable();
Expand Down Expand Up @@ -81,6 +82,7 @@ fn main() {
"--output" => output = args_iter.next().map(PathBuf::from),
"--suite-filter" => suite_filter = args_iter.next().cloned(),
"--show-attribution" => attribution = AttributionMode::Enabled,
"--harvest" => harvest_output = args_iter.next().map(PathBuf::from),
"--feed" => {
if let Some(feed) = args_iter.next() {
commander_feed = feed.clone();
Expand Down Expand Up @@ -135,6 +137,7 @@ fn main() {
options.output_path = output_path.clone();
options.filter = suite_filter;
options.attribution = attribution;
options.harvest_output = harvest_output;
match run_suite(&db, &options) {
Ok(_) => {
eprintln!("\nSuite report written to {}", output_path.display());
Expand Down Expand Up @@ -682,6 +685,8 @@ fn print_usage() {
eprintln!(" --suite-filter STR Only run matchups whose id contains STR");
eprintln!(" --show-attribution Capture per-policy decision traces and include");
eprintln!(" them in the JSON + markdown output.");
eprintln!(" --harvest PATH Harvest per-turn eval features to JSONL at PATH");
eprintln!(" (Texel retrain corpus; forces sequential run).");
eprintln!();
eprintln!("Commander suite mode:");
eprintln!(" --commander-suite Run 4-player Commander candidate-seat rotations");
Expand Down
Loading
Loading