import os,glob,html L='/workspace/research/flow-forensics-2026-10/lows' for sub,pat in [('results','*.csv'),('scripts','*.py')]: fs=sorted(glob.glob(f'{L}/{sub}/{pat}')) rows=''.join(f"
  • {html.escape(os.path.basename(f))} ({os.path.getsize(f)/1024:,.0f} KB)
  • " for f in fs) open(f'{L}/{sub}/index.html','w').write(f"lows/{sub}

    Buying at the lows — {sub}

    ← back to report

    ") print('ok')