StreamingOmniDatasets / scripts /tools /replay_tool_samples.py
skyzhou06's picture
Add files using upload-large-folder tool
f63a61e verified
Raw History Blame Contribute Delete
303 Bytes
#!/usr/bin/env python3
import json, pathlib, sys
p=pathlib.Path(__file__).parent/'fixtures/v041_rc_tool_fixtures.jsonl'
rows=[json.loads(x) for x in p.read_text().splitlines() if x.strip()]
assert len({r['fixture_id'] for r in rows})==len(rows)
print(json.dumps({'status':'PASS','fixtures':len(rows)}))