Skip to content

CI: validate BHLUMI and BabaYaga LHE tutorial output - #215

Draft
ianna wants to merge 9 commits into
HEP-FCC:mainfrom
ianna:codex/lhe-generator-ci
Draft

ianna wants to merge 9 commits into
HEP-FCC:mainfrom
ianna:codex/lhe-generator-ci

Conversation

@ianna

@ianna ianna commented Nov 12, 2026 •

Copy link
Copy Markdown

Upstream draft for fork PR #4. The draft targets main, so its diff includes the unmerged prerequisites: #211, Whizard #217, and KKMCee #218. The fork PR shows the BHLUMI and BabaYaga changes by themselves.

  • Add one tagged 100-trial or 100-event command per generator, using the options already documented in the tutorial.
  • Register separate CTest fragment tests for BHLUMI and BabaYaga.
  • Validate the native LHE files. The checker requires a complete Les Houches Events document, initialization before nonempty events, and a count check. BHLUMI must write exactly 100 events. BabaYaga must write 1–100 accepted events from its 100 trials. The existing EDM4hep path continues to serve the other generator tests.

Both new CTest tests passed locally with stub generators. A truncated LHE file and a wrong event count both failed. The existing KKMCee fragment test still passed with stubs. The release and nightly GitHub Actions jobs passed after the BabaYaga count fix. CI run

ianna and others added 9 commits October 8, 2026 12:13
Tag the Pythia8 shell fences of 2-1-event-generation with invisible
ci-fragment markers, run them in page order in one fresh shell, and
validate the produced EDM4hep file with key4hep-validate. The runner
fails when no tagged fragment is found, so it cannot pass vacuously.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UKgjg6FJ4R6Jbp3pdhqVQD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UKgjg6FJ4R6Jbp3pdhqVQD

This branch has not been deployed

No deployments
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