Skip to content

mg7: fix gogo generation CI crash + add red mg7 xsec tracker#20

Merged
oliviermattelaer merged 1 commit into
claude/mg7-flv-single-legfrom
claude/mystifying-burnell-2c7d2e
Jun 25, 2026
Merged

mg7: fix gogo generation CI crash + add red mg7 xsec tracker#20
oliviermattelaer merged 1 commit into
claude/mg7-flv-single-legfrom
claude/mystifying-burnell-2c7d2e

Conversation

@oliviermattelaer

Copy link
Copy Markdown
Contributor

Summary

Fixes the CI crash in test_generation_from_file_1 and adds the missing mg7 event-generation coverage for MSSM p p > go go as an explicit (intentionally red) tracker.

Root cause of the crash

test_generation_from_file_1 drives generate_events from the input file tests/input_files/test_mssm_generation, which used a bare output — and bare output now defaults to mg7 (check_output(..., default='mg7')). mg7 has no event-generation pipeline for this MSSM merged-flavor process, so the run crashed. The test's assertions (cross-sections 4.541638 / 4.41887317, banner ptheavy, LHE parsing) are MadEvent-specific, so the test belongs to the MadEvent path.

Fix: pin the input file to output madevent, matching the branch-wide convention for generate_events tests.

New mg7 tracker

The Massaro merged-flavor commits made standalone_mg7 reproduce the per-flavor |M|^2 for p p > go go (test_standalone_mg7_mssm_gogo), but full mg7 event generation for merged-flavor processes is not wired up yet — the madspace integrator does not produce the cross-section (cf. the existing SM tracker test_madevent_merged_flavor_uq_mg7).

  • test_generation_from_file_1_mg7 runs the full mg7 (madspace) pipeline for p p > go go and pins the cross-section to the madevent reference (4.541638 pb). Left undecorated (not @expectedfailure) so the gap stays visible, matching the other red mg7 trackers. Self-skips without the madspace + LHAPDF(NNPDF23) stack.
  • New CI job acceptancetest_mg7_mssm_gogo_xsec runs it.

Also

  • Refreshed the stale acceptancetest_mg7_mssm_gogo job comment (mg7 no longer refuses MSSM gogo with InvalidCmd — it generates the matrix element and is checked per-flavor).

Expected CI state

acceptancetest_mg7_mssm_gogo_xsec is expected to be red until the mg7 integrator handles merged-flavor p p > go go. This is intentional — keeping the missing-feature gap visible.

🤖 Generated with Claude Code

test_generation_from_file_1 drives generate_events from the input file
tests/input_files/test_mssm_generation, which used a bare `output` that now
defaults to mg7. mg7 has no event-generation pipeline for this MSSM
p p > go go process, so the run crashed. Pin the input file to
`output madevent` (the MadEvent reference cross-sections / banner / LHE
assertions are MadEvent-specific), matching the branch-wide convention for
generate_events tests.

Add the missing mg7 counterpart as an explicit (intentionally red) tracker:
test_generation_from_file_1_mg7 runs the full mg7 (madspace) pipeline for
p p > go go and pins the cross-section to the madevent reference (4.541638 pb,
run_01 of test_generation_from_file_1). standalone_mg7 already reproduces the
per-flavor |M|^2 (test_standalone_mg7_mssm_gogo), but full mg7 event generation
for merged-flavor processes is not wired up yet (the madspace integrator does
not produce the cross-section, cf. the SM tracker
test_madevent_merged_flavor_uq_mg7). Left undecorated so the gap stays visible.
New CI job acceptancetest_mg7_mssm_gogo_xsec runs it (self-skips without the
madspace + LHAPDF stack).

Also refresh the stale acceptancetest_mg7_mssm_gogo comment: mg7 no longer
refuses MSSM gogo with InvalidCmd; it generates the matrix element and is
checked per-flavor.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@oliviermattelaer oliviermattelaer merged commit 1c6d88a into claude/mg7-flv-single-leg Jun 25, 2026
308 of 313 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant