audit building checkpoints and preserve production gate
This commit is contained in:
@@ -227,7 +227,10 @@ def main() -> int:
|
||||
|
||||
summary = json.loads(args.summary.read_text(encoding="utf-8"))
|
||||
manifest = json.loads(args.corpus_manifest.read_text(encoding="utf-8"))
|
||||
regions = {item["sample_slug"]: item["region"] for item in manifest["samples"]}
|
||||
# Legacy Kempen manifests predate the national region field. They remain
|
||||
# valid for an explicitly non-routed local validation run; regional routing
|
||||
# below still fails closed when a requested region is absent.
|
||||
regions = {item["sample_slug"]: str(item.get("region") or "unknown") for item in manifest["samples"]}
|
||||
pure_empty_slugs = {
|
||||
item["sample_slug"]
|
||||
for item in manifest["samples"]
|
||||
|
||||
Reference in New Issue
Block a user