Complete Stats validation, comparison cards, and annual ranking hardening

This commit is contained in:
devRaGonSa
2026-06-08 18:12:36 +02:00
parent b27fbb024b
commit cdfaf6f28f
12 changed files with 796 additions and 61 deletions

View File

@@ -2,6 +2,14 @@ $ErrorActionPreference = "Stop"
Write-Host "HLL Vietnam platform validation"
function Assert-LastExitCode {
param([string] $Message)
if ($LASTEXITCODE -ne 0) {
throw $Message
}
}
$configPath = "ai-platform.json"
if (-not (Test-Path $configPath)) {
throw "Missing $configPath"
@@ -54,8 +62,12 @@ if status is None or payload.get("status") != "ok":
'@
$backendImportCheck | python -
Assert-LastExitCode "Backend startup import check failed."
powershell -ExecutionPolicy Bypass -File scripts/run-historical-ui-regression-tests.ps1
Assert-LastExitCode "Historical UI regression validation failed."
powershell -ExecutionPolicy Bypass -File scripts/run-stats-validation.ps1
Assert-LastExitCode "Stats regression validation failed."
Write-Host "No product integration tests are configured for this platform-only scope."
Write-Host "Backend startup import check passed."