Files
cs249r_book/periodic-table/scripts/archive/debate-continue.sh
Vijay Janapa Reddi 64c940c363 chore(framework): add periodic-table paper, figures, and iteration archive
Companion commit to c5f90022b (the YAML migration). Pulls in the rest of
the periodic-table work that was sitting in the working tree.

- periodic-table/paper/: LaTeX paper draft (paper.tex, references.bib),
  Makefile with hero-figure and SVG->PDF rules (uses rsvg-convert), the
  Puppeteer capture_table.js script used to screenshot the table for the
  paper, generate_periodic_svg.py which builds the hero SVG from
  table.yml (the same source of truth used by the React app), and the
  figure sources (SVGs) + derived outputs (PDFs/PNGs) + compiled paper.pdf.
- root .gitignore gains two entries following the existing convention
  (cf. the !interviews/paper/fig-*.pdf line just above) so the
  periodic-table paper PDF + figure PDFs are not swept up by the blanket
  *.pdf LaTeX-artifact rule.
- periodic-table/paper/.gitignore excludes the LaTeX build artifacts
  (aux, bbl, blg, log, out, fdb_latexmk, synctex, toc) that make paper
  regenerates.
- periodic-table/{iteration,refinement,debate}-log.md: research
  provenance from the 100-round LLM iteration loop and the 5-expert
  debate simulations that produced v0.2 of the table.
- periodic-table/scripts/archive/: historical iteration scripts
  (iterate.sh, debate.sh, debate-continue.sh, run_100_rounds.sh, plus
  the Python helpers append_log.py, get_elements.py, patch_informal.py,
  patch_website.py, run_claude_loop.py, run_iterations{,_13,_16_20}.py,
  update_log.py) moved out of the repo root into an archive subdirectory
  with a README documenting their provenance and caveats. These scripts
  are preserved for reproducibility and are not part of the active build
  pipeline -- the source of truth is now periodic-table/table.yml.
- root package.json + package-lock.json pin puppeteer ^24 for
  capture_table.js.
2026-04-07 09:30:21 -04:00

19 lines
444 B
Bash
Executable File

#!/bin/bash
# Continuation: waits for the first debate.sh to finish, then runs rounds 21-40 + final pass.
set -e
cd "$(dirname "$0")"
echo "⏳ Waiting for current debate (rounds 2-20) to finish..."
# Wait for the original debate.sh to exit
while pgrep -f "debate.sh 20 2" > /dev/null 2>&1; do
sleep 10
done
echo "✓ Rounds 2-20 complete. Starting rounds 21-40..."
echo ""
# Now run rounds 21-40 using the same script
./debate.sh 40 21