#!/usr/bin/env bash # CHECK-wizards -- re-derive the WIZARDS-TABLE roster extract from its source. # # `wizard-work/ledger/CHECK` is another extract's gate (jsonplaceholder users # census, 2026-10-29), so this artifact's gate lives beside it under a name # that says which artifact it grades. # # rc 0 = PASS, 1 = a fault, 2 = could not grade (missing/unparseable inputs). set -u HERE="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)" || exit 2 command -v python3 >/dev/null 2>&1 || { echo "CANNOT GRADE: python3 not on PATH" exit 2 } python3 "$HERE/verify_wizards.py" "$@" exit $?