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

Update to new commondata names - n3fit #2031

Merged
merged 16 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/fitbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
env:
N3FIT_MAXNREP: 20 # total number of replicas to fit
POSTFIT_NREP: 16 # requested replicas for postfit
REFERENCE_SET: NNBOT-3df54cc4b-2024-03-17 # reference set for exact results
REFERENCE_SET: NNBOT-9fded1f04-2024-03-29 # reference set for exact results
STABLE_REFERENCE_SET: NNBOT-c0f99b7b3-2024-02-28 # reference set for last tag
CONDA_PY: 312
PYTHONHASHSEED: "0"
Expand Down
5 changes: 2 additions & 3 deletions doc/sphinx/source/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ be :ref:`readily installed<conda>`. In general the version of the code should be
preferred for producing new results, but see the compatibility policy below. The
main results, such as NNPDF 4.0 :cite:p:`nnpdf40` will be produced with a frozen
:ref:`tag <tags>`, a :ref:`conda environment <conda>` and a :ref:`docker image
<docker>` so that they can be :ref:`reproduced <reproduce40>` entirely.
<docker>` so that they can be reproduced entirely.

.. _tags:
Tags
Expand Down Expand Up @@ -45,8 +45,7 @@ significant releases since the code was made public are:
ancillary features for the NNPDF4.0 analysis and results, and extending
the documentation.
`Version 4.0.3 <https://github.com/NNPDF/nnpdf/releases/tag/4.0.3>`_
Used to :ref:`produce <reproduce40>` the NNPDF 4.0 :cite:p:`nnpdf40`
fits.
Used to produce the NNPDF 4.0 :cite:p:`nnpdf40` fits.

.. _compatibility_policy:
Compatibility Policy
Expand Down
167 changes: 0 additions & 167 deletions doc/sphinx/source/tutorials/reproduce.rst

This file was deleted.

26 changes: 8 additions & 18 deletions n3fit/runcards/examples/Basic_feature_scaling.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,27 @@
#
# Configuration file for n3fit
#

############################################################
description: Basic feature scaling
description: Basic feature scaling

############################################################
# frac: training fraction
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: SLACP, frac: 0.5}
- {dataset: NMCPD_dw_ite, frac: 0.75}
- {dataset: CMS_1JET_8TEV, frac: 0.75, cfac: [QCD]}
- {dataset: SLAC_NC_NOTFIXED_D_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: NMC_NC_NOTFIXED_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: CMS_1JET_8TEV_PTY, frac: 0.75, cfac: [], variant: legacy}

############################################################
datacuts:
t0pdfset : NNPDF40_nnlo_as_01180 # PDF set to generate t0 covmat
q2min : 3.49 # Q2 minimum
w2min : 12.5 # W2 minimum
combocuts : NNPDF31 # NNPDF3.0 final kin. cuts
jetptcut_tev : 0 # jet pt cut for tevatron
jetptcut_lhc : 0 # jet pt cut for lhc
wptcut_lhc : 30.0 # Minimum pT for W pT diff distributions
jetycut_tev : 1e30 # jet rap. cut for tevatron
jetycut_lhc : 1e30 # jet rap. cut for lhc
dymasscut_min: 0 # dy inv.mass. min cut
dymasscut_max: 1e30 # dy inv.mass. max cut
jetcfactcut : 1e30 # jet cfact. cut

############################################################
theory:
theoryid: 200 # database id
theoryid: 708 # database id
sampling:
separate_multiplicative: true

Expand Down Expand Up @@ -86,13 +76,13 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSFLL, maxlambda: 1e4 }
- {dataset: NNPDF_POS_2P24GEV_F2U, maxlambda: 1e6} # Positivity Lagrange Multiplier
- {dataset: NNPDF_POS_2P24GEV_FLL-19PTS, maxlambda: 1e6}

############################################################
integrability:
integdatasets:
- {dataset: INTEGXT3, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT3, maxlambda: 1e2}

############################################################
debug: True
Expand Down
90 changes: 42 additions & 48 deletions n3fit/runcards/examples/Basic_hyperopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,47 @@
#
############################################################
description: Hyperopt example

