"""Copy the original (first-submission) files into output/v1-original/ unchanged.""" import os, shutil, hashlib here = os.path.dirname(os.path.abspath(__file__)) dst = os.path.join(here, 'v1-original') os.makedirs(dst, exist_ok=True) for n in ('schedule.csv', 'risk-note.md', 'invitation-draft.txt', 'check_schedule.py', 'verify_outputs.py'): target = os.path.join(dst, n) if os.path.exists(target): print('already preserved, not overwritten:', n) continue shutil.copy2(os.path.join(here, n), target) print('copied', n, hashlib.sha256(open(target, 'rb').read()).hexdigest()[:12]) print(sorted(os.listdir(dst)))