cece059f

Created Started Finished

Author: Lucien Huber <im@lcnbr.ch>

Committer: GitHub <noreply@github.com>

Add multi-graph coverage to CLI and notebook performance suites (#405)

Add multi-graph workloads to both performance gates so timing comparisons
reflect multi-diagram workloads and stay invariant to diagram emission order:

1. GammaLoop CLI performance suite (benchmarks/performance/suite.toml,
   .github/scripts/run_performance.py):
   - Support multi-graph workloads via graph_names and graphs in suite.toml
     while preserving all existing single-graph cards and GL04 hashes byte
     for byte.
   - Materialize combined multi-graph DOT inputs (corpus-graphs.dot) inside
     Fixture.__init__ and generate(), so both direct runs and gammabench's
     sealed subprocess adapter build the exact hashed input bytes.
   - Verify generation_summary.json reports every requested graph without
     duplicates or zero-evaluator reports, summing evaluator counts and
     native stage timings across all reports.
   - Register scalar-3l-corpus (GL04, GL16, GL02) across all three LU routes
     (orientation-3d, explicit-3d, projected-4d).

2. Marimo notebook cell gate (scripts/measure-notebook-cells.py):
   - Add the four-loop-representatives scenario for
     examples/notebooks/feynkit/05_four_loop_numerator_marimo.py.
   - Run diagram generation once and replay cells downstream of
     topology_choice across 15 four-loop diagrams spanning six exact
     (internal particle content, symmetry factor, vertex interactions)
     equivalence classes (pure 3g, mixed 3g/4g, quark-loop, ghost-loop, and
     mixed quark+ghost+4g), summing downstream wall times and recording
     canonical class descriptors in settings.

Update unit tests for both suites and docs/architecture/ci.typ.
57 of 57 jobs done 35 Skipped 22 Passed