Files
dj/integration-work/historical_cleanup_hash_status.py
2026-11-13 11:46:25 +08:00

6 lines
454 B
Python

import json,pathlib
out=pathlib.Path('/home/ps/huobao-video-cleanup/historical-20261112');p=out/'orphan-probe-results.json'
r=json.loads(p.read_text()) if p.exists() else []
print(json.dumps({'processed':len(r),'verified':sum(x['verified'] for x in r),'done':(out/'orphan-probe-done.json').exists(),'latest':[{k:v for k,v in x.items() if k in ('task','verified','reason')} for x in r[-6:]]}))
if not r:print((out/'orphan-probe.log').read_text()[-1500:])