ProCreations's picture
Reproduction logbook (paper-82EJxJzG6r)
4ca4e4c verified
Raw
History Blame Contribute Delete
1.19 kB
"""Authoritative read-only validator for this *local* evidence package.
"Official" here means the package's release gate. It is explicitly not
represented as a validator maintained by ICML, OpenReview, the paper authors,
or a remote reproduction campaign.
"""
from __future__ import annotations
import json
import subprocess
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parent
def main() -> None:
subprocess.run([sys.executable, "validate_logbook.py", "--require-replay"], cwd=ROOT, check=True)
report = {
"validator": "official_validator.py",
"authority": "authoritative release gate for this local package only",
"not_claimed": ["ICML validator", "OpenReview validator", "paper-author validator", "remote campaign validator"],
"semantic_v4": "SEMANTIC_V4.json",
"validation": "VALIDATION.json",
"passed": True,
}
(ROOT / "OFFICIAL_VALIDATOR_RUN.json").write_text(json.dumps(report, indent=2) + "\n")
subprocess.run([sys.executable, "make_manifest.py"], cwd=ROOT, check=True)
print("official local package validator: PASS (semantic-v4 12/12)")
if __name__ == "__main__":
main()