Run repeated agentic-routing evaluations
run_agentic_routing_evaluation.RdRuns each competency question in a fresh, ephemeral, read-only codex exec
session and captures JSONL events plus schema-constrained final responses.
Gold rubrics are never included in model prompts.
Usage
run_agentic_routing_evaluation(
path = ".",
questions,
repetitions = 3L,
approved = FALSE,
output_dir = NULL,
codex = NULL,
model = NULL,
timeout = 900,
runner = NULL,
quiet = FALSE
)Arguments
- path
Git repository to evaluate.
- questions
One question, a list of questions, or a fully reviewed benchmark created by
derive_agentic_routing_questions().- repetitions
Positive number of independent runs per question.
- approved
Must be
TRUE. Repeated model execution can consume paid usage and is never started implicitly.- output_dir
Directory for raw event and response files. It must be outside
path.- codex
NULLto discover a standalone Codex CLI automatically, or a CLI command or absolute executable path. Live evaluation requires this optional external program and existing CLI authentication. Usecheck_agentic_routing_prerequisites()before the first run.- model
Optional model override.
NULLuses the configured default.- timeout
Maximum seconds for each run.
- runner
Optional process runner for testing or custom execution. It receives
command,args,wd,stdout,stderr, andtimeout.- quiet
Suppress progress messages.