"""Moves the browser-test submissions.jsonl out of the deliverable site into checks/ as evidence.""" import os, shutil here = os.path.dirname(os.path.abspath(__file__)) src = os.path.join(here, '..', 'site', 'submissions.jsonl') dst = os.path.join(here, 'browser_test_submissions.jsonl') if os.path.exists(src): shutil.move(src, dst) print('evidence file:', open(dst).read()) print('site files now:', sorted(os.listdir(os.path.join(here, '..', 'site'))))