Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe vertical interpolation PDF base classes now handle RooFit server redirection. They refresh coefficient references, rebuild sentry dependencies, mark state as dirty, and reset initialization where required. ChangesRooFit server redirection
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to Copied workspaces now refresh interpolation-PDF parameter dependencies during server redirection, preserving nuisance-parameter responses in cold and warm copies. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (50.00%) is below the target coverage (98.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #1267 +/- ##
==========================================
- Coverage 20.90% 20.89% -0.01%
==========================================
Files 195 195
Lines 26316 26317 +1
Branches 3947 3945 -2
==========================================
- Hits 5502 5500 -2
- Misses 20814 20817 +3
... and 2 files with indirect coverage changes
🚀 New features to boost your workflow:
|
|
I am not sure if the two failures are related to the PR. Please let me know if I should have a deeper investigation and if some changes would be needed (code coverage?). |
Copying a workspace and then changing a copy's parameters doesn't always work for
FastVerticalInterpHistPdfandFastVerticalInterpHistPdf2. Depending on the class and how the copy was made,_morphParamsand/or_sentrycanstill refer to the original workspace's objects, so the copy stops responding to its own parameters. The fix adds
redirectServersHookto both base classes to re-point these on redirect, plus one related fix inFastVerticalInterpHistPdf2Base::initBase()(it appended fresh coefficient pointers without clearing stale ones first).Tested by creating two workspaces that use
FastVerticalInterpHistPdfandFastVerticalInterpHistPdf2We then read the workspace, copy it, change the value of theta, and print the value of the first bin.
Combine v11.0.0
With PR-proposed fix:
The evaluation script is pasted below:
Summary by CodeRabbit