diff options
Diffstat (limited to 'evals/bin/tool-not-called')
| -rwxr-xr-x | evals/bin/tool-not-called | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/evals/bin/tool-not-called b/evals/bin/tool-not-called deleted file mode 100755 index 3995f90..0000000 --- a/evals/bin/tool-not-called +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -command -v jq >/dev/null || { echo "jq required"; exit 127; } - -TOOL="$1" -FILE="tool_calls.jsonl" - -COUNT=$(jq -s "[.[] | select(.tool == \"$TOOL\")] | length" "$FILE" 2>/dev/null || echo 0) - -if [ "$COUNT" -eq 0 ]; then - echo "PASS: $TOOL never called" - exit 0 -else - echo "FAIL: $TOOL called $COUNT time(s) (expected 0)" - exit 1 -fi |
