from __future__ import annotations import argparse import json from pathlib import Path from pnp_lab.normative_standard import verify_normative_standard def main() -> int: parser = argparse.ArgumentParser(description="Verify the normative research-validity/provenance standard") parser.add_argument("path", type=Path) args = parser.parse_args() status = verify_normative_standard(args.path) print(json.dumps(status.to_dict(), indent=2, sort_keys=True)) return 0 if status.ok else 2 if __name__ == "__main__": raise SystemExit(main())