Skip to content

[RF][HS3] Fixes for ATLAS usecase#14289

Merged
guitargeek merged 6 commits into
root-project:masterfrom
cburgard:hs3-bugfixes-63002-contd
Jan 23, 2024
Merged

[RF][HS3] Fixes for ATLAS usecase#14289
guitargeek merged 6 commits into
root-project:masterfrom
cburgard:hs3-bugfixes-63002-contd

Conversation

@cburgard

@cburgard cburgard commented Dec 21, 2023

Copy link
Copy Markdown
Contributor

This Pull request:

Fixes various small bugs, makes the implementation more robust and improves error reporting for JSON import of HS3 files.

Changes or fixes:

  • errors from the nlohmann_json importer are now correctly forwarded to the user, rather than giving an unspecific "std_exception".
  • some missing keys or values no longer trigger segfaults, but instead lead to an actual error being emitted. this includes errors being emitted by ParamHistFuncs if the number of bins is incorrect.
  • the version tag has been correctly updated to 0.2
  • gaussians can now be imported with "normal_dist" as well, as described by the standard
  • the implementation is a bit more lenient when missing some values (e.g. ignoring cases where the histfactory modifier name has been omitted and instead just numbers the systematics)
  • the list of variables in the workspace is now no longer just filled from the parameter_points, but also from the domains, allowing cases where no parameter points are given to be imported successfully

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

@phsft-bot

Copy link
Copy Markdown

Can one of the admins verify this patch?

@guitargeek

Copy link
Copy Markdown
Contributor

@phsft-bot build

@phsft-bot

Copy link
Copy Markdown

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac12arm/cxx20, windows10/default
How to customize builds

@phsft-bot

Copy link
Copy Markdown

Build failed on ROOT-performance-centos8-multicore/soversion.
Running on olbdw-01.cern.ch:/data/sftnight/workspace/root-pullrequests-build
See console output.

Failing tests:

@phsft-bot

Copy link
Copy Markdown

Build failed on mac12arm/cxx20.
Running on 194.12.161.128:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@github-actions

github-actions Bot commented Dec 22, 2023

Copy link
Copy Markdown

Test Results

     9 files       9 suites   2d 6h 1m 24s ⏱️
 2 491 tests  2 482 ✅ 0 💤 9 ❌
21 387 runs  21 378 ✅ 0 💤 9 ❌

For more details on these failures, see this check.

Results for commit b7d87f83.

♻️ This comment has been updated with latest results.

Gaussians can now be imported with "normal_dist" as well, as described
by the standard.
Errors from the nlohmann_json importer are now correctly forwarded to
the user, rather than giving an unspecific "std_exception".
The implementation is a bit more lenient when missing some values (e.g.
ignoring cases where the histfactory modifier name has been omitted and
instead just numbers the systematics)
The list of variables in the workspace is now no longer just filled from
the parameter_points, but also from the domains, allowing cases where no
parameter points are given to be imported successfully.

Also, the HS3 version tag has been correctly updated to 0.2.
@guitargeek

Copy link
Copy Markdown
Contributor

@phsft-bot build

@phsft-bot

Copy link
Copy Markdown

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac12arm/cxx20, windows10/default
How to customize builds

@guitargeek guitargeek changed the title [RF][HS3] [RF][HS3] Fixes for ATLAS usecase Jan 22, 2024
@phsft-bot

Copy link
Copy Markdown

Build failed on mac12arm/cxx20.
Running on 194.12.161.128:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@phsft-bot

Copy link
Copy Markdown

Build failed on ROOT-performance-centos8-multicore/soversion.
Running on olbdw-01.cern.ch:/data/sftnight/workspace/root-pullrequests-build
See console output.

Failing tests:

@guitargeek
guitargeek force-pushed the hs3-bugfixes-63002-contd branch from d1deb38 to b7d87f8 Compare January 22, 2024 22:40
@guitargeek

Copy link
Copy Markdown
Contributor

@phsft-bot build

@phsft-bot

Copy link
Copy Markdown

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac12arm/cxx20, windows10/default
How to customize builds

@guitargeek
guitargeek merged commit 9fe2922 into root-project:master Jan 23, 2024
@guitargeek
guitargeek deleted the hs3-bugfixes-63002-contd branch January 23, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants