docs: align reference gate with comparison verdict

This commit is contained in:
KOKO\Mimi
2026-08-10 00:28:09 +09:00
parent b7a1258ce0
commit 05f11943a5
4 changed files with 38 additions and 25 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ ctest --test-dir .harness/build -C Debug -R B33ReferenceComparison -V --output-o
$metricsPath = '.harness/build/reference/cantilever-beam-b33/comparison.json'
if (-not (Test-Path $metricsPath)) { throw 'Missing comparison metrics' }
$metrics = Get-Content -Raw $metricsPath | ConvertFrom-Json
if ($metrics.status -ne 'pass') { throw "Reference comparison failed: $($metrics.status)" }
if ($metrics.passed -ne $true) { throw "Reference comparison failed: passed=$($metrics.passed)" }
git diff --exit-code -- reference/
```