meta: 'Grid-PDF v2: FULL flavour content (Sigma,g,V,V3,T3,T8 x 6 nodes = 36 params) on REAL DIS data. Fixes PPDF-8 masked-flavour defect.'

#######################
# Data and theory specs
#######################

dataset_inputs:
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, variant: legacy_dw}
- {dataset: SLAC_NC_NOTFIXED_D_EM-F2, variant: legacy_dw}
- {dataset: BCDMS_NC_NOTFIXED_P_EM-F2, variant: legacy_dw}
- {dataset: BCDMS_NC_NOTFIXED_D_EM-F2, variant: legacy_dw}

theoryid: 40000000
use_cuts: internal

closure_test_level: false              # REAL DATA
closure_test_pdf: NNPDF40_nnlo_as_01180  # unused at level false; kept for config completeness
reduced_xgrid_data: True               # grid_pdf implementation artifact (see model example runcard)

#####################
# Loss function specs
#####################

positivity:
  posdatasets:
  - {dataset: NNPDF_POS_2P24GEV_F2U, variant: None, maxlambda: 1e6}

positivity_penalty_settings:
  positivity_penalty: false
  alpha: 1e-7
  lambda_positivity: 0

integrability_settings:
  integrability: False

use_t0_covmat: True
t0pdfset: NNPDF40_nnlo_as_01180

#############
# Model specs
#############
flavour_mapping: ["\\Sigma", "g", "V", "V3", "T3", "T8"]
grid_pdf_settings:
  xgrids:
    photon: []
    \Sigma: [0.01, 0.03, 0.08, 0.2, 0.4, 0.7]
    g: [0.01, 0.03, 0.08, 0.2, 0.4, 0.7]
    V: [0.01, 0.03, 0.08, 0.2, 0.4, 0.7]
    V3: [0.01, 0.03, 0.08, 0.2, 0.4, 0.7]
    V8: []
    V15: []
    V24: []
    V35: []
    T3: [0.01, 0.03, 0.08, 0.2, 0.4, 0.7]
    T8: [0.01, 0.03, 0.08, 0.2, 0.4, 0.7]
    T15: []
    T24: []
    T35: []

###################
# Methodology specs
###################

ultranest_settings:
  sampler_plot: true
  n_posterior_samples: 100
  ReactiveNS_settings:
    vectorized: False
    ndraw_max: 500
  Run_settings:
    min_num_live_points: 300
    min_ess: 50
    frac_remain: 0.1
  SliceSampler_settings:
    nsteps: 100                 # step sampler is ESSENTIAL at 24 dims; omission caused 0.003% eff stall

prior_settings:
  prior_distribution: 'uniform_pdf_prior'
  prior_distribution_specs:
    pdf_prior: NNPDF40_nnlo_as_01180
    nsigma: 5

actions_:
- run_ultranest_fit
