Skip to main content

run_tool

Function run_tool 

Source
pub async fn run_tool(
    workspace: &Path,
    command: &str,
    must_exit: i32,
    timeout: Duration,
) -> Result<EvalVerdict>
Expand description

Run a tool evaluator’s acceptance command in workspace, passing iff the process exits with must_exit. The combined output becomes the critique on failure (CONTEXT.md §10 acceptance).