#!/bin/bash
# Usage: ./run_infer_patches.sh [TEST_DIR]
TEST_DIR="${1:-tool_gen/evaluation/tests/test8_custom_v3}"

sweagent run-batch \
    --config "$TEST_DIR/agent.yaml" \
    --config "$TEST_DIR/subagent.yaml" \
    --instances.type swe_bench \
    --instances.subset verified \
    --instances.split test \
    --output_dir "$TEST_DIR/patches" \
    --num_workers 16 \