VEHwang's picture
Upload CoCogni4D-Bench (questions, media, scripts, render records, code) (part 4)
9d57416 verified
Raw History Blame Contribute Delete
535 Bytes
#!/usr/bin/env python3
"""Print the same read-only report used by the verification console."""
import argparse
import json
from pathlib import Path
import sys
sys.path.insert(0, str(Path(__file__).resolve().parents[3]))
from apps.console.server.verify_report import build
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('run_dir', type=Path)
args = parser.parse_args()
print(json.dumps(build(args.run_dir), ensure_ascii=False, indent=2))
if __name__ == '__main__':
main()