-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add per process chi² estimators #1200
Conversation
Make the big table group by process and add plots grouping chi² and phi by process, in addition to the existing ones by experiment.
@wilsonmr @siranipour any idea why I get something like this it seems to know what the group should be (and groups by process at some point) but then it uses experiments for some reason. |
This latter one is because one fit has the experiments set to DEUTERON and the other has them as separate experiments - that's what I was alluding to in #1196. For the first one I'm not sure why that happened - I'll take a look. |
FWIW this does what I expect... fits:
- 210226-n3fit-FD01
use_cuts: fromfit
DataGroups:
- metadata_group: nnpdf31_process
- metadata_group: experiment
template_text: |
{@DataGroups plot_fits_groups_data_chi2@}
actions_:
- report(main=True) |
Will take a look into it for you sheriff |
Could this have something to do?
|
It looks like that sort of error. But it shouldn't be that because you're not using the dataspecs in these actions right? |
Potentially, try rebasing on #1197, this is discussed there |
There is however this nnpdf/validphys2/src/validphys/results.py Line 960 in 332f141
I tried it with multiple fits and it still seems to work tho
|
Here a minimal example that fails. This works if I remove the first fits:
- 210222-n3fit-FD02
- 210226-n3fit-FD01
use_cuts: fromfit
DataGroups:
- metadata_group: nnpdf31_process
- metadata_group: experiment
template_text: |
{@fits_groups@}
{@with DataGroups@}
# {@processed_metadata_group@}
{@fits_groups@}
{@endwith@}
actions_:
- report(main=True) |
This appears to work with NNPDF/reportengine#47 |
Here the report: |
Looks good
|
Ignore that, it's just not right.. (I missed that one fit was collider only and didn't read the labels on the plot carefully) |
Could someone merge this please? |
Can I just confirm: this action will only work with the newest reportengine and we want these plots in the paper. But the tag includes reportengine before the fix required for this because you wanted to be safe not sorry. So how does producing these plots for the paper align with the policy? Or is that relaxed for producing reports? |
To quote from the policy as I wrote about it
This was in anticipation of people asking for updates in reports/plots for the paper, which would be unreasonable to repeat fits for. |
ok good, just double checking |
Make the big table group by process and add plots grouping
chi² and phi by process, in addition to the existing ones by experiment.
Closes #1198.