Skip to content

docs(claude): update github and running rules - #123

Draft
JulesVandenbroeck wants to merge 5 commits into
GhentAnalysis/upstream_merge_with_masterfrom
GhentAnalysis/claude_context
Draft

JulesVandenbroeck wants to merge 5 commits into
GhentAnalysis/upstream_merge_with_masterfrom
GhentAnalysis/claude_context

Conversation

@JulesVandenbroeck

Copy link
Copy Markdown
Collaborator
  • Moves .claude/ rules and CLAUDE.md off upstream_merge_with_master onto this dedicated branch, plus a follow-up commit refining github.md/running.md.
  • upstream_merge_with_master had the 3 original claude-context commits reverted (non-destructively) so this PR reintroduces them cleanly.

Restores .claude/rules/*.md and CLAUDE.md (including the github.md and
running.md updates) on top of the current upstream_merge_with_master
tip, so the PR diff correctly shows the full reintroduction rather than
only the delta since a stale shared ancestor.
@JulesVandenbroeck
JulesVandenbroeck force-pushed the GhentAnalysis/claude_context branch from 41bceb5 to 2436094 Compare July 13, 2026 07:11
JulesVandenbroeck and others added 4 commits July 13, 2026 09:13
hists is created once per branch in SelectEvents and passed by
reference into the selector for every chunk of a file. This producer
unconditionally recreated and overwrote hists["btag_efficiencies"] on
each call, discarding all fills from previous chunks of the same
branch. Guard the creation so later chunks fill into the existing
histogram instead, matching the pattern already used by
trigger_efficiency_hists.
Introduces BTagWorkingPointConfig, a small Ghent-local TAFConfig
holding the ordered list of working-point names (default ("L", "M",
"T")). setup_btag, fixed_wp_btag_weights, and jet_btag now read this
list instead of hardcoding the string "LMT", so taggers with extra
tiers (e.g. UParT's XT/XXT) can be supported by setting
config.x.btag_wp_config accordingly. The threshold values themselves
are still looked up live from correctionlib in setup_btag, unchanged.

Also fixes jet_btag's produces declaration: the static
optional_column("Jet.btag_{LMT}") never actually brace-expanded (law's
brace_expand only splits on commas, so it declared a single bogus
column "Jet.btag_LMT" instead of Jet.btag_L/M/T). It's now built
dynamically in jet_btag_init from the configured working points, which
also makes it correct for configs with more than three.
- fix jec for met propagation
- add WP flexibility to btagefficiency
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