Skip to content

[RF] Replace legacy backend reference in tests with analytical results#22092

Merged
guitargeek merged 1 commit into
root-project:masterfrom
guitargeek:legacy_eval_backend
May 4, 2026
Merged

[RF] Replace legacy backend reference in tests with analytical results#22092
guitargeek merged 1 commit into
root-project:masterfrom
guitargeek:legacy_eval_backend

Conversation

@guitargeek
Copy link
Copy Markdown
Contributor

@guitargeek guitargeek commented Apr 28, 2026

Some RooFit unit tests previously used the legacy evaluation backend to produce reference fit results, either as a direct comparison or guarded by #ifdef ROOFIT_LEGACY_EVAL_BACKEND. They are rewritten to compare against analytically-computed reference values, so they now exercise the CPU backend whether or not the legacy backend is built.

Also, add missing #ifdef ROOFIT_LEGACY_EVAL_BACKEND guard to some tests in testLikelihoodGradientJob.cxx, because these tests check for bitwise equality with the legacy backend fit results.

@guitargeek guitargeek self-assigned this Apr 28, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

Test Results

    22 files      22 suites   3d 11h 42m 20s ⏱️
 3 850 tests  3 850 ✅ 0 💤 0 ❌
76 043 runs  76 043 ✅ 0 💤 0 ❌

Results for commit 6694be2.

♻️ This comment has been updated with latest results.

@guitargeek guitargeek force-pushed the legacy_eval_backend branch from eea4383 to fd1d445 Compare May 2, 2026 18:05
@guitargeek guitargeek changed the title [RF] Try CI run without the legacy evaluation backend [RF] Replace legacy backend reference in tests with analytical results May 2, 2026
@guitargeek guitargeek marked this pull request as ready for review May 2, 2026 18:08
@guitargeek guitargeek force-pushed the legacy_eval_backend branch from fd1d445 to a219a65 Compare May 2, 2026 18:29
Some RooFit unit tests previously used the legacy evaluation backend to
produce reference fit results, either as a direct comparison or guarded
by `#ifdef ROOFIT_LEGACY_EVAL_BACKEND`. They are rewritten to compare
against analytically-computed reference values, so they now exercise the
CPU backend whether or not the legacy backend is built.

Also, add missing `#ifdef ROOFIT_LEGACY_EVAL_BACKEND` guard to some
tests in `testLikelihoodGradientJob.cxx`, because these tests check for
bitwise equality with the legacy backend fit results.
@guitargeek guitargeek force-pushed the legacy_eval_backend branch from a219a65 to 6694be2 Compare May 3, 2026 06:51
Copy link
Copy Markdown
Member

@lmoneta lmoneta left a comment

Choose a reason for hiding this comment

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

LGTM!

@guitargeek guitargeek merged commit b2f7a03 into root-project:master May 4, 2026
30 checks passed
@guitargeek guitargeek deleted the legacy_eval_backend branch May 4, 2026 07:43
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.

2 participants