$ErrorActionPreference = "Stop" $repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..") Push-Location $repoRoot try { & python scripts/verify_b5d.py if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } } finally { Pop-Location }