############################################################
# frac: training fraction
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
# Fixed target DIS
- {dataset: NMCPD_dw_ite, frac: 0.75}
- {dataset: NMC, frac: 0.75}
- {dataset: SLACP_dwsh, frac: 0.75}
- {dataset: SLACD_dw_ite, frac: 0.75}
- {dataset: BCDMSP_dwsh, frac: 0.75}
- {dataset: BCDMSD_dw_ite, frac: 0.75}
- {dataset: CHORUSNUPb_dw_ite, frac: 0.75}
- {dataset: CHORUSNBPb_dw_ite, frac: 0.75}
- {dataset: NTVNUDMNFe_dw_ite, frac: 0.75}
- {dataset: NTVNBDMNFe_dw_ite, frac: 0.75}
- {dataset: NMC_NC_NOTFIXED_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_D_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: BCDMS_NC_NOTFIXED_P_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: BCDMS_NC_NOTFIXED_D_DW_EM-F2, frac: 0.75, variant: legacy}
- {dataset: CHORUS_CC_NOTFIXED_PB_DW_NU-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: CHORUS_CC_NOTFIXED_PB_DW_NB-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: NUTEV_CC_NOTFIXED_FE_DW_NU-SIGMARED, cfac: [MAS], frac: 0.75, variant: legacy}
- {dataset: NUTEV_CC_NOTFIXED_FE_DW_NB-SIGMARED, cfac: [MAS], frac: 0.75, variant: legacy}
# HERA data
- {dataset: HERACOMBNCEM, frac: 0.75}
- {dataset: HERACOMBNCEP460, frac: 0.75}
- {dataset: HERACOMBNCEP575, frac: 0.75}
- {dataset: HERACOMBNCEP820, frac: 0.75}
- {dataset: HERACOMBNCEP920, frac: 0.75}
- {dataset: HERACOMBCCEM, frac: 0.75}
- {dataset: HERACOMBCCEP, frac: 0.75}
- {dataset: HERA_NC_318GEV_EM-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: HERA_NC_225GEV_EP-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: HERA_NC_251GEV_EP-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: HERA_NC_300GEV_EP-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: HERA_NC_318GEV_EP-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: HERA_CC_318GEV_EM-SIGMARED, frac: 0.75, variant: legacy}
- {dataset: HERA_CC_318GEV_EP-SIGMARED, frac: 0.75, variant: legacy}


############################################################
datacuts:
t0pdfset : NNPDF40_nnlo_as_01180 # PDF set to generate t0 covmat
q2min: 3.49 # Q2 minimum
w2min: 12.5 # W2 minimum
combocuts: NNPDF31 # NNPDF3.0 final kin. cuts
jetptcut_tev: 0 # jet pt cut for tevatron
jetptcut_lhc: 0 # jet pt cut for lhc
wptcut_lhc: 30.0 # Minimum pT for W pT diff distributions
jetycut_tev: 1e30 # jet rap. cut for tevatron
jetycut_lhc: 1e30 # jet rap. cut for lhc
dymasscut_min: 0 # dy inv.mass. min cut
dymasscut_max: 1e30 # dy inv.mass. max cut
jetcfactcut: 1e30 # jet cfact. cut

############################################################
theory:
theoryid: 200 # database id
theoryid: 708 # database id

sampling:
separate_multiplicative: true

############################################################
hyperscan_config:
stopping:
min_epochs: 1e3
Expand Down Expand Up @@ -89,23 +83,23 @@ kfold:
threshold: 20.0
partitions:
- datasets:
- HERACOMBCCEM
- HERACOMBNCEP460
- NMC
- NTVNBDMNFe_dw_ite
- HERA_CC_318GEV_EM-SIGMARED
- HERA_NC_225GEV_EP-SIGMARED
- NMC_NC_NOTFIXED_P_EM-SIGMARED
- NUTEV_CC_NOTFIXED_FE_DW_NB-SIGMARED
- datasets:
- HERACOMBCCEP
- HERACOMBNCEP575
- NMCPD_dw_ite
- NTVNUDMNFe_dw_ite
- HERA_CC_318GEV_EP-SIGMARED
- HERA_NC_251GEV_EP-SIGMARED
- NMC_NC_NOTFIXED_DW_EM-F2
- NUTEV_CC_NOTFIXED_FE_DW_NU-SIGMARED
- datasets:
- CHORUSNBPb_dw_ite
- HERACOMBNCEP820
- BCDMSD_dw_ite
- CHORUS_CC_NOTFIXED_PB_DW_NB-SIGMARED
- HERA_NC_300GEV_EP-SIGMARED
- BCDMS_NC_NOTFIXED_D_DW_EM-F2
- datasets:
- CHORUSNUPb_dw_ite
- HERACOMBNCEP920
- BCDMSP_dwsh
- CHORUS_CC_NOTFIXED_PB_DW_NU-SIGMARED
- HERA_NC_318GEV_EP-SIGMARED
- BCDMS_NC_NOTFIXED_P_DW_EM-F2

############################################################
trvlseed: 1
Expand Down Expand Up @@ -149,13 +143,13 @@ fitting:
############################################################
positivity:
posdatasets:
- {dataset: POSF2U, maxlambda: 1e6} # Positivity Lagrange Multiplier
- {dataset: POSF2DW, maxlambda: 1e6}
- {dataset: POSF2S, maxlambda: 1e6}
- {dataset: POSFLL, maxlambda: 1e6}
- {dataset: POSDYU, maxlambda: 1e10}
- {dataset: POSDYD, maxlambda: 1e10}
- {dataset: POSDYS, maxlambda: 1e10}
- {dataset: NNPDF_POS_2P24GEV_F2U, maxlambda: 1e6} # Positivity Lagrange Multiplier
- {dataset: NNPDF_POS_2P24GEV_F2D, maxlambda: 1e6}
- {dataset: NNPDF_POS_2P24GEV_F2S, maxlambda: 1e6}
- {dataset: NNPDF_POS_2P24GEV_F2C-17PTS, maxlambda: 1e6}
- {dataset: NNPDF_POS_2P24GEV_DYU, maxlambda: 1e10}
- {dataset: NNPDF_POS_2P24GEV_DYD, maxlambda: 1e10}
- {dataset: NNPDF_POS_2P24GEV_DYS, maxlambda: 1e10}

############################################################
debug: false
Loading