Skip to content

AlphaS CI#676

Merged
davidwalter2 merged 22 commits intoWMass:mainfrom
lucalavezzo:main
Mar 25, 2026
Merged

AlphaS CI#676
davidwalter2 merged 22 commits intoWMass:mainfrom
lucalavezzo:main

Conversation

@lucalavezzo
Copy link
Collaborator

@lucalavezzo lucalavezzo commented Mar 20, 2026

  • Revamped the AlphaS CI to run:
    • Z histmaker
    • W histmaker
    • Z reco fit
    • Z+W reco fit
    • Z unfolding
    • Z gen extraction
  • Upgrade checkout to v5

@lucalavezzo lucalavezzo linked an issue Mar 20, 2026 that may be closed by this pull request
6 tasks
Copy link
Collaborator

@davidwalter2 davidwalter2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this looks overall good but I strongly suggest to run one command per step which makes it easier to digest if something fails or to look up the logs

set -euo pipefail
mkdir -p $ALPHAS_OUTDIR

for fitvar in "ptll-yll" "ptll-yll-cosThetaStarll_quantile-phiStarll_quantile"; do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently github actions have the matrix setting for these kind of things, on the top of the job do something like this and it will run in parallel (and it will also run the 4D fit in case the 2D fails or vice versa

strategy:
      fail-fast: false
matrix:
        include:
          - mode: "2d"
            fitvar: "ptll-yll"
            fitdir_suffix: "ZMassDilepton_ptll_yll"
          - mode: "4d"
            fitvar: "ptll-yll-cosThetaStarll_quantile-phiStarll_quantile"
            fitdir_suffix: "ZMassDilepton_ptll_yll_cosThetaStarll_quantile_phiStarll_quantile"

scripts/ci/run_with_singularity.sh scripts/ci/setup_and_run.sh rabbit_plot_pulls_and_impacts.py
"$ALPHAS_STABLE_FIT_LINK" --title CMS --subtitle Preliminary
--showNumbers --pullrange '2.1' --config wremnants/utilities/styles/styles.py --oneSidedImpacts --grouping min
-o "$WEB_DIR/$PLOT_DIR" --otherExtensions pdf png -n 50 --scaleImpacts 2.0 --postfix "$ALPHAS_IMPACTS_POSTFIX"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "/alpha_s" to "-o" to move the 2d and 4d impacts also to the subdirectory

@davidwalter2 davidwalter2 merged commit 6453cf1 into WMass:main Mar 25, 2026
25 of 26 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.

Expand alphaS CI

2 participants