Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[df] Integrate Report action with systematic variations #17396

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vepadulano
Copy link
Member

This commit introduces the behaviour of the Report action in case systematic variations were requested, i.e. it is now possible to call VariationsFor(report). In order to create a different report per variation, the proper branch of the computation graph with the filters of the "varied universe" must be retrieved. This requires knowing which is the variation being requested when cloning the ReportHelper instance. To this end, the signature of the MakeNew protocol used by the action helpers is extended to optionally take the name of the variation being requested. When creating the varied helpers, the action also passes the name of the variation. A test for this new functionality has been added.

Fixes #10551

Copy link

github-actions bot commented Jan 10, 2025

Test Results

    16 files      16 suites   3d 18h 49m 56s ⏱️
 2 694 tests  2 694 ✅ 0 💤 0 ❌
41 700 runs  41 700 ✅ 0 💤 0 ❌

Results for commit 98b0a2e.

♻️ This comment has been updated with latest results.

This commit introduces the behaviour of the Report action in case
systematic variations were requested, i.e. it is now possible to call
VariationsFor(report). In order to create a different report per
variation, the proper branch of the computation graph with the filters
of the "varied universe" must be retrieved. This requires knowing
which is the variation being requested when cloning the ReportHelper
instance. To this end, the signature of the MakeNew protocol used by the
action helpers is extended to optionally take the name of the variation
being requested. When creating the varied helpers, the action also
passes the name of the variation. A test for this new functionality has
been added.
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.

Teach Vary to accept Report
1 participant