cece059f

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.

Total

58m49s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 0s 1s 1s 1s 0s
Eval 2s 3m22s 3m22s 3m24s 0s
Build 3m23s 7m39s 9m18s 12m42s 1m36s
Test 6m17s 1h51m40s 52m09s 58m26s 11m42s
Deploy 58m27s 22s 22s 58m49s 0s
Suite 0s 2h03m05s 58m49s 58m49s 13m20s

Timeline

Config Eval Build Test Deploy Failed Retried Compressed gap
0s1m2m3m6m7m8m9m10m11m12m13m14m15m16m17m18m19m20m21m22m23m24m25m26m27m28m29m30m31m32m33m34m35m36m37m38m39m40m41m42m43m44m45m46m47m48m49m50m51m52m53m54m55m56m57m58m