Buckets:
| """Validate an imported Phase 1 primary annotation export without promotion.""" | |
| from __future__ import annotations | |
| import argparse | |
| import json | |
| from pathlib import Path | |
| from evaluation.phase1_readiness import validate_primary_annotations, write_new_json | |
| def main() -> None: | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("--pilot-manifest", type=Path, required=True) | |
| parser.add_argument("--primary-export", type=Path, required=True) | |
| parser.add_argument("--scene-groups", type=Path) | |
| parser.add_argument("--output", type=Path, required=True) | |
| args = parser.parse_args() | |
| receipt = validate_primary_annotations(args.pilot_manifest, args.primary_export, scene_groups=args.scene_groups) | |
| write_new_json(args.output, receipt) | |
| print(json.dumps({"output": str(args.output), "status": receipt["status"], "eligibility_changed": False})) | |
| if __name__ == "__main__": | |
| main() | |
Xet Storage Details
- Size:
- 912 Bytes
- Xet hash:
- 9e112eda43c9197eb1d327ad1d9efada87a8ccdb1e72d775205304d0ba1776bf
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.