import json

from hflav_fair import bindings
from datetime import datetime


def beta_results_write():

    
    # averages


    # B -> ccbar K0
    
    ascp_ccK0 = bindings.AverageElement.from_dict(
        {
            "name": "S_CP_ccbarK0",
            "average": {
                "value": {
                    "central": 0.709393,
                    "uncertainty": 0.010713
                },
            }
        }
    )
    accp_ccK0 = bindings.AverageElement.from_dict(
        {
            "name": "C_CP_ccbarK0",
            "average": {
                "value": {
                    "central": 0.000253,
                    "uncertainty": 0.009644
                },
            }
        }
    )


    # B -> J/psi K*0

    asin2b_JpsiKst0 = bindings.AverageElement.from_dict(
        {
            "name": "sin2beta_Jpsi_K*0",
            "average": {
                "value": {
                    "central": 0.164342,
                    "uncertainty": 0.276874
                },
            }
        }
    )
    acos2b_JpsiKst0 = bindings.AverageElement.from_dict(
        {
            "name": "cos2beta_Jpsi_K*0",
            "average": {
                "value": {
                    "central": 1.636784,
                    "uncertainty": 0.622891
                },
            }
        }
    )


    # B -> D* D* Ks

    aJcJ0_DstDstKs = bindings.AverageElement.from_dict(
        {
            "name": "Jc_J0_D*+_D*-_K0S",
            "average": {
                "value": {
                    "central": 0.705915,
                    "uncertainty": 0.157135
                },
            }
        }
    )
    a2Js1J0_DstDstKs = bindings.AverageElement.from_dict(
        {
            "name": "2Js1_J0_D*+_D*-_K0S",
            "average": {
                "value": {
                    "central": 0.032747,
                    "uncertainty": 0.214374
                },
            }
        }
    )
    a2Js2J0_DstDstKs = bindings.AverageElement.from_dict(
        {
            "name": "2Js2_J0_D*+_D*-_K0S",
            "average": {
                "value": {
                    "central": 0.240019,
                    "uncertainty": 0.215194 
                },
            }
        }
    )


    # b -> c ubar d

    ascp_Dpi0 = bindings.AverageElement.from_dict(
        {
            "name": "sin2beta_D0cp_pi0",
            "average": {
                "value": {
                    "central": 0.66,
                    "uncertainty": 0.1
                },
            }
        }
    )
    accp_Dpi0 = bindings.AverageElement.from_dict(
        {
            "name": "CCP_D0cp_pi0",
            "average": {
                "value": {
                    "central": -0.02,
                    "uncertainty": 0.07
                },
            }
        }
    )
    asin2b_Dsth0_md = bindings.AverageElement.from_dict(
        {
            "name": "sin2beta_D*0_h0_model_dep",
            "average": {
                "value": {
                    "central": 0.80,
                    "uncertainty": 0.14
                },
            }
        }
    )
    acos2b_Dsth0_md = bindings.AverageElement.from_dict(
        {
            "name": "cos2beta_D*0_h0_model_dep",
            "average": {
                "value": {
                    "central": 0.91,
                    "uncertainty": 0.22
                },
            }
        }
    )
    asin2b_Dsth0_mi = bindings.AverageElement.from_dict(
        {
            "name": "sin2beta_D*0_h0_model_indep",
            "average": {
                "value": {
                    "central": 0.43,
                    "uncertainty": 0.27
                },
            }
        }
    )
    acos2b_Dsth0_mi = bindings.AverageElement.from_dict(
        {
            "name": "cos2beta_D*0_h0_model_indep",
            "average": {
                "value": {
                    "central": 1.06,
                    "uncertainty": 0.33
                },
            }
        }
    )
    

    # b -> c cbar d

    ascp_Jpsipi0 = bindings.AverageElement.from_dict(
        {
            "name": "SCP_Jpsi_pi0",
            "average": {
                "value": {
                    "central": -0.867056,
                    "uncertainty": 0.109783
                },
            }
        }
    )
    accp_Jpsipi0 = bindings.AverageElement.from_dict(
        {
            "name": "CCP_Jpsi_pi0",
            "average": {
                "value": {
                    "central": 0.083836,
                    "uncertainty": 0.084236
                },
            }
        }
    )
    ascp_DpDm = bindings.AverageElement.from_dict(
        {
            "name": "SCP_D+_D-",
            "average": {
                "value": {
                    "central": -0.691936,
                    "uncertainty": 0.074383
                },
            }
        }
    )
    accp_DpDm = bindings.AverageElement.from_dict(
        {
            "name": "CCP_D+_D-",
            "average": {
                "value": {
                    "central": -0.012200,
                    "uncertainty": 0.072392
                },
            }
        }
    )
    ascp_Jpsirho0 = bindings.AverageElement.from_dict(
        {
            "name": "SCP_Jpsi_rho0",
            "average": {
                "value": {
                    "central": -0.66,
                    "uncertainty": [-0.12, 0.13]
                },
            }
        }
    )
    accp_Jpsirho0 = bindings.AverageElement.from_dict(
        {
            "name": "CCP_Jpsi_rho0",
            "average": {
                "value": {
                    "central": -0.063,
                    "uncertainty": 0.056
                },
            }
        }
    )
    ascp_DstDst = bindings.AverageElement.from_dict(
        {
            "name": "SCP_D*+_D*-",
            "average": {
                "value": {
                    "central": -0.710712,
                    "uncertainty": 0.091280
                },
            }
        }
    )
    accp_DstDst = bindings.AverageElement.from_dict(
        {
            "name": "CCP_D*+_D*-",
            "average": {
                "value": {
                    "central": -0.005184,
                    "uncertainty": 0.052079
                },
            }
        }
    )
    arperp_DstDst = bindings.AverageElement.from_dict(
        {
            "name": "Rperp_D*+_D*-",
            "average": {
                "value": {
                    "central": 0.150784,
                    "uncertainty": 0.017436
                },
            }
        }
    )
    ascpp_DstD = bindings.AverageElement.from_dict(
        {
            "name": "SCP+_D*+_D-",
            "average": {
                "value": {
                    "central": -0.76,
                    "uncertainty": 0.16
                },
            }
        }
    )
    accpp_DstD = bindings.AverageElement.from_dict(
        {
            "name": "CCP+_D*+_D-",
            "average": {
                "value": {
                    "central": 0.02,
                    "uncertainty": 0.12
                },
            }
        }
    )
    ascpm_DstD = bindings.AverageElement.from_dict(
        {
            "name": "SCP-_D*+_D-",
            "average": {
                "value": {
                    "central": -1.81,
                    "uncertainty": 0.71
                },
            }
        }
    )
    accpm_DstD = bindings.AverageElement.from_dict(
        {
            "name": "CCP-_D*+_D-",
            "average": {
                "value": {
                    "central": 0.41,
                    "uncertainty": 0.5
                },
            }
        }
    )
    arperp_DstD = bindings.AverageElement.from_dict(
        {
            "name": "Rperp_D*+_D-",
            "average": {
                "value": {
                    "central": 0.155,
                    "uncertainty": 0.030
                },
            }
        }
    )
    as_DstD = bindings.AverageElement.from_dict(
        {
            "name": "S_D*+_D-",
            "average": {
                "value": {
                    "central": -0.809206,
                    "uncertainty": 0.062296
                },
            }
        }
    )
    ac_DstD = bindings.AverageElement.from_dict(
        {
            "name": "C_D*+_D-",
            "average": {
                "value": {
                    "central": -0.009243,
                    "uncertainty": 0.062216
                },
            }
        }
    )
    adeltas_DstD = bindings.AverageElement.from_dict(
        {
            "name": "DeltaS_D*+_D-",
            "average": {
                "value": {
                    "central": 0.019758,
                    "uncertainty": 0.059718
                },
            }
        }
    )
    adeltac_DstD = bindings.AverageElement.from_dict(
        {
            "name": "DeltaC_D*+_D-",
            "average": {
                "value": {
                    "central": 0.026841,
                    "uncertainty": 0.061408
                },
            }
        }
    )
    aa_DstD = bindings.AverageElement.from_dict(
        {
            "name": "A_D*+_D-",
            "average": {
                "value": {
                    "central": 0.011544,
                    "uncertainty": 0.014059
                },
            }
        }
    )
    ascp_BsJpsiKs = bindings.AverageElement.from_dict(
        {
            "name": "SCP_Bs0_Jpsi_K0S",
            "average": {
                "value": {
                    "central": 0.49,
                    "uncertainty": [-0.65, 0.77]
                },
            }
        }
    )
    accp_BsJpsiKs = bindings.AverageElement.from_dict(
        {
            "name": "CCP_Bs0_Jpsi_K0S",
            "average": {
                "value": {
                    "central": -0.28,
                    "uncertainty": 0.41
                },
            }
        }
    )
    adeltagamma_BsJpsiKs = bindings.AverageElement.from_dict(
        {
            "name": "DeltaGamma_Bs0_Jpsi_K0S",
            "average": {
                "value": {
                    "central": -0.08,
                    "uncertainty": 0.4
                },
            }
        }
    )

    
    # b -> qqs penguins
    
    ascp_phiK0 = bindings.AverageElement.from_dict(
        {
            "name": "SCP_phi_K0",
            "average": {
                "value": {
                    "central": 0.737288,
                    "uncertainty": 0.116125
                },
            }
        }
    )
    accp_phiK0 = bindings.AverageElement.from_dict(
        {
            "name": "CCP_phi_K0",
            "average": {
                "value": {
                    "central": -0.092401,
                    "uncertainty": 0.117832
                },
            }
        }
    )
    ascp_etapK0 = bindings.AverageElement.from_dict(
        {
            "name": "SCP_etaprime_K0",
           "average": {
                "value": {
                    "central": 0.638598,
                    "uncertainty": 0.049440
                },
            }
        }
    )
    accp_etapK0 = bindings.AverageElement.from_dict(
        {
            "name": "CCP_etaprime_K0",
            "average": {
                "value": {
                    "central": -0.079676,
                    "uncertainty": 0.038448
                },
            }
        }
    )
    ascp_KsKsKs = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K0S_K0S_K0S",
            "average": {
                "value": {
                    "central": 0.829607,
                    "uncertainty": 0.165013
                },
            }
        }
    )
    accp_KsKsKs = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K0S_K0S_K0S",
            "average": {
                "value": {
                    "central": -0.148955,
                    "uncertainty":0.123717 
                },
            }
        }
    )
    ascp_pi0Ks = bindings.AverageElement.from_dict(
        {
            "name": "SCP_pi0_K0S",
            "average": {
                "value": {
                    "central": 0.639252,
                    "uncertainty": 0.134576
                },
            }
        }
    )
    accp_pi0Ks = bindings.AverageElement.from_dict(
        {
            "name": "CCP_pi0_K0S",
            "average": {
                "value": {
                    "central": -0.006325,
                    "uncertainty": 0.082274
                },
            }
        }
    )
    ascp_rho0Ks = bindings.AverageElement.from_dict(
        {
            "name": "SCP_rho0_K0S",
            "average": {
                "value": {
                    "central": 0.5419931419472085,
                    "uncertainty": [-0.2113712852168333, 0.18136365726801573]
                },
            }
        }
    )
    accp_rho0Ks = bindings.AverageElement.from_dict(
        {
            "name": "CCP_rho0_K0S",
            "average": {
                "value": {
                    "central": -0.055095,
                    "uncertainty": 0.19517 
                },
            }
        }
    )
    ascp_f0Ks = bindings.AverageElement.from_dict(
        {
            "name": "SCP_f0_K0S",
            "average": {
                "value": {
                    "central": 0.69,
                    "uncertainty": [-0.12, 0.10]
                },
            }
        }
    )
    accp_f0Ks = bindings.AverageElement.from_dict(
        {
            "name": "CCP_f0_K0S",
            "average": {
                "value": {
                    "central": 0.14,
                    "uncertainty": 0.12
                },
            }
        }
    )
    ascp_omegaKs = bindings.AverageElement.from_dict(
        {
            "name": "SCP_omega_K0S",
            "average": {
                "value": {
                    "central": 0.712534,
                    "uncertainty": 0.209918
                },
            }
        }
    )
    accp_omegaKs = bindings.AverageElement.from_dict(
        {
            "name": "CCP_omega_K0S",
            "average": {
                "value": {
                    "central": -0.044591,
                    "uncertainty": 0.144128
                },
            }
        }
    )
    ascp_f2Ks = bindings.AverageElement.from_dict(
        {
            "name": "SCP_f2_K0S",
            "average": {
                "value": {
                    "central": 0.50,
                    "uncertainty": [-0.60, 0.41]
                },
            }
        }
    )
    accp_f2Ks = bindings.AverageElement.from_dict(
        {
            "name": "CCP_f2_K0S",
            "average": {
                "value": {
                    "central": 0.28,
                    "uncertainty": [-0.40, 0.35]
                },
            }
        }
    )
    ascp_fXKs = bindings.AverageElement.from_dict(
        {
            "name": "SCP_fX_K0S",
            "average": {
                "value": {
                    "central": 0.20,
                    "uncertainty": [-0.52, 0.47]
                },
            }
        }
    )
    accp_fXKs = bindings.AverageElement.from_dict(
        {
            "name": "CCP_fX_K0S",
            "average": {
                "value": {
                    "central": 0.13,
                    "uncertainty": [-0.35, 0.33]
                },
            }
        }
    )
    ascp_pi0pi0Ks = bindings.AverageElement.from_dict(
        {
            "name": "SCP_pi0_pi0_K0S",
            "average": {
                "value": {
                    "central": 0.661669,
                    "uncertainty": 0.284514 
                },
            }
        }
    )
    accp_pi0pi0Ks = bindings.AverageElement.from_dict(
        {
            "name": "CCP_pi0_pi0_K0S",
            "average": {
                "value": {
                    "central": -0.212727,
                    "uncertainty": 0.198558
                },
            }
        }
    )
    ascp_phiKspi0 = bindings.AverageElement.from_dict(
        {
            "name": "SCP_phi_K0S_pi0",
            "average": {
                "value": {
                    "central": 0.97,
                    "uncertainty": [-0.52, 0.03]
                },
            }
        }
    )
    accp_phiKspi0 = bindings.AverageElement.from_dict(
        {
            "name": "CCP_phi_K0S_pi0",
            "average": {
                "value": {
                    "central": -0.20,
                    "uncertainty": 0.14
                },
            }
        }
    )
    ascp_pipiKs = bindings.AverageElement.from_dict(
        {
            "name": "SCP_pi_pi_K0S",
            "average": {
                "value": {
                    "central": 0.01,
                    "uncertainty": 0.30
                },
            }
        }
    )
    accp_pipiKs = bindings.AverageElement.from_dict(
        {
            "name": "CCP_pi_pi_K0S",
            "average": {
                "value": {
                    "central": 0.01,
                    "uncertainty": 0.25
                },
            }
        }
    )
    aacp_f0Ks = bindings.AverageElement.from_dict(
        {
            "name": "ACP_f0_K0S",
            "average": {
                "value": {
                    "central": -0.288368,
                    "uncertainty": 0.195667
                },
            }
        }
    )
    aacp_KKKs_nr = bindings.AverageElement.from_dict(
        {
            "name": "ACP_K_K_K0S_nonresonant",
            "average": {
                "value": {
                    "central": -0.055661,
                    "uncertainty": 0.077413
                },
            }
        }
    )
    aacp_phiKs = bindings.AverageElement.from_dict(
        {
            "name": "ACP_phi_K0S",
            "average": {
                "value": {
                    "central": -0.010567,
                    "uncertainty": 0.139858
                },
            }
        }
    )
    abeta_f0Ks = bindings.AverageElement.from_dict(
        {
            "name": "beta_f0_K0S",
            "average": {
                "value": {
                    "central": 21.900686,
                    "uncertainty": 5.886741
                },
            }
        }
    )
    abeta_KKKs_nr = bindings.AverageElement.from_dict(
        {
            "name": "beta_K_K_K0S_nonresonant",
            "average": {
                "value": {
                    "central": 21.549395,
                    "uncertainty": 3.739120
                },
            }
        }
    )
    abeta_phiKs = bindings.AverageElement.from_dict(
        {
            "name": "beta_phi_K0S",
            "average": {
                "value": {
                    "central": 24.340987,
                    "uncertainty": 5.186676
                },
            }
        }
    )
    aacp_f0Ks = bindings.AverageElement.from_dict(
        {
            "name": "ACP_f0_K0S",
            "average": {
                "value": {
                    "central": -0.074193,
                    "uncertainty": 0.141026
                },
            }
        }
    )
    aacp_rho0Ks = bindings.AverageElement.from_dict(
        {
            "name": "ACP_rho0_K0S",
            "average": {
                "value": {
                    "central": 0.055095,
                    "uncertainty": 0.195170 
                },
            }
        }
    )
    abeta_f0Ks = bindings.AverageElement.from_dict(
        {
            "name": "beta_f0_K0S",
            "average": {
                "value": {
                    "central": 20.546234,
                    "uncertainty": 6.212263
                },
            }
        }
    )
    abeta_rho0Ks = bindings.AverageElement.from_dict(
        {
            "name": "beta_rho0_K0S",
            "average": {
                "value": {
                    "central": 16.409712,
                    "uncertainty": 6.756450
                },
            }
        }
    )
    aacp_f2Ks = bindings.AverageElement.from_dict(
        {
            "name": "beta_f0_K0S",
            "average": {
                "value": {
                    "central": -0.28,
                    "uncertainty": [-0.35, 0.4]
                },
            }
        }
    )
    abeta_f2Ks = bindings.AverageElement.from_dict(
        {
            "name": "beta_f0_K0S",
            "average": {
                "value": {
                    "central": 14.9,
                    "uncertainty": 17.9
                },
            }
        }
    )
    aacp_fXKs = bindings.AverageElement.from_dict(
        {
            "name": "beta_f0_K0S",
            "average": {
                "value": {
                    "central": -0.13,
                    "uncertainty": [-0.33, 0.35]
                },
            }
        }
    )
    abeta_fXKs = bindings.AverageElement.from_dict(
        {
            "name": "beta_f0_K0S",
            "average": {
                "value": {
                    "central": 5.8,
                    "uncertainty": 15.2
                },
            }
        }
    )    
    ascp_BsKK = bindings.AverageElement.from_dict(
        {
            "name": "SCP_Bs0_K_K",
            "average": {
                "value": {
                    "central": 0.139,
                    "uncertainty": 0.032
                },
            }
        }
    )
    accp_BsKK = bindings.AverageElement.from_dict(
        {
            "name": "CCP_Bs0_K_K",
            "average": {
                "value": {
                    "central": 0.172,
                    "uncertainty": 0.031
                },
            }
        }
    )
    aDG_BsKK = bindings.AverageElement.from_dict(
        {
            "name": "A_DeltaGamma_Bs0_K_K",
            "average": {
                "value": {
                    "central": -0.897,
                    "uncertainty": 0.087
                },
            }
        }
    )
    
        
    # b -> q qbar d
    
    ascp_KsKs = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K0S_K0S",
            "average": {
                "value": {
                    "central": -1.084790,
                    "uncertainty": 0.491614
                },
            }
        }
    )
    accp_KsKs = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K0S_K0S",
            "average": {
                "value": {
                    "central": -0.064438,
                    "uncertainty": 0.258761
                },
            }
        }
    )


    # b -> s gamma

    ascp_Kst0gamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K*0_gamma",
            "average": {
                "value": {
                    "central": -0.087126,
                    "uncertainty": 0.171237
                },
            }
        }
    )
    accp_Kst0gamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K*0_gamma",
            "average": {
                "value": {
                    "central": 0.033437,
                    "uncertainty": 0.095990
                },
            }
        }
    )
    ascp_Kspi0gamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K0S_pi0_gamma",
            "average": {
                "value": {
                    "central": -0.075872,
                    "uncertainty": 0.151773
                },
            }
        }
    )
    accp_Kspi0gamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K0S_pi0_gamma",
            "average": {
                "value": {
                    "central": 0.000085,
                    "uncertainty": 0.084505
                },
            }
        }
    )
    ascp_Ksetagamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K0S_eta_gamma",
            "average": {
                "value": {
                    "central": -0.490451,
                    "uncertainty": 0.423934
                },
            }
        }
    )
    accp_Ksetagamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K0S_eta_gamma",
            "average": {
                "value": {
                    "central": 0.059196,
                    "uncertainty": 0.288669
                },
            }
        }
    )
    ascp_Kspipigamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K0S_pi_pi_gamma",
            "average": {
                "value": {
                    "central": -0.211673,
                    "uncertainty": 0.108911
                },
            }
        }
    )
    accp_Kspipigamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K0S_pi_pi_gamma",
            "average": {
                "value": {
                    "central": -0.209343,
                    "uncertainty": 0.088466
                },
            }
        }
    )
    ascp_Ksphigamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_K0S_phi_gamma",
            "average": {
                "value": {
                    "central": 0.74,
                    "uncertainty": [-1.05, 0.72]
                },
            }
        }
    )
    accp_Ksphigamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_K0S_phi_gamma",
            "average": {
                "value": {
                    "central": -0.35,
                    "uncertainty": 0.58
                },
            }
        }
    )
    ascp_Bsphigamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_Bs0_phi_gamma",
            "average": {
                "value": {
                    "central": 0.43,
                    "uncertainty": 0.30
                },
            }
        }
    )
    accp_Bsphigamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_Bs0_phi_gamma",
            "average": {
                "value": {
                    "central": 0.11,
                    "uncertainty": 0.29
                },
            }
        }
    )
    aDG_Bsphigamma = bindings.AverageElement.from_dict(
        {
            "name": "A_DeltaGamma_Bs0_phi_gamma",
            "average": {
                "value": {
                    "central": -0.67,
                    "uncertainty": [-0.41, 0.37]
                },
            }
        }
    )
    ascp_rhogamma = bindings.AverageElement.from_dict(
        {
            "name": "SCP_rho0_gamma",
            "average": {
                "value": {
                    "central": -0.83,
                    "uncertainty": 0.65
                },
            }
        }
    )
    accp_rhogamma = bindings.AverageElement.from_dict(
        {
            "name": "CCP_rho0_gamma",
            "average": {
                "value": {
                    "central": 0.44,
                    "uncertainty": 0.49
                },
            }
        }
    )

    
    

    #### Inputs

    # B -> ccbar K0 results
    
    is_ccK0_1 = bindings.Input.from_dict(
        {
            "name": "S_CP ccs BaBar 2009",
            "sources": [
                {
                    "name": "BaBar2009byl",
                    "references": {
                        "bibtex": "BaBar:2009byl",
                        "pub": "PRD 79 (2009) 072009",
                        "doi": "10.1103/PhysRevD.79.072009",
                        "arxiv": "0902.1708"
                    },
                    "value": {
                        "central": 0.687,
                        "statistical": 0.028,
                        "systematic": 0.012
                    }
                }
            ]
        }
    )
    is_ccK0_2 = bindings.Input.from_dict(
        {
            "name": "S_CP ccs Belle 2012",
            "sources": [
                {
                    "name": "Belle2012paq",
                    "references": {
                        "bibtex": "Belle:2012paq",
                        "pub": "PRL 108 (2012) 171802",
                        "doi": "10.1103/PhysRevLett.108.171802",
                        "arxiv": "1201.4643"
                    },
                    "value": {
                        "central": 0.667,
                        "statistical": 0.023,
                        "systematic": 0.012
                    }
                }
            ]
        }
    )
    is_ccK0_3 = bindings.Input.from_dict(
        {
            "name": "S_CP ccs Belle II 2024",
            "sources": [
                {
                    "name": "Belle-II2024lwr",
                    "references": {
                        "bibtex": "Belle-II:2024lwr",
                        "pub": "PRD 110 (2024) 012001",
                        "doi": "10.1103/PhysRevD.110.012001",
                        "arxiv": "2402.17260"
                    },
                    "value": {
                        "central": 0.724,
                        "statistical": 0.035,
                        "systematic": 0.009
                    }
                }
            ]
        }
    )
    is_ccK0_4 = bindings.Input.from_dict(
        {
            "name": "S_CP ccs LHCb 2024",
            "sources": [
                {
                    "name": "LHCb2023zcp",
                    "references": {
                        "bibtex": "LHCb:2023zcp",
                        "pub": "PRL 132 (2024) 021801",
                        "doi": "10.1103/PhysRevLett.132.021801",
                        "arxiv": "2309.09728"
                    },
                    "value": {
                        "central": 0.724,
                        "statistical": 0.014,
                        "systematic": 0.
                    }
                }
            ]
        }
    ) 
    
    ic_ccK0_1 = bindings.Input.from_dict(
        {
            "name": "C_CP ccs BaBar 2009",
            "sources": [
                {
                    "name": "BaBar2009byl",
                    "references": {
                        "bibtex": "BaBar:2009byl",
                        "pub": "PRD 79 (2009) 072009",
                        "doi": "10.1103/PhysRevD.79.072009",
                        "arxiv": "0902.1708"
                    },
                    "value": {
                        "central": 0.024,
                        "statistical": 0.020,
                        "systematic": 0.016
                    }
                }
            ]
        }
    )
    ic_ccK0_2 = bindings.Input.from_dict(
        {
            "name": "C_CP ccs Belle 2012",
            "sources": [
                {
                    "name": "Belle2012paq",
                    "references": {
                        "bibtex": "Belle:2012paq",
                        "pub": "PRL 108 (2012) 171802",
                        "doi": "10.1103/PhysRevLett.108.171802",
                        "arxiv": "1201.4643"
                    },
                    "value": {
                        "central": -0.006,
                        "statistical": 0.016,
                        "systematic": 0.012
                    }
                }
            ]
        }
    )
    ic_ccK0_3 = bindings.Input.from_dict(
        {
            "name": "C_CP ccs Belle II 2024",
            "sources": [
                {
                    "name": "Belle-II2024lwr",
                    "references": {
                        "bibtex": "Belle-II:2024lwr",
                        "pub": "PRD 110 (2024) 012001",
                        "doi": "10.1103/PhysRevD.110.012001",
                        "arxiv": "2402.17260"
                    },
                    "value": {
                        "central": -0.035,
                        "statistical": 0.026,
                        "systematic": 0.029
                    }
                }
            ]
        }
    )
    ic_ccK0_4 = bindings.Input.from_dict(
        {
            "name": "C_CP ccs LHCb 2024",
            "sources": [
                {
                    "name": "LHCb2023zcp",
                    "references": {
                        "bibtex": "LHCb:2023zcp",
                        "pub": "PRL 132 (2024) 021801",
                        "doi": "10.1103/PhysRevLett.132.021801",
                        "arxiv": "2309.09728"
                    },
                    "value": {
                        "central": 0.004,
                        "statistical": 0.012,
                        "systematic": 0.
                    }
                }
            ]
        }
    ) 


    # B -> J/psi K* results

    isin2b_JpsiKst0_1 = bindings.Input.from_dict(
        {
            "name": "sin2beta_Jpsi_K*0",
            "sources": [
                {
                    "name": "BaBar:2004xhu",
                    "references": {
                        "bibtex": "BaBar:2004xhu",
                        "pub": "PRD 71, 032005 (2005)",
                        "doi": "10.1103/PhysRevD.71.032005",
                        "arxiv": "hep-ex/0411016"
                    },
                    "value": {
                        "central": -0.1,
                        "statistical": 0.57,
                        "systematic": 0.14
                    }
                }
            ]
        }
    )
    icos2b_JpsiKst0_1 = bindings.Input.from_dict(
        {
            "name": "cos2beta_Jpsi_K*0",
            "sources": [
                {
                    "name": "BaBar:2004xhu",
                    "references": {
                        "bibtex": "BaBar:2004xhu",
                        "pub": "PRD 71, 032005 (2005)",
                        "doi": "10.1103/PhysRevD.71.032005",
                        "arxiv": "hep-ex/0411016"
                    },
                    "value": {
                        "central": 3.32,
                        "statistical": [-0.96, 0.76],
                        "systematic": 0.27
                    }
                }
            ]
        }
    )
    isin2b_JpsiKst0_2 = bindings.Input.from_dict(
        {
            "name": "sin2beta_Jpsi_K*0",
            "sources": [
                {
                    "name": "Belle:2005qtf",
                    "references": {
                        "bibtex": "Belle:2005qtf",
                        "pub": "PRL 95 091601 (2005)",
                        "doi": "10.1103/PhysRevLett.95.091601",
                        "arxiv": "hep-ex/0504030"
                    },
                    "value": {
                        "central": 0.24,
                        "statistical": 0.31,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    icos2b_JpsiKst0_2 = bindings.Input.from_dict(
        {
            "name": "cos2beta_Jpsi_K*0",
            "sources": [
                {
                    "name": "Belle:2005qtf",
                    "references": {
                        "bibtex": "Belle:2005qtf",
                        "pub": "PRL 95 091601 (2005)",
                        "doi": "10.1103/PhysRevLett.95.091601",
                        "arxiv": "hep-ex/0504030"
                    },
                    "value": {
                        "central": 0.56,
                        "statistical": 0.79,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )


    # B -> D* D* Ks results

    iJcJ0_DstDstKs_1 = bindings.Input.from_dict(
        {
            "name": "Jc_J0_D*+_D*-_K0S",
            "sources": [
                {
                    "name": "BaBar:2006asx",
                    "references": {
                        "bibtex": "BaBar:2006asx",
                        "pub": "PRD 74, 091101 (2006)",
                        "doi": "10.1103/PhysRevD.74.091101",
                        "arxiv": "hep-ex/0608016"
                    },
                    "value": {
                        "central": 0.76,
                        "statistical": 0.18,
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    i2Js1J0_DstDstKs_1 = bindings.Input.from_dict(
        {
            "name": "2Js1_J0_D*+_D*-_K0S",
            "sources": [
                {
                    "name": "BaBar:2006asx",
                    "references": {
                        "bibtex": "BaBar:2006asx",
                        "pub": "PRD 74, 091101 (2006)",
                        "doi": "10.1103/PhysRevD.74.091101",
                        "arxiv": "hep-ex/0608016"
                    },
                    "value": {
                        "central": 0.1,
                        "statistical": 0.24,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    i2Js2J0_DstDstKs_1 = bindings.Input.from_dict(
        {
            "name": "2Js2_J0_D*+_D*-_K0S",
            "sources": [
                {
                    "name": "BaBar:2006asx",
                    "references": {
                        "bibtex": "BaBar:2006asx",
                        "pub": "PRD 74, 091101 (2006)",
                        "doi": "10.1103/PhysRevD.74.091101",
                        "arxiv": "hep-ex/0608016"
                    },
                    "value": {
                        "central": 0.38,
                        "statistical": 0.24,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    iJcJ0_DstDstKs_2 = bindings.Input.from_dict(
        {
            "name": "Jc_J0_D*+_D*-_K0S",
            "sources": [
                {
                    "name": "Belle:2007fld",
                    "references": {
                        "bibtex": "Belle:2007fld",
                        "pub": "PRD 76, 072004 (2007)",
                        "doi": "10.1103/PhysRevD.76.072004",
                        "arxiv": "0706.2045"
                    },
                    "value": {
                        "central": 0.6,
                        "statistical": [-0.28, 0.25],
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    i2Js1J0_DstDstKs_2 = bindings.Input.from_dict(
        {
            "name": "2Js1_J0_D*+_D*-_K0S",
            "sources": [
                {
                    "name": "Belle:2007fld",
                    "references": {
                        "bibtex": "Belle:2007fld",
                        "pub": "PRD 76, 072004 (2007)",
                        "doi": "10.1103/PhysRevD.76.072004",
                        "arxiv": "0706.2045"
                    },
                    "value": {
                        "central": -0.17,
                        "statistical": 0.42,
                        "systematic": 0.09
                    }
                }
            ]
        }
    )
    i2Js2J0_DstDstKs_2 = bindings.Input.from_dict(
        {
            "name": "2Js2_J0_D*+_D*-_K0S",
            "sources": [
                {
                    "name": "Belle:2007fld",
                    "references": {
                        "bibtex": "Belle:2007fld",
                        "pub": "PRD 76, 072004 (2007)",
                        "doi": "10.1103/PhysRevD.76.072004",
                        "arxiv": "0706.2045"
                    },
                    "value": {
                        "central": -0.23,
                        "statistical": [-0.41, 0.43],
                        "systematic": 0.13
                    }
                }
            ]
        }
    )


    # b -> c ubar d

    iscp_D0pi0 = bindings.Input.from_dict(
        {
            "name": "sin2beta_D0cp_pi0",
            "sources": [
                {
                    "name": "BaBar:2015oxm",
                    "references": {
                        "bibtex": "BaBar:2015oxm",
                        "pub": "PRL 115 (2015) 121604",
                        "doi": "10.1103/PhysRevLett.115.121604",
                        "arxiv": "1505.04147"
                    },
                    "value": {
                        "central": 0.66,
                        "statistical": 0.1,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    iccp_D0pi0 = bindings.Input.from_dict(
        {
            "name": "CCP_D0cp_pi0",
            "sources": [
                {
                    "name": "BaBar:2015oxm",
                    "references": {
                        "bibtex": "BaBar:2015oxm",
                        "pub": "PRL 115 (2015) 121604",
                        "doi": "10.1103/PhysRevLett.115.121604",
                        "arxiv": "1505.04147"
                    },
                    "value": {
                        "central": -0.02,
                        "statistical": 0.07,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    isin2b_Dsth0_md = bindings.Input.from_dict(
        {
            "name": "sin2beta_D*0_h0_model_dep",
            "sources": [
                {
                    "name": "BaBar:2018agf",
                    "references": {
                        "bibtex": "BaBar:2018agf",
                        "pub": "PRL 121 (2018) 261801",
                        "doi": "10.1103/PhysRevLett.121.261801",
                        "arxiv": "1804.06152"
                    },
                    "value": {
                        "central": 0.80,
                        "statistical": 0.14,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    icos2b_Dsth0_md = bindings.Input.from_dict(
        {
            "name": "cos2beta_D*0_h0_model_dep",
            "sources": [
                {
                    "name": "BaBar:2018agf",
                    "references": {
                        "bibtex": "BaBar:2018agf",
                        "pub": "PRL 121 (2018) 261801",
                        "doi": "10.1103/PhysRevLett.121.261801",
                        "arxiv": "1804.06152"
                    },
                    "value": {
                        "central": 0.91,
                        "statistical": 0.22,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    isin2b_Dsth0_mi = bindings.Input.from_dict(
        {
            "name": "sin2beta_D*0_h0_model_indep",
            "sources": [
                {
                    "name": "Belle:2016ckr",
                    "references": {
                        "bibtex": "Belle:2016ckr",
                        "pub": "PRD 94 (2016) 052004",
                        "doi": "10.1103/PhysRevD.94.052004",
                        "arxiv": "1607.05813"
                    },
                    "value": {
                        "central": 0.43,
                        "statistical": 0.27,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    icos2b_Dsth0_mi = bindings.Input.from_dict(
        {
            "name": "cos2beta_D*0_h0_model_indep",
            "sources": [
                {
                    "name": "Belle:2016ckr",
                    "references": {
                        "bibtex": "Belle:2016ckr",
                        "pub": "PRD 94 (2016) 052004",
                        "doi": "10.1103/PhysRevD.94.052004",
                        "arxiv": "1607.05813"
                    },
                    "value": {
                        "central": 1.06,
                        "statistical": 0.33,
                        "systematic": [-0.15, 0.21]
                    }
                }
            ]
        }
    )


    # b -> c cbar d

    iscp_Jpsipi0_1 = bindings.Input.from_dict(
        {
            "name": "SCP_Jpsi_pi0",
            "sources": [
                {
                    "name": "BaBar:2008kfx",
                    "references": {
                        "bibtex": "BaBar:2008kfx",
                        "pub": "PRL 101 (2008) 021801",
                        "doi": "10.1103/PhysRevLett.101.021801",
                        "arxiv": "0804.0896"
                    },
                    "value": {
                        "central": -1.23,
                        "statistical": 0.21,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    iccp_Jpsipi0_1 = bindings.Input.from_dict(
        {
            "name": "CCP_Jpsi_pi0",
            "sources": [
                {
                    "name": "BaBar:2008kfx",
                    "references": {
                        "bibtex": "BaBar:2008kfx",
                        "pub": "PRL 101 (2008) 021801",
                        "doi": "10.1103/PhysRevLett.101.021801",
                        "arxiv": "0804.0896"
                    },
                    "value": {
                        "central": -0.2,
                        "statistical": 0.19,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iscp_Jpsipi0_2 = bindings.Input.from_dict(
        {
            "name": "SCP_Jpsi_pi0",
            "sources": [
                {
                    "name": "Belle:2018nxw",
                    "references": {
                        "bibtex": "Belle:2018nxw",
                        "pub": "PRD 98 (2018) 112008(R)",
                        "doi": "10.1103/PhysRevD.98.112008",
                        "arxiv": "1810.01356"
                    },
                    "value": {
                        "central": -0.59,
                        "statistical": 0.19,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_Jpsipi0_2 = bindings.Input.from_dict(
        {
            "name": "CCP_Jpsi_pi0",
            "sources": [
                {
                    "name": "Belle:2018nxw",
                    "references": {
                        "bibtex": "Belle:2018nxw",
                        "pub": "PRD 98 (2018) 112008(R)",
                        "doi": "10.1103/PhysRevD.98.112008",
                        "arxiv": "1810.01356"
                    },
                    "value": {
                        "central": 0.15,
                        "statistical": 0.14,
                        "systematic": 0.035
                    }
                }
            ]
        }
    )
    iscp_Jpsipi0_3 = bindings.Input.from_dict(
        {
            "name": "SCP_Jpsi_pi0",
            "sources": [
                {
                    "name": "Belle-II:2024hqw",
                    "references": {
                        "bibtex": "Belle-II:2024hqw",
                        "pub": "PRD 111 (2025) 012011",
                        "doi": "10.1103/PhysRevD.111.012011",
                        "arxiv": "2410.08622"
                    },
                    "value": {
                        "central": -0.88,
                        "statistical": 0.17,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_Jpsipi0_3 = bindings.Input.from_dict(
        {
            "name": "CCP_Jpsi_pi0",
            "sources": [
                {
                    "name": "Belle-II:2024hqw",
                    "references": {
                        "bibtex": "Belle-II:2024hqw",
                        "pub": "PRD 111 (2025) 012011",
                        "doi": "10.1103/PhysRevD.111.012011",
                        "arxiv": "2410.08622"
                    },
                    "value": {
                        "central": 0.13,
                        "statistical": 0.12,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iscp_DpDm_1 = bindings.Input.from_dict(
        {
            "name": "SCP_D+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": -0.63,
                        "statistical": 0.36,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    iccp_DpDm_1 = bindings.Input.from_dict(
        {
            "name": "CCP_D+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": -0.07,
                        "statistical": 0.23,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iscp_DpDm_2 = bindings.Input.from_dict(
        {
            "name": "SCP_D+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": -1.06,
                        "statistical": [-0.14, 0.21],
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    iccp_DpDm_2 = bindings.Input.from_dict(
        {
            "name": "CCP_D+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": -0.43,
                        "statistical": 0.16,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    iscp_DpDm_3 = bindings.Input.from_dict(
        {
            "name": "SCP_D+_D-",
            "sources": [
                {
                    "name": "LHCb:2024gkk",
                    "references": {
                        "bibtex": "LHCb:2024gkk",
                        "pub": "JHEP 01 (2025) 061",
                        "doi": "10.1007/JHEP01(2025)061",
                        "arxiv": "2409.03009"
                    },
                    "value": {
                        "central": -0.549,
                        "statistical": 0.085,
                        "systematic": 0.015
                    }
                }
            ]
        }
    )
    iccp_DpDm_3 = bindings.Input.from_dict(
        {
            "name": "CCP_D+_D-",
            "sources": [
                {
                    "name": "LHCb:2024gkk",
                    "references": {
                        "bibtex": "LHCb:2024gkk",
                        "pub": "JHEP 01 (2025) 061",
                        "doi": "10.1007/JHEP01(2025)061",
                        "arxiv": "2409.03009"
                    },
                    "value": {
                        "central": 0.162,
                        "statistical": 0.088,
                        "systematic": 0.009
                    }
                }
            ]
        }
    )
    iscp_Jpsirho0_1 = bindings.Input.from_dict(
        {
            "name": "SCP_Jpsi_rho0",
            "sources": [
                {
                    "name": "LHCb:2014xpr",
                    "references": {
                        "bibtex": "LHCb:2014xpr",
                        "pub": "PLB 742 (2015) 38",
                        "doi": "10.1016/j.physletb.2015.01.008",
                        "arxiv": "1411.1634"
                    },
                    "value": {
                        "central": -0.66,
                        "statistical": [-0.12, 0.13],
                        "systematic": [-0.03, 0.09]
                    }
                }
            ]
        }
    )
    iccp_Jpsirho0_1 = bindings.Input.from_dict(
        {
            "name": "CCP_Jpsi_rho0",
            "sources": [
                {
                    "name": "LHCb:2014xpr",
                    "references": {
                        "bibtex": "LHCb:2014xpr",
                        "pub": "PLB 742 (2015) 38",
                        "doi": "10.1016/j.physletb.2015.01.008",
                        "arxiv": "1411.1634"
                    },
                    "value": {
                        "central": -0.063,
                        "statistical": 0.056,
                        "systematic": [-0.014, 0.019]
                    }
                }
            ]
        }
    )
    iscp_DstDst_1 = bindings.Input.from_dict(
        {
            "name": "SCP_D*+_D*-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": -0.7,
                        "statistical": 0.16,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_DstDst_1 = bindings.Input.from_dict(
        {
            "name": "CCP_D*+_D*-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.05,
                        "statistical": 0.09,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    irperp_DstDst_1 = bindings.Input.from_dict(
        {
            "name": "Rperp_D*+_D*-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.171,
                        "statistical": 0.028,
                        "systematic": 0.
                    }
                }
            ]
        }
    )
    iscp_DstDst_2 = bindings.Input.from_dict(
        {
            "name": "SCP_D*+_D*-",
            "sources": [
                {
                    "name": "BaBar:2012cyz",
                    "references": {
                        "bibtex": "BaBar:2012cyz",
                        "pub": "PRD 86 (2012) 112006",
                        "doi": "10.1103/PhysRevD.86.112006",
                        "arxiv": "1208.1282"
                    },
                    "value": {
                        "central": -0.49,
                        "statistical": 0.18,
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    iccp_DstDst_2 = bindings.Input.from_dict(
        {
            "name": "CCP_D*+_D*-",
            "sources": [
                {
                    "name": "BaBar:2012cyz",
                    "references": {
                        "bibtex": "BaBar:2012cyz",
                        "pub": "PRD 86 (2012) 112006",
                        "doi": "10.1103/PhysRevD.86.112006",
                        "arxiv": "1208.1282"
                    },
                    "value": {
                        "central": 0.15,
                        "statistical": 0.09,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    iscp_DstDst_3 = bindings.Input.from_dict(
        {
            "name": "SCP_D*+_D*-",
            "sources": [
                {
                    "name": "Belle:2012xkw",
                    "references": {
                        "bibtex": "Belle:2012xkw",
                        "pub": "PRD 86 (2012) 071103(R)",
                        "doi": "10.1103/PhysRevD.86.071103",
                        "arxiv": "1207.5611"
                    },
                    "value": {
                        "central": -0.79,
                        "statistical": 0.13,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_DstDst_3 = bindings.Input.from_dict(
        {
            "name": "CCP_D*+_D*-",
            "sources": [
                {
                    "name": "Belle:2012xkw",
                    "references": {
                        "bibtex": "Belle:2012xkw",
                        "pub": "PRD 86 (2012) 071103(R)",
                        "doi": "10.1103/PhysRevD.86.071103",
                        "arxiv": "1207.5611"
                    },
                    "value": {
                        "central": -0.15,
                        "statistical": 0.08,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    irperp_DstDst_3 = bindings.Input.from_dict(
        {
            "name": "Rperp_D*+_D*-",
            "sources": [
                {
                    "name": "Belle:2012xkw",
                    "references": {
                        "bibtex": "Belle:2012xkw",
                        "pub": "PRD 86 (2012) 071103(R)",
                        "doi": "10.1103/PhysRevD.86.071103",
                        "arxiv": "1207.5611"
                    },
                    "value": {
                        "central": 0.14,
                        "statistical": 0.02,
                        "systematic": 0.01
                    }
                }
            ]
        }
    )
    iscpp_DstD = bindings.Input.from_dict(
        {
            "name": "SCP+_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": -0.76,
                        "statistical": 0.16,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    iccpp_DstD = bindings.Input.from_dict(
        {
            "name": "CCP+_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.02,
                        "statistical": 0.12,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    iscpm_DstD = bindings.Input.from_dict(
        {
            "name": "SCP-_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": -1.01,
                        "statistical": 0.71,
                        "systematic": 0.16
                    }
                }
            ]
        }
    )
    iccpm_DstD = bindings.Input.from_dict(
        {
            "name": "CCP-_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.41,
                        "statistical": 0.5,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    irperp_DstD = bindings.Input.from_dict(
        {
            "name": "Rperp_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.155,
                        "statistical": 0.030,
                        "systematic": 0.003
                    }
                }
            ]
        }
    )
    is_DstD_1 = bindings.Input.from_dict(
        {
            "name": "S_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": -0.68,
                        "statistical": 0.15,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    ic_DstD_1 = bindings.Input.from_dict(
        {
            "name": "C_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.04,
                        "statistical": 0.12,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ideltas_DstD_1 = bindings.Input.from_dict(
        {
            "name": "DeltaS_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.05,
                        "statistical": 0.15,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    ideltac_DstD_1 = bindings.Input.from_dict(
        {
            "name": "DeltaC_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.04,
                        "statistical": 0.12,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ia_DstD_1 = bindings.Input.from_dict(
        {
            "name": "A_D*+_D-",
            "sources": [
                {
                    "name": "BaBar:2008xnt",
                    "references": {
                        "bibtex": "BaBar:2008xnt",
                        "pub": "PRD 79, 032002 (2009)",
                        "doi": "10.1103/PhysRevD.79.032002",
                        "arxiv": "0808.1866"
                    },
                    "value": {
                        "central": 0.008,
                        "statistical": 0.048,
                        "systematic": 0.013
                    }
                }
            ]
        }
    )
    is_DstD_2 = bindings.Input.from_dict(
        {
            "name": "S_D*+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": -0.78,
                        "statistical": 0.15,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    ic_DstD_2 = bindings.Input.from_dict(
        {
            "name": "C_D*+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": -0.01,
                        "statistical": 0.11,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    ideltas_DstD_2 = bindings.Input.from_dict(
        {
            "name": "DeltaS_D*+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": -0.13,
                        "statistical": 0.15,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    ideltac_DstD_2 = bindings.Input.from_dict(
        {
            "name": "DeltaC_D*+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": 0.12,
                        "statistical": 0.11,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ia_DstD_2 = bindings.Input.from_dict(
        {
            "name": "A_D*+_D-",
            "sources": [
                {
                    "name": "Belle:2012mef",
                    "references": {
                        "bibtex": "Belle:2012mef",
                        "pub": "PRD 85 (2012) 091106",
                        "doi": "10.1103/PhysRevD.85.091106",
                        "arxiv": "1203.6647"
                    },
                    "value": {
                        "central": 0.06,
                        "statistical": 0.05,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    is_DstD_3 = bindings.Input.from_dict(
        {
            "name": "S_D*+_D",
            "sources": [
                {
                    "name": "LHCb:2019ouq",
                    "references": {
                        "bibtex": "LHCb:2019ouq",
                        "pub": "JHEP 03 (2020) 147",
                        "doi": "10.1007/JHEP03(2020)147",
                        "arxiv": "1912.03723"
                    },
                    "value": {
                        "central": -0.861,
                        "statistical": 0.077,
                        "systematic": 0.019
                    }
                }
            ]
        }
    )
    ic_DstD_3 = bindings.Input.from_dict(
        {
            "name": "C_D*+_D",
            "sources": [
                {
                    "name": "LHCb:2019ouq",
                    "references": {
                        "bibtex": "LHCb:2019ouq",
                        "pub": "JHEP 03 (2020) 147",
                        "doi": "10.1007/JHEP03(2020)147",
                        "arxiv": "1912.03723"
                    },
                    "value": {
                        "central": -0.059,
                        "statistical": 0.092,
                        "systematic":0.002 
                    }
                }
            ]
        }
    )
    ideltas_DstD_3 = bindings.Input.from_dict(
        {
            "name": "DeltaS_D*+_D",
            "sources": [
                {
                    "name": "LHCb:2019ouq",
                    "references": {
                        "bibtex": "LHCb:2019ouq",
                        "pub": "JHEP 03 (2020) 147",
                        "doi": "10.1007/JHEP03(2020)147",
                        "arxiv": "1912.03723"
                    },
                    "value": {
                        "central": 0.019,
                        "statistical": 0.075,
                        "systematic": 0.012
                    }
                }
            ]
        }
    )
    ideltac_DstD_3 = bindings.Input.from_dict(
        {
            "name": "DeltaC_D*+_D",
            "sources": [
                {
                    "name": "LHCb:2019ouq",
                    "references": {
                        "bibtex": "LHCb:2019ouq",
                        "pub": "JHEP 03 (2020) 147",
                        "doi": "10.1007/JHEP03(2020)147",
                        "arxiv": "1912.03723"
                    },
                    "value": {
                        "central": -0.031,
                        "statistical": 0.092,
                        "systematic": 0.016
                    }
                }
            ]
        }
    )
    ia_DstD_3 = bindings.Input.from_dict(
        {
            "name": "A_D*+_D",
            "sources": [
                {
                    "name": "LHCb:2019ouq",
                    "references": {
                        "bibtex": "LHCb:2019ouq",
                        "pub": "JHEP 03 (2020) 147",
                        "doi": "10.1007/JHEP03(2020)147",
                        "arxiv": "1912.03723"
                    },
                    "value": {
                        "central": 0.008,
                        "statistical": 0.014,
                        "systematic": 0.006
                    }
                }
            ]
        }
    )
    iscp_BsJpsiKs_1 = bindings.Input.from_dict(
        {
            "name": "SCP_Bs0_Jpsi_K0S",
            "sources": [
                {
                    "name": "LHCb:2015brj",
                    "references": {
                        "bibtex": "LHCb:2015brj",
                        "pub": "JHEP 06 (2015) 131",
                        "doi": "10.1007/JHEP06(2015)131",
                        "arxiv": "1503.07055"
                    },
                    "value": {
                        "central": 0.49,
                        "statistical": [-0.65, 0.77],
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    iccp_BsJpsiKs_1 = bindings.Input.from_dict(
        {
            "name": "CCP_Bs0_Jpsi_K0S",
            "sources": [
                {
                    "name": "LHCb:2015brj",
                    "references": {
                        "bibtex": "LHCb:2015brj",
                        "pub": "JHEP 06 (2015) 131",
                        "doi": "10.1007/JHEP06(2015)131",
                        "arxiv": "1503.07055"
                    },
                    "value": {
                        "central": -0.28,
                        "statistical": 0.41,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    ideltagamma_BsJpsiKs_1 = bindings.Input.from_dict(
        {
            "name": "DeltaGamma_Bs0_Jpsi_K0S",
            "sources": [
                {
                    "name": "LHCb:2015brj",
                    "references": {
                        "bibtex": "LHCb:2015brj",
                        "pub": "JHEP 06 (2015) 131",
                        "doi": "10.1007/JHEP06(2015)131",
                        "arxiv": "1503.07055"
                    },
                    "value": {
                        "central": -0.08,
                        "statistical": 0.4,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )


    
    # b -> q qbar s penguins results    
    
    is_phiK0_1 = bindings.Input.from_dict(
        {
            "name": "SCP_phi_K0",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 0.66,
                        "statistical": 0.17,
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    ic_phiK0_1 = bindings.Input.from_dict(
        {
            "name": "CCP_phi_K0",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 0.05,
                        "statistical": 0.18,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    is_phiK0_2 = bindings.Input.from_dict(
        {
            "name": "SCP_phi_K0",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 0.9,
                        "statistical": [-0.19, 0.09],
                        "systematic": 0.
                    }
                }
            ]
        }
    )
    ic_phiK0_2 = bindings.Input.from_dict(
        {
            "name": "CCP_phi_K0",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": -0.04,
                        "statistical": 0.2,
                        "systematic": 0.12,
                    }
                }
            ]
        }
    )
    is_phiK0_3 = bindings.Input.from_dict(
        {
            "name": "SCP_phi_K0",
            "sources": [
                {
                    "name": "Belle-II:2023uq",
                    "references": {
                        "bibtex": "Belle-II:2023uq",
                        "pub": "PRD 108 (2023) 072012",
                        "doi": "10.1103/PhysRevD.108.072012",
                        "arxiv": "2307.02802"
                    },
                    "value": {
                        "central": 0.54,
                        "statistical": 0.26,
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    ic_phiK0_3 = bindings.Input.from_dict(
        {
            "name": "CCP_phi_K0",
            "sources": [
                {
                    "name": "Belle-II:2023uq",
                    "references": {
                        "bibtex": "Belle-II:2023uq",
                        "pub": "PRD 108 (2023) 072012",
                        "doi": "10.1103/PhysRevD.108.072012",
                        "arxiv": "2307.02802"
                    },
                    "value": {
                        "central": -0.31,
                        "statistical": 0.20,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )

    
    is_etapK0_1 = bindings.Input.from_dict(
        {
            "name": "SCP_etaprime_K0",
            "sources": [
                {
                    "name": "BaBar:2008ucf",
                    "references": {
                        "bibtex": "BaBar:2008ucf",
                        "pub": "PRD 79 (2009) 052003",
                        "doi": "10.1103/PhysRevD.79.052003",
                        "arxiv": "0809.1174"
                    },
                    "value": {
                        "central": 0.57,
                        "statistical": 0.08,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    ic_etapK0_1 = bindings.Input.from_dict(
        {
            "name": "CCP_etaprime_K0",
            "sources": [
                {
                    "name": "BaBar:2008ucf",
                    "references": {
                        "bibtex": "BaBar:2008ucf",
                        "pub": "PRD 79 (2009) 052003",
                        "doi": "10.1103/PhysRevD.79.052003",
                        "arxiv": "0809.1174"
                    },
                    "value": {
                        "central": -0.08,
                        "statistical": 0.06,
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    is_etapK0_2 = bindings.Input.from_dict(
        {
            "name": "SCP_etaprime_K0",
            "sources": [
                {
                    "name": "Belle:2014atq",
                    "references": {
                        "bibtex": "Belle:2014atq",
                        "pub": "JHEP 10 (2014) 165",
                        "doi": "10.1007/JHEP10(2014)165",
                        "arxiv": "1408.5991"
                    },
                    "value": {
                        "central": 0.68,
                        "statistical": 0.07,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ic_etapK0_2 = bindings.Input.from_dict(
        {
            "name": "CCP_etaprime_K0",
            "sources": [
                {
                    "name": "Belle:2014atq",
                    "references": {
                        "bibtex": "Belle:2014atq",
                        "pub": "JHEP 10 (2014) 165",
                        "doi": "10.1007/JHEP10(2014)165",
                        "arxiv": "1408.5991"
                    },
                    "value": {
                        "central": -0.03,
                        "statistical": 0.05,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    is_etapK0_3 = bindings.Input.from_dict(
        {
            "name": "SCP_etaprime_K0",
            "sources": [
                {
                    "name": "Belle-II:2024xzm",
                    "references": {
                        "bibtex": "Belle-II:2024xzm",
                        "pub": "PRD 110 (2024) 112002",
                        "doi": "10.1103/PhysRevD.110.112002",
                        "arxiv": "2402.03713"
                    },
                    "value": {
                        "central": 0.67,
                        "statistical": 0.10,
                        "systematic": 0.034
                    }
                }
            ]
        }
    )
    ic_etapK0_3 = bindings.Input.from_dict(
        {
            "name": "CCP_etaprime_K0",
            "sources": [
                {
                    "name": "Belle-II:2024xzm",
                    "references": {
                        "bibtex": "Belle-II:2024xzm",
                        "pub": "PRD 110 (2024) 112002",
                        "doi": "10.1103/PhysRevD.110.112002",
                        "arxiv": "2402.03713"
                    },
                    "value": {
                        "central": -0.19,
                        "statistical": 0.08,
                        "systematic": 0.034
                    }
                }
            ]
        }
    )
    is_KsKsKs_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_K0S_K0S",
            "sources": [
                {
                    "name": "BaBar:2011ktx",
                    "references": {
                        "bibtex": "BaBar:2011ktx",
                        "pub": "PRD 85 (2012) 054023",
                        "doi": "10.1103/PhysRevD.85.054023",
                        "arxiv": "1111.3636"
                    },
                    "value": {
                        "central": 0.94,
                        "statistical": [-0.24, 0.21],
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    ic_KsKsKs_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_K0S_K0S",
            "sources": [
                {
                    "name": "BaBar:2011ktx",
                    "references": {
                        "bibtex": "BaBar:2011ktx",
                        "pub": "PRD 85 (2012) 054023",
                        "doi": "10.1103/PhysRevD.85.054023",
                        "arxiv": "1111.3636"
                    },
                    "value": {
                        "central": -0.17,
                        "statistical": 0.18,
                        "systematic": 0.14
                    }
                }
            ]
        }
    )
    is_KsKsKs_2 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_K0S_K0S",
            "sources": [
                {
                    "name": "Belle:2020cio",
                    "references": {
                        "bibtex": "Belle:2020cio",
                        "pub": "PRD 103 (2021) 032003",
                        "doi": "10.1103/PhysRevD.103.032003",
                        "arxiv": "2011.00793"
                    },
                    "value": {
                        "central": 0.71,
                        "statistical": 0.23,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    ic_KsKsKs_2 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_K0S_K0S",
            "sources": [
                {
                    "name": "Belle:2020cio",
                    "references": {
                        "bibtex": "Belle:2020cio",
                        "pub": "PRD 103 (2021) 032003",
                        "doi": "10.1103/PhysRevD.103.032003",
                        "arxiv": "2011.00793"
                    },
                    "value": {
                        "central": -0.12,
                        "statistical": 0.16,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    is_pi0Ks_1 = bindings.Input.from_dict(
        {
            "name": "SCP_pi0_K0S",
            "sources": [
                {
                    "name": "BaBar:2008ucf",
                    "references": {
                        "bibtex": "BaBar:2008ucf",
                        "pub": "PRD 79 (2009) 052003",
                        "doi": "10.1103/PhysRevD.79.052003",
                        "arxiv": "0809.1174"
                    },
                    "value": {
                        "central": 0.55,
                        "statistical": 0.2,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ic_pi0Ks_1 = bindings.Input.from_dict(
        {
            "name": "CCP_pi0_K0S",
            "sources": [
                {
                    "name": "BaBar:2008ucf",
                    "references": {
                        "bibtex": "BaBar:2008ucf",
                        "pub": "PRD 79 (2009) 052003",
                        "doi": "10.1103/PhysRevD.79.052003",
                        "arxiv": "0809.1174"
                    },
                    "value": {
                        "central": 0.13,
                        "statistical": 0.13,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    is_pi0Ks_2 = bindings.Input.from_dict(
        {
            "name": "SCP_pi0_K0S",
            "sources": [
                {
                    "name": "Belle:2008kbm",
                    "references": {
                        "bibtex": "Belle:2008kbm",
                        "pub": "PRD 81 (2010) 011101",
                        "doi": "10.1103/PhysRevD.81.011101",
                        "arxiv": "0809.4366"
                    },
                    "value": {
                        "central": 0.67,
                        "statistical": 0.31,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    ic_pi0Ks_2 = bindings.Input.from_dict(
        {
            "name": "CCP_pi0_K0S",
            "sources": [
                {
                    "name": "Belle:2008kbm",
                    "references": {
                        "bibtex": "Belle:2008kbm",
                        "pub": "PRD 81 (2010) 011101",
                        "doi": "10.1103/PhysRevD.81.011101",
                        "arxiv": "0809.4366"
                    },
                    "value": {
                        "central": -0.14,
                        "statistical": 0.13,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    is_pi0Ks_3 = bindings.Input.from_dict(
        {
            "name": "SCP_pi0_K0S",
            "sources": [
                {
                    "name": "Belle-II:2023grc",
                    "references": {
                        "bibtex": "Belle-II:2023grc",
                        "pub": "PRL 131 (2023) 111803",
                        "doi": "10.1103/PhysRevLett.131.111803",
                        "arxiv": "2305.07555"
                    },
                    "value": {
                        "central": 0.75,
                        "statistical": [-0.23, 0.20],
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    ic_pi0Ks_3 = bindings.Input.from_dict(
        {
            "name": "CCP_pi0_K0S",
            "sources": [
                {
                    "name": "Belle-II:2023grc",
                    "references": {
                        "bibtex": "Belle-II:2023grc",
                        "pub": "PRL 131 (2023) 111803",
                        "doi": "10.1103/PhysRevLett.131.111803",
                        "arxiv": "2305.07555"
                    },
                    "value": {
                        "central": -0.04,
                        "statistical": [-0.15, 0.14],
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    is_rho0Ks_1 = bindings.Input.from_dict(
        {
            "name": "SCP_rho0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.3485720473218152,
                        "statistical": [-0.3032090591925614, 0.269836348035739],
                        "systematic": 0.10
                    }
                }
            ]
        }
    )
    ic_rho0Ks_1 = bindings.Input.from_dict(
        {
            "name": "CCP_rho0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": -0.05,
                        "statistical": 0.26,
                        "systematic": 0.10
                    }
                }
            ]
        }
    )
    is_rho0Ks_2 = bindings.Input.from_dict(
        {
            "name": "SCP_rho0_K0S",
            "sources": [
                {
                    "name": "Belle:2008til",
                    "references": {
                        "bibtex": "Belle:2008til",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.79.072004",
                        "arxiv": "0811.3665"
                    },
                    "value": {
                        "central": 0.6427876096865393,
                        "statistical": [-0.2536636595463331, 0.19683225484787392],
                        "systematic": 0.08539015609706169
                    }
                }
            ]
        }
    )
    ic_rho0Ks_2 = bindings.Input.from_dict(
        {
            "name": "CCP_rho0_K0S",
            "sources": [
                {
                    "name": "Belle:2008til",
                    "references": {
                        "bibtex": "Belle:2008til",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.79.072004",
                        "arxiv": "0811.3665"
                    },
                    "value": {
                        "central": -0.03,
                        "statistical": [-0.23, 0.24],
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    is_f0Ks_1 = bindings.Input.from_dict(
        {
            "name": "SCP_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 0.59,
                        "statistical": [-0.18, 0.16],
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    ic_f0Ks_1 = bindings.Input.from_dict(
        {
            "name": "CCP_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 0.28,
                        "statistical": 0.24,
                        "systematic": 0.09
                    }
                }
            ]
        }
    )
    is_f0Ks_2 = bindings.Input.from_dict(
        {
            "name": "SCP_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 0.89,
                        "statistical": [-0.19, 0.10],
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    ic_f0Ks_2 = bindings.Input.from_dict(
        {
            "name": "CCP_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 0.30,
                        "statistical": 0.29,
                        "systematic": 0.14
                    }
                }
            ]
        }
    )
    is_f0Ks_3 = bindings.Input.from_dict(
        {
            "name": "SCP_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.95,
                        "statistical": [-0.16, 0.05],
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ic_f0Ks_3 = bindings.Input.from_dict(
        {
            "name": "CCP_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.08,
                        "statistical": 0.19,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    is_f0Ks_4 = bindings.Input.from_dict(
        {
            "name": "SCP_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2008til",
                    "references": {
                        "bibtex": "Belle:2008til",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.79.072004",
                        "arxiv": "0811.3665"
                    },
                    "value": {
                        "central": 0.43,
                        "statistical": [-0.22, 0.20],
                        "systematic": 0.14
                    }
                }
            ]
        }
    )
    ic_f0Ks_4 = bindings.Input.from_dict(
        {
            "name": "CCP_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2008til",
                    "references": {
                        "bibtex": "Belle:2008til",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.79.072004",
                        "arxiv": "0811.3665"
                    },
                    "value": {
                        "central": 0.06,
                        "statistical": 0.17,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    is_omegaKs_1 = bindings.Input.from_dict(
        {
            "name": "SCP_omega_K0S",
            "sources": [
                {
                    "name": "BaBar:2008ucf",
                    "references": {
                        "bibtex": "BaBar:2008ucf",
                        "pub": "PRD 79 (2009) 052003",
                        "doi": "10.1103/PhysRevD.79.052003",
                        "arxiv": "0809.1174"
                    },
                    "value": {
                        "central": 0.55,
                        "statistical": [-0.29, 0.26],
                        "systematic": 0.02
                    }
                }
            ]
        }
    )
    ic_omegaKs_1 = bindings.Input.from_dict(
        {
            "name": "CCP_omega_K0S",
            "sources": [
                {
                    "name": "BaBar:2008ucf",
                    "references": {
                        "bibtex": "BaBar:2008ucf",
                        "pub": "PRD 79 (2009) 052003",
                        "doi": "10.1103/PhysRevD.79.052003",
                        "arxiv": "0809.1174"
                    },
                    "value": {
                        "central": -0.52,
                        "statistical": 0.22,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    is_omegaKs_2 = bindings.Input.from_dict(
        {
            "name": "SCP_omega_K0S",
            "sources": [
                {
                    "name": "Belle:2013nby",
                    "references": {
                        "bibtex": "Belle:2013nby",
                        "pub": "PRD 90 (2014) 012002",
                        "doi": "10.1103/PhysRevD.90.012002",
                        "arxiv": "1311.6666"
                    },
                    "value": {
                        "central": 0.91,
                        "statistical": 0.32,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    ic_omegaKs_2 = bindings.Input.from_dict(
        {
            "name": "CCP_omega_K0S",
            "sources": [
                {
                    "name": "Belle:2013nby",
                    "references": {
                        "bibtex": "Belle:2013nby",
                        "pub": "PRD 90 (2014) 012002",
                        "doi": "10.1103/PhysRevD.90.012002",
                        "arxiv": "1311.6666"
                    },
                    "value": {
                        "central": 0.36,
                        "statistical": 0.19,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    is_f2Ks_1 = bindings.Input.from_dict(
        {
            "name": "SCP_f2_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.50,
                        "statistical": [-0.60, 0.41],
                        "systematic": 0.18
                    }
                }
            ]
        }
    )
    ic_f2Ks_1 = bindings.Input.from_dict(
        {
            "name": "CCP_f2_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.28,
                        "statistical": [-0.40, 0.35],
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    is_fXKs_1 = bindings.Input.from_dict(
        {
            "name": "SCP_fX_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.20,
                        "statistical": [-0.52, 0.47],
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    ic_fXKs_1 = bindings.Input.from_dict(
        {
            "name": "CCP_fX_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.13,
                        "statistical": [-0.35, 0.33],
                        "systematic": 0.10
                    }
                }
            ]
        }
    )
    is_pi0pi0Ks_1 = bindings.Input.from_dict(
        {
            "name": "SCP_pi0_pi0_K0S",
            "sources": [
                {
                    "name": "BaBar:2007tsu",
                    "references": {
                        "bibtex": "BaBar:2007tsu",
                        "pub": "PRD 76 (2007) 071101",
                        "doi": "10.1103/PhysRevD.76.071101",
                        "arxiv": "hep-ex/0702010"
                    },
                    "value": {
                        "central": -0.72,
                        "statistical": 0.71,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    ic_pi0pi0Ks_1 = bindings.Input.from_dict(
        {
            "name": "CCP_pi0_pi0_K0S",
            "sources": [
                {
                    "name": "BaBar:2007tsu",
                    "references": {
                        "bibtex": "BaBar:2007tsu",
                        "pub": "PRD 76 (2007) 071101",
                        "doi": "10.1103/PhysRevD.76.071101",
                        "arxiv": "hep-ex/0702010"
                    },
                    "value": {
                        "central": 0.23,
                        "statistical": 0.52,
                        "systematic": 0.13
                    }
                }
            ]
        }
    )
    is_pi0pi0Ks_2 = bindings.Input.from_dict(
        {
            "name": "SCP_pi0_pi0_K0S",
            "sources": [
                {
                    "name": "Belle:2018sxb",
                    "references": {
                        "bibtex": "Belle:2018sxb",
                        "pub": "PRD 99 (2019) 011102",
                        "doi": "10.1103/PhysRevD.99.011102",
                        "arxiv": "1810.03336"
                    },
                    "value": {
                        "central": 0.92,
                        "statistical": [-0.31, 0.27],
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    ic_pi0pi0Ks_2 = bindings.Input.from_dict(
        {
            "name": "CCP_pi0_pi0_K0S",
            "sources": [
                {
                    "name": "Belle:2018sxb",
                    "references": {
                        "bibtex": "Belle:2018sxb",
                        "pub": "PRD 99 (2019) 011102",
                        "doi": "10.1103/PhysRevD.99.011102",
                        "arxiv": "1810.03336"
                    },
                    "value": {
                        "central": -0.28,
                        "statistical": 0.21,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    is_phiKspi0_1 = bindings.Input.from_dict(
        {
            "name": "SCP_phi_K0S_pi0",
            "sources": [
                {
                    "name": "BaBar:2008lan",
                    "references": {
                        "bibtex": "BaBar:2008lan",
                        "pub": "PRD 78 (2008) 092008",
                        "doi": "10.1103/PhysRevD.78.092008",
                        "arxiv": "0808.3586"
                    },
                    "value": {
                        "central": 0.97,
                        "statistical": [-0.52, 0.03],
                        "systematic": 0.00
                    }
                }
            ]
        }
    )
    ic_phiKspi0_1 = bindings.Input.from_dict(
        {
            "name": "CCP_phi_K0S_pi0",
            "sources": [
                {
                    "name": "BaBar:2008lan",
                    "references": {
                        "bibtex": "BaBar:2008lan",
                        "pub": "PRD 78 (2008) 092008",
                        "doi": "10.1103/PhysRevD.78.092008",
                        "arxiv": "0808.3586"
                    },
                    "value": {
                        "central": -0.20,
                        "statistical": 0.14,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    is_pipiKs_1 = bindings.Input.from_dict(
        {
            "name": "SCP_pi_pi_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.01,
                        "statistical": 0.30,
                        "systematic": 0.15
                    }
                }
            ]
        }
    )
    ic_pipiKs_1 = bindings.Input.from_dict(
        {
            "name": "CCP_pi_pi_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.01,
                        "statistical": 25,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    ibeta_phiKs_1 = bindings.Input.from_dict(
        {
            "name": "beta_phi_K0S",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 21.0,
                        "statistical": 6.0,
                        "systematic": 2.0
                    }
                }
            ]
        }
    )
    iacp_phiKs_1 = bindings.Input.from_dict(
        {
            "name": "ACP_phi_K0S",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": -0.05,
                        "statistical": 0.18,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    ibeta_f0Ks_1 = bindings.Input.from_dict(
        {
            "name": "beta_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 18.0,
                        "statistical": 6.0,
                        "systematic": 4.0
                    }
                }
            ]
        }
    )
    iacp_f0Ks_1 = bindings.Input.from_dict(
        {
            "name": "ACP_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": -0.28,
                        "statistical": 0.24,
                        "systematic": 0.09
                    }
                }
            ]
        }
    )
    ibeta_KKKs_nr_1 = bindings.Input.from_dict(
        {
            "name": "beta_K_K_K0S_nonresonant",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": 20.3,
                        "statistical": 4.3,
                        "systematic": 1.2
                    }
                }
            ]
        }
    )
    iacp_KKKs_nr_1 = bindings.Input.from_dict(
        {
            "name": "ACP_K_K_K0S_nonresonant",
            "sources": [
                {
                    "name": "BaBar:2012iuj",
                    "references": {
                        "bibtex": "BaBar:2012iuj",
                        "pub": "PRD 85 (2012) 112010",
                        "doi": "10.1103/PhysRevD.85.112010",
                        "arxiv": "1201.5897"
                    },
                    "value": {
                        "central": -0.02,
                        "statistical": 0.09,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    ibeta_phiKs_2 = bindings.Input.from_dict(
        {
            "name": "beta_phi_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 32.2,
                        "statistical": 9.0,
                        "systematic": 2.6
                    }
                }
            ]
        }
    )
    iacp_phiKs_2 = bindings.Input.from_dict(
        {
            "name": "ACP_phi_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 0.04,
                        "statistical": 0.2,
                        "systematic": 0.1
                    }
                }
            ]
        }
    )
    ibeta_f0Ks_2 = bindings.Input.from_dict(
        {
            "name": "beta_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 31.3,
                        "statistical": 9.0,
                        "systematic": 3.4
                    }
                }
            ]
        }
    )
    iacp_f0Ks_2 = bindings.Input.from_dict(
        {
            "name": "ACP_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": -0.3,
                        "statistical": 0.29,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    ibeta_KKKs_nr_2 = bindings.Input.from_dict(
        {
            "name": "beta_K_K_K0S_nonresonant",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 24.9,
                        "statistical": 6.4,
                        "systematic": 2.1
                    }
                }
            ]
        }
    )
    iacp_KKKs_nr_2 = bindings.Input.from_dict(
        {
            "name": "ACP_K_K_K0S_nonresonant",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 82 (2010) 073011",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": -0.14,
                        "statistical": 0.11,
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    iacp_f0Ks_1 = bindings.Input.from_dict(
        {
            "name": "ACP_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": -0.08,
                        "statistical": 0.19,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iacp_rho0Ks_1 = bindings.Input.from_dict(
        {
            "name": "ACP_rho0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 0.05,
                        "statistical": 0.26,
                        "systematic": 0.1
                    }
                }
            ]
        }
    )
    ibeta_f0Ks_1 = bindings.Input.from_dict(
        {
            "name": "beta_f0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 36.0,
                        "statistical": 9.8,
                        "systematic": 2.1
                    }
                }
            ]
        }
    )
    ibeta_rho0Ks_1 = bindings.Input.from_dict(
        {
            "name": "beta_rho0_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 10.2,
                        "statistical": 8.9,
                        "systematic": 3.0
                    }
                }
            ]
        }
    )
    iacp_f2Ks_1 = bindings.Input.from_dict(
        {
            "name": "ACP_f2_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": -0.28,
                        "statistical": [-0.35, 0.40],
                        "systematic": 0.08
                    }
                }
            ]
        }
    )
    ibeta_f2Ks_1 = bindings.Input.from_dict(
        {
            "name": "beta_f2_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 14.9,
                        "statistical": 17.9,
                        "systematic": 3.1
                    }
                }
            ]
        }
    )
    iacp_fXKs_1 = bindings.Input.from_dict(
        {
            "name": "ACP_fX_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": -0.13,
                        "statistical": [-0.33, 0.35],
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    ibeta_fXKs_1 = bindings.Input.from_dict(
        {
            "name": "beta_fX_K0S",
            "sources": [
                {
                    "name": "BaBar:2009jov",
                    "references": {
                        "bibtex": "BaBar:2009jov",
                        "pub": "PRD 80 (2009) 112001",
                        "doi": "10.1103/PhysRevD.80.112001",
                        "arxiv": "0905.3615"
                    },
                    "value": {
                        "central": 5.0,
                        "statistical": 15.2,
                        "systematic": 2.2
                    }
                }
            ]
        }
    )
    iacp_f0Ks_2 = bindings.Input.from_dict(
        {
            "name": "ACP_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": -0.06,
                        "statistical": 0.17,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    iacp_rho0Ks_2 = bindings.Input.from_dict(
        {
            "name": "ACP_rho0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 0.03,
                        "statistical": [-0.24, 0.23],
                        "systematic": 0.15
                    }
                }
            ]
        }
    )
    ibeta_f0Ks_2 = bindings.Input.from_dict(
        {
            "name": "beta_f0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 13,
                        "statistical": 7,
                        "systematic": 4
                    }
                }
            ]
        }
    )
    ibeta_rho0Ks_2 = bindings.Input.from_dict(
        {
            "name": "beta_rho0_K0S",
            "sources": [
                {
                    "name": "Belle:2010wis",
                    "references": {
                        "bibtex": "Belle:2010wis",
                        "pub": "PRD 79 (2009) 072004",
                        "doi": "10.1103/PhysRevD.82.073011",
                        "arxiv": "1007.3848"
                    },
                    "value": {
                        "central": 20,
                        "statistical": 9,
                        "systematic": 5
                    }
                }
            ]
        }
    )
    iscp_BsKK = bindings.Input.from_dict(
        {
            "name": "SCP_Bs0_K_K",
            "sources": [
                {
                    "name": "LHCb:2020byh",
                    "references": {
                        "bibtex": "LHCb:2020byh",
                        "pub": "JHEP 03 (2021) 075",
                        "doi": "10.1007/JHEP03(2021)075",
                        "arxiv": "2012.05319"
                    },
                    "value": {
                        "central": 0.119,
                        "statistical": 0.032,
                        "systematic": 0.
                    }
                }
            ]
        }
    )
    iccp_BsKK = bindings.Input.from_dict(
        {
            "name": "CCP_Bs0_K_K",
            "sources": [
                {
                    "name": "LHCb:2020byh",
                    "references": {
                        "bibtex": "LHCb:2020byh",
                        "pub": "JHEP 03 (2021) 075",
                        "doi": "10.1007/JHEP03(2021)075",
                        "arxiv": "2012.05319"
                    },
                    "value": {
                        "central": 0.172,
                        "statistical": 0.031,
                        "systematic": 0.
                    }
                }
            ]
        }
    )
    iDG_BsKK = bindings.Input.from_dict(
        {
            "name": "A_DeltaGamma_Bs0_K_K",
            "sources": [
                {
                    "name": "LHCb:2020byh",
                    "references": {
                        "bibtex": "LHCb:2020byh",
                        "pub": "JHEP 03 (2021) 075",
                        "doi": "10.1007/JHEP03(2021)075",
                        "arxiv": "2012.05319"
                    },
                    "value": {
                        "central": -0.897,
                        "statistical": 0.087,
                        "systematic": 0.
                    }
                }
            ]
        }
    )

    
    # b -> q qbar d

    iscp_KsKs_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_K0S",
            "sources": [
                {
                    "name": "BaBar:2006enb",
                    "references": {
                        "bibtex": "BaBar:2006enb",
                        "pub": "PRL 97 (2006) 171805",
                        "doi": "10.1103/PhysRevLett.97.171805",
                        "arxiv": "hep-ex/0608036"
                    },
                    "value": {
                        "central": -1.28,
                        "statistical": [-0.73, 0.8],
                        "systematic": [-0.16, 0.11]
                    }
                }
            ]
        }
    )
    iccp_KsKs_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_K0S",
            "sources": [
                {
                    "name": "BaBar:2006enb",
                    "references": {
                        "bibtex": "BaBar:2006enb",
                        "pub": "PRL 97 (2006) 171805",
                        "doi": "10.1103/PhysRevLett.97.171805",
                        "arxiv": "hep-ex/0608036"
                    },
                    "value": {
                        "central": -0.4,
                        "statistical": 0.41,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    iscp_KsKs_2 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_K0S",
            "sources": [
                {
                    "name": "Belle:2007cga",
                    "references": {
                        "bibtex": "Belle:2007cga",
                        "pub": "PRL 100 (2008) 121601",
                        "doi": "10.1103/PhysRevLett.100.121601",
                        "arxiv": "0712.4234"
                    },
                    "value": {
                        "central": -0.38,
                        "statistical": [-0.77, 0.69],
                        "systematic": 0.09
                    }
                }
            ]
        }
    )
    iccp_KsKs_2 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_K0S",
            "sources": [
                {
                    "name": "Belle:2007cga",
                    "references": {
                        "bibtex": "Belle:2007cga",
                        "pub": "PRL 100 (2008) 121601",
                        "doi": "10.1103/PhysRevLett.100.121601",
                        "arxiv": "0712.4234"
                    },
                    "value": {
                        "central": 0.38,
                        "statistical": 0.38,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )


    # b -> s gamma

    iscp_Kst0gamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K*0_gamma",
            "sources": [
                {
                    "name": "BaBar:2008okc",
                    "references": {
                        "bibtex": "BaBar:2008okc",
                        "pub": "PRD 78 (2008) 071102",
                        "doi": "10.1103/PhysRevD.78.071102",
                        "arxiv": "0807.3103"
                    },
                    "value": {
                        "central": -0.03,
                        "statistical": 0.29,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_Kst0gamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K*0_gamma",
            "sources": [
                {
                    "name": "BaBar:2008okc",
                    "references": {
                        "bibtex": "BaBar:2008okc",
                        "pub": "PRD 78 (2008) 071102",
                        "doi": "10.1103/PhysRevD.78.071102",
                        "arxiv": "0807.3103"
                    },
                    "value": {
                        "central": -0.14,
                        "statistical": 0.16,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iscp_Kst0gamma_2 = bindings.Input.from_dict(
        {
            "name": "SCP_K*0_gamma",
            "sources": [
                {
                    "name": "Belle:2006pxp",
                    "references": {
                        "bibtex": "Belle:2006pxp",
                        "pub": "PRD 74 (2006) 111104(R)",
                        "doi": "10.1103/PhysRevD.74.111104",
                        "arxiv": "hep-ex/0608017"
                    },
                    "value": {
                        "central": -0.32,
                        "statistical": [-0.33, 0.36],
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    iccp_Kst0gamma_2 = bindings.Input.from_dict(
        {
            "name": "CCP_K*0_gamma",
            "sources": [
                {
                    "name": "Belle:2006pxp",
                    "references": {
                        "bibtex": "Belle:2006pxp",
                        "pub": "PRD 74 (2006) 111104(R)",
                        "doi": "10.1103/PhysRevD.74.111104",
                        "arxiv": "hep-ex/0608017"
                    },
                    "value": {
                        "central": 0.2,
                        "statistical": 0.24,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    iscp_Kst0gamma_3 = bindings.Input.from_dict(
        {
            "name": "SCP_K*0_gamma",
            "sources": [
                {
                    "name": "Belle-II:2024uzp",
                    "references": {
                        "bibtex": "Belle-II:2024uzp",
                        "pub": "PRL 134 (2025) 011802",
                        "doi": "10.1103/PhysRevLett.134.011802",
                        "arxiv": "2407.09139"
                    },
                    "value": {
                        "central": 0.00,
                        "statistical": [-0.26, 0.27],
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_Kst0gamma_3 = bindings.Input.from_dict(
        {
            "name": "CCP_K*0_gamma",
            "sources": [
                {
                    "name": "Belle-II:2024uzp",
                    "references": {
                        "bibtex": "Belle-II:2024uzp",
                        "pub": "PRL 134 (2025) 011802",
                        "doi": "10.1103/PhysRevLett.134.011802",
                        "arxiv": "2407.09139"
                    },
                    "value": {
                        "central": 0.10,
                        "statistical": 0.13,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    iscp_Kspi0gamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_pi0_gamma",
            "sources": [
                {
                    "name": "BaBar:2008okc",
                    "references": {
                        "bibtex": "BaBar:2008okc",
                        "pub": "PRD 78 (2008) 071102",
                        "doi": "10.1103/PhysRevD.78.071102",
                        "arxiv": "0807.3103"
                    },
                    "value": {
                        "central": -0.17,
                        "statistical": 0.26,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_Kspi0gamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_pi0_gamma",
            "sources": [
                {
                    "name": "BaBar:2008okc",
                    "references": {
                        "bibtex": "BaBar:2008okc",
                        "pub": "PRD 78 (2008) 071102",
                        "doi": "10.1103/PhysRevD.78.071102",
                        "arxiv": "0807.3103"
                    },
                    "value": {
                        "central": -0.19,
                        "statistical": 0.14,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iscp_Kspi0gamma_2 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_pi0_gamma",
            "sources": [
                {
                    "name": "Belle:2006pxp",
                    "references": {
                        "bibtex": "Belle:2006pxp",
                        "pub": "PRD 74 (2006) 111104(R)",
                        "doi": "10.1103/PhysRevD.74.111104",
                        "arxiv": "hep-ex/0608017"
                    },
                    "value": {
                        "central": -0.1,
                        "statistical": 0.31,
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    iccp_Kspi0gamma_2 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_pi0_gamma",
            "sources": [
                {
                    "name": "Belle:2006pxp",
                    "references": {
                        "bibtex": "Belle:2006pxp",
                        "pub": "PRD 74 (2006) 111104(R)",
                        "doi": "10.1103/PhysRevD.74.111104",
                        "arxiv": "hep-ex/0608017"
                    },
                    "value": {
                        "central": 0.2,
                        "statistical": 0.2,
                        "systematic": 0.06
                    }
                }
            ]
        }
    )
    iscp_Kspi0gamma_3 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_pi0_gamma",
            "sources": [
                {
                    "name": "Belle-II:2024uzp",
                    "references": {
                        "bibtex": "Belle-II:2024uzp",
                        "pub": "PRL 134 (2025) 011802",
                        "doi": "10.1103/PhysRevLett.134.011802",
                        "arxiv": "2407.09139"
                    },
                    "value": {
                        "central": 0.010983,
                        "statistical": 0.230219,
                        "systematic": 0.
                    }
                }
            ]
        }
    )
    iccp_Kspi0gamma_3 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_pi0_gamma",
            "sources": [
                {
                    "name": "Belle-II:2024uzp",
                    "references": {
                        "bibtex": "Belle-II:2024uzp",
                        "pub": "PRL 134 (2025) 011802",
                        "doi": "10.1103/PhysRevLett.134.011802",
                        "arxiv": "2407.09139"
                    },
                    "value": {
                        "central": 0.066721,
                        "statistical": 0.121071,
                        "systematic": 0.
                    }
                }
            ]
        }
    )
    iscp_Ksetagamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_eta_gamma",
            "sources": [
                {
                    "name": "BaBar:2008cqt",
                    "references": {
                        "bibtex": "BaBar:2008cqt",
                        "pub": "PRD 79 (2009) 011102",
                        "doi": "10.1103/PhysRevD.79.011102",
                        "arxiv": "0805.1317"
                    },
                    "value": {
                        "central": -0.18,
                        "statistical": [-0.46, 0.49],
                        "systematic": 0.12
                    }
                }
            ]
        }
    )
    iccp_Ksetagamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_eta_gamma",
            "sources": [
                {
                    "name": "BaBar:2008cqt",
                    "references": {
                        "bibtex": "BaBar:2008cqt",
                        "pub": "PRD 79 (2009) 011102",
                        "doi": "10.1103/PhysRevD.79.011102",
                        "arxiv": "0805.1317"
                    },
                    "value": {
                        "central": -0.32,
                        "statistical": [-0.39, 0.40],
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    iscp_Ksetagamma_2 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_eta_gamma",
            "sources": [
                {
                    "name": "Belle:2018xst",
                    "references": {
                        "bibtex": "Belle:2018xst",
                        "pub": "PRD 97 (2018) 092003",
                        "doi": "10.1103/PhysRevD.97.092003",
                        "arxiv": "1803.07774"
                    },
                    "value": {
                        "central": -1.32,
                        "statistical": 0.77,
                        "systematic": 0.36
                    }
                }
            ]
        }
    )
    iccp_Ksetagamma_2 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_eta_gamma",
            "sources": [
                {
                    "name": "Belle:2018xst",
                    "references": {
                        "bibtex": "Belle:2018xst",
                        "pub": "PRD 97 (2018) 092003",
                        "doi": "10.1103/PhysRevD.97.092003",
                        "arxiv": "1803.07774"
                    },
                    "value": {
                        "central": 0.48,
                        "statistical": 0.41,
                        "systematic": 0.07
                    }
                }
            ]
        }
    )
    iscp_Kspipigamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_pi_pi_gamma",
            "sources": [
                {
                    "name": "BaBar:2015chw",
                    "references": {
                        "bibtex": "BaBar:2015chw",
                        "pub": "PRD 93 (2016) 052013",
                        "doi": "10.1103/PhysRevD.93.052013",
                        "arxiv": "1512.03579"
                    },
                    "value": {
                        "central": 0.14,
                        "statistical": 0.25,
                        "systematic": 0.03
                    }
                }
            ]
        }
    )
    iccp_Kspipigamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_pi_pi_gamma",
            "sources": [
                {
                    "name": "BaBar:2015chw",
                    "references": {
                        "bibtex": "BaBar:2015chw",
                        "pub": "PRD 93 (2016) 052013",
                        "doi": "10.1103/PhysRevD.93.052013",
                        "arxiv": "1512.03579"
                    },
                    "value": {
                        "central": -0.39,
                        "statistical": 0.2,
                        "systematic": [-0.02, 0.03]
                    }
                }
            ]
        }
    )
    iscp_Kspipigamma_2 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_pi_pi_gamma",
            "sources": [
                {
                    "name": "Belle:2025pmi",
                    "references": {
                        "bibtex": "Belle:2025pmi",
                        "pub": "JHEP 01 (2026) 134",
                        "doi": "10.1007/JHEP01(2026)134",
                        "arxiv": "2510.01331"
                    },
                    "value": {
                        "central": -0.29,
                        "statistical": 0.11,
                        "systematic": 0.05
                    }
                }
            ]
        }
    )
    iccp_Kspipigamma_2 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_pi_pi_gamma",
            "sources": [
                {
                    "name": "Belle:2025pmi",
                    "references": {
                        "bibtex": "Belle:2025pmi",
                        "pub": "JHEP 01 (2026) 134",
                        "doi": "10.1007/JHEP01(2026)134",
                        "arxiv": "2510.01331"
                    },
                    "value": {
                        "central": -0.17,
                        "statistical": 0.09,
                        "systematic": 0.04
                    }
                }
            ]
        }
    )
    iscp_Ksphigamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_K0S_phi_gamma",
            "sources": [
                {
                    "name": "Belle:2011qkk",
                    "references": {
                        "bibtex": "Belle:2011qkk",
                        "pub": "PRD 84 (2011) 071101",
                        "doi": "10.1103/PhysRevD.84.071101",
                        "arxiv": "1104.5590"
                    },
                    "value": {
                        "central": 0.74,
                        "statistical": [-1.05, 0.72],
                        "systematic": [-0.24, 0.10]
                    }
                }
            ]
        }
    )
    iccp_Ksphigamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_K0S_phi_gamma",
            "sources": [
                {
                    "name": "Belle:2011qkk",
                    "references": {
                        "bibtex": "Belle:2011qkk",
                        "pub": "PRD 84 (2011) 071101",
                        "doi": "10.1103/PhysRevD.84.071101",
                        "arxiv": "1104.5590"
                    },
                    "value": {
                        "central": -0.35,
                        "statistical": 0.58,
                        "systematic": [-0.23, 0.10]
                    }
                }
            ]
        }
    )
    iscp_Bsphigamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_Bs0_phi_gamma",
            "sources": [
                {
                    "name": "LHCb:2019vks",
                    "references": {
                        "bibtex": "LHCb:2019vks",
                        "pub": "PRL 123 (2019) 081802",
                        "doi": "10.1103/PhysRevLett.123.081802",
                        "arxiv": "1905.06284"
                    },
                    "value": {
                        "central": 0.43,
                        "statistical": 0.30,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    iccp_Bsphigamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_Bs0_phi_gamma",
            "sources": [
                {
                    "name": "LHCb:2019vks",
                    "references": {
                        "bibtex": "LHCb:2019vks",
                        "pub": "PRL 123 (2019) 081802",
                        "doi": "10.1103/PhysRevLett.123.081802",
                        "arxiv": "1905.06284"
                    },
                    "value": {
                        "central": 0.11,
                        "statistical": 0.29,
                        "systematic": 0.11
                    }
                }
            ]
        }
    )
    iDG_Bsphigamma_1 = bindings.Input.from_dict(
        {
            "name": "A_DeltaGamma_Bs0_phi_gamma",
            "sources": [
                {
                    "name": "LHCb:2019vks",
                    "references": {
                        "bibtex": "LHCb:2019vks",
                        "pub": "PRL 123 (2019) 081802",
                        "doi": "10.1103/PhysRevLett.123.081802",
                        "arxiv": "1905.06284"
                    },
                    "value": {
                        "central": -0.67,
                        "statistical": [-0.41, 0.37],
                        "systematic": 0.17
                    }
                }
            ]
        }
    )


    # b -> d gamma
    
    iscp_rhogamma_1 = bindings.Input.from_dict(
        {
            "name": "SCP_rho0_gamma",
            "sources": [
                {
                    "name": "Belle:2007kjy",
                    "references": {
                        "bibtex": "Belle:2007kjy",
                        "pub": "PRL 100 (2008) 021602",
                        "doi": "10.1103/PhysRevLett.100.021602",
                        "arxiv": "0709.2769"
                    },
                    "value": {
                        "central": -0.83,
                        "statistical": 0.65,
                        "systematic": 0.18
                    }
                }
            ]
        }
    )
    iccp_rhogamma_1 = bindings.Input.from_dict(
        {
            "name": "CCP_rho0_gamma",
            "sources": [
                {
                    "name": "Belle:2007kjy",
                    "references": {
                        "bibtex": "Belle:2007kjy",
                        "pub": "PRL 100 (2008) 021602",
                        "doi": "10.1103/PhysRevLett.100.021602",
                        "arxiv": "0709.2769"
                    },
                    "value": {
                        "central": 0.44,
                        "statistical": 0.49,
                        "systematic": 0.14
                    }
                }
            ]
        }
    )

    

    w = bindings.Bindings.from_dict({
        "metadata": {
            "title": "HFLAV averages for the UT angle beta",
            "version": "1.0.0",
            "doi": "10.5281/zenodo.1234567",
            "author": "HFLAV Collaboration",
            "date": datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
            "description": "Test upload of all results of the UT angle beta.",
            "schema": "1.1.0"
        },
        "groups": [
            {
                "name": "SCP_CCP_ccbar_K0",
                "fit": {
                    "chi2": 7.18,
                    "ndf": 6,
                    "p": 0.30483
                },
                "averages": [ascp_ccK0.to_dict(), accp_ccK0.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.27 ],
                    [ 0.27, 1.00 ]
                ],
                "inputs": [is_ccK0_1.to_dict(),
                           is_ccK0_2.to_dict(),
                           is_ccK0_3.to_dict(),
                           is_ccK0_4.to_dict(),
                           ic_ccK0_1.to_dict(),
                           ic_ccK0_2.to_dict(),
                           ic_ccK0_3.to_dict(),
                           ic_ccK0_4.to_dict()]
            },
            {
                "name": "sin2beta_Jpsi_K*0",
                "fit": {
                    "chi2": 0.26,
                    "ndf": 1,
                    "p": 0.60951
                },
                "averages": [asin2b_JpsiKst0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [isin2b_JpsiKst0_1.to_dict(),
                           isin2b_JpsiKst0_2.to_dict()
                ]
            },
            {
                "name": "cos2beta_Jpsi_K*0",
                "fit": {
                    "chi2": 4.67,
                    "ndf": 1,
                    "p": 0.03067
                },
                "averages": [acos2b_JpsiKst0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [icos2b_JpsiKst0_1.to_dict(),
                           icos2b_JpsiKst0_2.to_dict()
                ]
            },
            {
                "name": "Jc_J0_D*+_D*-_K0S",
                "fit": {
                    "chi2": 0.23,
                    "ndf": 1,
                    "p": 0.63004
                },
                "averages": [aJcJ0_DstDstKs.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [iJcJ0_DstDstKs_1.to_dict(),
                           iJcJ0_DstDstKs_2.to_dict()
                ]
            },
            {
                "name": "2Js1_J0_D*+_D*-_K0S",
                "fit": {
                    "chi2": 0.30,
                    "ndf": 1,
                    "p": 0.58596
                },
                "averages": [a2Js1J0_DstDstKs.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [i2Js1J0_DstDstKs_1.to_dict(),
                           i2Js1J0_DstDstKs_2.to_dict()
                ]
            },
            {
                "name": "2Js2_J0_D*+_D*-_K0S",
                "fit": {
                    "chi2": 1.42,
                    "ndf": 1,
                    "p": 0.23328
                },
                "averages": [a2Js2J0_DstDstKs.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [i2Js2J0_DstDstKs_1.to_dict(),
                           i2Js2J0_DstDstKs_2.to_dict()
                ]
            },
                        {
                "name": "sin2beta_D0cp_pi0",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [ascp_Dpi0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [iscp_D0pi0.to_dict(),
                ]

            },
            {
                "name": "CCP_D0cp_pi0",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [accp_Dpi0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [iccp_D0pi0.to_dict()]

            },
            {
                "name": "sin2beta_D*0_h0_model_dep",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [asin2b_Dsth0_md.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [isin2b_Dsth0_md.to_dict()]
            },
            {
                "name": "cos2beta_D*0_h0_model_dep",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [acos2b_Dsth0_md.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [icos2b_Dsth0_md.to_dict()]
            },
            {
                "name": "sin2beta_D*0_h0_model_indep",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [asin2b_Dsth0_mi.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [isin2b_Dsth0_mi.to_dict()]
            },
            {
                "name": "cos2beta_D*0_h0_model_indep",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [acos2b_Dsth0_mi.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [icos2b_Dsth0_mi.to_dict()]
            },
            {
                "name": "SCP_CCP_Jpsi_pi0",
                "fit": {
                    "chi2": 6.69,
                    "ndf": 4,
                    "p": 0.15343
                },
                "averages": [accp_Jpsipi0.to_dict(), ascp_Jpsipi0.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.08 ],
                    [ 0.08, 1.000]
                ],
                "inputs": [iccp_Jpsipi0_1.to_dict(),
                           iccp_Jpsipi0_2.to_dict(),
                           iccp_Jpsipi0_3.to_dict(),
                           iscp_Jpsipi0_1.to_dict(),
                           iscp_Jpsipi0_2.to_dict(),
                           iscp_Jpsipi0_3.to_dict()]

            },
            {
                "name": "SCP_CCP_D+_D-",
                "fit": {
                    "chi2": 15.65,
                    "ndf": 4,
                    "p": 0.00352
                },
                "averages": [accp_DpDm.to_dict(), ascp_DpDm.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.35 ],
                    [ 0.35, 1.00 ]
                ],
                "inputs": [iccp_DpDm_1.to_dict(),
                           iccp_DpDm_2.to_dict(),
                           iccp_DpDm_3.to_dict(),
                           iscp_DpDm_1.to_dict(),
                           iscp_DpDm_2.to_dict(),
                           iscp_DpDm_3.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_Jpsi_rho0",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [accp_Jpsirho0.to_dict(), ascp_Jpsirho0.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.01],
                    [-0.01, 1.00],
                    ],
                "inputs": [iccp_Jpsirho0_1.to_dict(),
                           iscp_Jpsirho0_1.to_dict()]
            },
            {
                "name": "SCP_CCP_Rperp_D*+_D*-",
                "fit": {
                    "chi2": 8.37,
                    "ndf": 5,
                    "p": 0.13689
                },
                "averages": [accp_DstDst.to_dict(),
                             arperp_DstDst.to_dict(),
                             ascp_DstDst.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00,-0.01 ],
                    [ 0.00, 1.00,-0.11 ],
                    [-0.01,-0.11, 1.00 ]
                ],
                "inputs": [iccp_DstDst_1.to_dict(),
                           iccp_DstDst_2.to_dict(),
                           iccp_DstDst_3.to_dict(),
                           irperp_DstDst_1.to_dict(),
                           irperp_DstDst_3.to_dict(),
                           iscp_DstDst_1.to_dict(),
                           iscp_DstDst_2.to_dict(),
                           iscp_DstDst_3.to_dict()
                ]

            },
            {
                "name": "SCPpm_CCPpm_Rperp_D*+_D-",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [ascpp_DstD.to_dict(),
                             accpp_DstD.to_dict(),
                             ascpm_DstD.to_dict(),
                             ascpm_DstD.to_dict(),
                             arperp_DstD.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.01, 0.38,-0.04,-0.08],
                    [-0.01, 1.00, 0.04,-0.47, 0.00],
                    [ 0.38, 0.04, 1.00,-0.22, 0.47],
                    [-0.04,-0.47,-0.22, 1.00,-0.15],
                    [-0.08, 0.00, 0.47,-0.15, 1.00]
                ],
                "inputs": [iscpp_DstD.to_dict(),
                           iccpp_DstD.to_dict(),
                           iscpm_DstD.to_dict(),
                           iscpm_DstD.to_dict(),
                           irperp_DstD.to_dict()]
            },
            {
                "name": "S_C_DeltaS_DeltaC_A_D*+_D-",
                "fit": {
                    "chi2": 4.36,
                    "ndf": 10,
                    "p": 0.92966
                },
                "averages": [aa_DstD.to_dict(),
                             ac_DstD.to_dict(),
                             adeltac_DstD.to_dict(),
                             adeltas_DstD.to_dict(),
                             as_DstD.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00, 0.00, 0.00, 0.00],
                    [ 0.00, 1.00, 0.01, 0.01, 0.25],
                    [ 0.00, 0.01, 1.00, 0.27, 0.02],
                    [ 0.00, 0.01, 0.27, 1.00, 0.04],
                    [ 0.00, 0.25, 0.02, 0.04, 1.00]],
                "inputs": [ia_DstD_1.to_dict(),
                           ia_DstD_2.to_dict(),
                           ia_DstD_3.to_dict(),
                           ic_DstD_1.to_dict(),
                           ic_DstD_2.to_dict(),
                           ic_DstD_3.to_dict(),
                           ideltac_DstD_1.to_dict(),
                           ideltac_DstD_2.to_dict(),
                           ideltac_DstD_3.to_dict(),
                           ideltas_DstD_1.to_dict(),
                           ideltas_DstD_2.to_dict(),
                           ideltas_DstD_3.to_dict(),
                           is_DstD_1.to_dict(),
                           is_DstD_2.to_dict(),
                           is_DstD_3.to_dict()]
            },
            {
                "name": "SCP_CCP_DetaGamma_Bs0_",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [ascp_BsJpsiKs.to_dict(),
                             accp_BsJpsiKs.to_dict(),
                             adeltagamma_BsJpsiKs.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.06,-0.01 ],
                    [-0.06, 1.00,-0.07 ],
                    [-0.01,-0.07, 1.00 ]
                ],
                "inputs": [iscp_BsJpsiKs_1.to_dict(),
                           iccp_BsJpsiKs_1.to_dict(),
                           ideltagamma_BsJpsiKs_1.to_dict()]
            },
            {
                "name": "SCP_phi_K0",
                "fit": {
                    "chi2": 1.53,
                    "ndf": 2,
                    "p": 0.46570
                },
                "averages": [ascp_phiK0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [is_phiK0_1.to_dict(),
                           is_phiK0_2.to_dict(),
                           is_phiK0_3.to_dict()]
            },
            {
                "name": "CCP_phi_K0",
                "fit": {
                    "chi2": 1.75,
                    "ndf": 2,
                    "p": 0.41694
                },
                "averages": [accp_phiK0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [ic_phiK0_1.to_dict(),
                           ic_phiK0_2.to_dict(),
                           ic_phiK0_3.to_dict()]
            },
            {
                "name": "SCP_etaprime_K0",
                "fit": {
                    "chi2": 3.42,
                    "ndf": 4,
                    "p": 0.49032
                },
                "averages": [ascp_etapK0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [is_etapK0_1.to_dict(),
                           is_etapK0_2.to_dict(),
                           is_etapK0_3.to_dict()]
            },
            {
                "name": "CCP_etaprime_K0",
                "fit": {
                    "chi2": 3.42,
                    "ndf": 4,
                    "p": 0.49032
                },
                "averages": [accp_etapK0.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [ic_etapK0_1.to_dict(),
                           ic_etapK0_2.to_dict(),
                           ic_etapK0_3.to_dict()]
            },
            {
                "name": "SCP_CCP_K0S_K0S_K0S",
                "fit": {
                    "chi2": 0.55,
                    "ndf": 2,
                    "p": 0.76030
                },
                "averages": [ascp_KsKsKs.to_dict(), accp_KsKsKs.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.07 ],
                    [ 0.07, 1.00 ]
                ],
                "inputs": [is_KsKsKs_1.to_dict(),
                           is_KsKsKs_2.to_dict(),
                           ic_KsKsKs_1.to_dict(),
                           ic_KsKsKs_2.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_pi0_K0S",
                "fit": {
                    "chi2": 2.47,
                    "ndf": 4,
                    "p": 0.64929
                },
                "averages": [ascp_pi0Ks.to_dict(), accp_pi0Ks.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.01 ],
                    [ 0.01, 1.00 ]
                ],
                "inputs": [is_pi0Ks_1.to_dict(),
                           is_pi0Ks_2.to_dict(),
                           is_pi0Ks_3.to_dict(),
                           ic_pi0Ks_1.to_dict(),
                           ic_pi0Ks_2.to_dict(),
                           ic_pi0Ks_3.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_pi_pi_K0S",
                "fit": {
                    "chi2": 4.14,
                    "ndf": 4,
                    "p": 0.38704
                },
                "averages": [accp_f0Ks.to_dict(), accp_rho0Ks.to_dict(),
                             ascp_f0Ks.to_dict(), ascp_rho0Ks.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.10, 0.02,-0.01 ],
                    [-0.10, 1.00,-0.01, 0.10 ],
                    [ 0.02,-0.01, 1.00, 0.15 ],
                    [-0.01, 0.10, 0.15, 1.00 ]
                ],
                "inputs": [is_rho0Ks_1.to_dict(),
                           is_rho0Ks_2.to_dict(),
                           ic_rho0Ks_1.to_dict(),
                           ic_rho0Ks_2.to_dict(),
                           is_f0Ks_3.to_dict(),
                           is_f0Ks_4.to_dict(),
                           ic_f0Ks_3.to_dict(),
                           ic_f0Ks_4.to_dict()                            
                ]
            },
            {
                "name": "SCP_CCP_omega_K0S",
                "fit": {
                    "chi2": 9.92,
                    "ndf": 2,
                    "p": 0.00701
                },
                "averages": [ascp_omegaKs.to_dict(), accp_omegaKs.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.01 ],
                    [ 0.01, 1.00 ]
                ],
                "inputs": [is_omegaKs_1.to_dict(),
                           is_omegaKs_2.to_dict(),
                           ic_omegaKs_1.to_dict(),
                           ic_omegaKs_2.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_f0_K0S",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [ascp_f0Ks.to_dict(), accp_f0Ks.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00],
                    [ 0.00, 1.00]
                ],
                "inputs": [is_f0Ks_1.to_dict(),
                           is_f0Ks_2.to_dict(),
                           is_f0Ks_3.to_dict(),
                           ic_f0Ks_1.to_dict(),
                           ic_f0Ks_2.to_dict(),
                           ic_f0Ks_3.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_f2_K0S",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [ascp_f2Ks.to_dict(), accp_f2Ks.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00 ],
                    [ 0.00, 1.00 ]
                ],
                "inputs": [is_f2Ks_1.to_dict(),
                           ic_f2Ks_1.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_fX_K0S",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [ascp_fXKs.to_dict(), accp_fXKs.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00 ],
                    [ 0.00, 1.00 ]
                ],
                "inputs": [is_fXKs_1.to_dict(),
                           ic_fXKs_1.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_pi0_pi0_K0S",
                "fit": {
                    "chi2": 5.15,
                    "ndf": 2,
                    "p": 0.07598
                },
                "averages": [ascp_pi0pi0Ks.to_dict(), accp_pi0pi0Ks.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00 ],
                    [ 0.00, 1.00]
                ],
                "inputs": [is_pi0pi0Ks_1.to_dict(),
                           is_pi0pi0Ks_2.to_dict(),
                           is_pi0pi0Ks_1.to_dict(),
                           ic_pi0pi0Ks_2.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_phi_K0S_pi0",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [ascp_phiKspi0.to_dict(), accp_phiKspi0.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00 ],
                    [ 0.00, 1.00]
                ],
                "inputs": [is_phiKspi0_1.to_dict(),
                           ic_phiKspi0_1.to_dict()
                ]
            },
            {
                "name": "SCP_CCP_pi_pi_K0S",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [ascp_pipiKs.to_dict(), accp_pipiKs.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00 ],
                    [ 0.00, 1.00]
                ],
                "inputs": [is_pipiKs_1.to_dict(),
                           ic_pipiKs_1.to_dict()
                ]
            },
            {
                "name": "beta_ACP_K_K_K0S",
                "fit": {
                    "chi2": 1.85,
                    "ndf": 6,
                    "p": 0.93332
                },
                "averages": [aacp_f0Ks.to_dict(),
                             aacp_KKKs_nr.to_dict(),
                             aacp_phiKs.to_dict(),
                             abeta_f0Ks.to_dict(),
                             abeta_KKKs_nr.to_dict(),
                             abeta_phiKs.to_dict()
                ],
                "averages_correlation": [
                    [ 1.00, 0.49,-0.06,-0.02, 0.37,-0.37],
                    [ 0.49, 1.00,-0.03,-0.30, 0.10,-0.27],
                    [-0.06,-0.03, 1.00,-0.03,-0.03, 0.09],
                    [-0.02,-0.30,-0.03, 1.00, 0.48, 0.38],
                    [ 0.37, 0.10,-0.03, 0.48, 1.00, 0.21],
                    [-0.37,-0.27, 0.09, 0.38, 0.21, 1.00]
                ],
                "inputs": [iacp_f0Ks_1.to_dict(), iacp_f0Ks_2.to_dict(),
                           iacp_KKKs_nr_1.to_dict(), iacp_KKKs_nr_2.to_dict(),
                           iacp_phiKs_1.to_dict(), iacp_phiKs_2.to_dict(),
                           ibeta_f0Ks_1.to_dict(), ibeta_f0Ks_2.to_dict(),
                           ibeta_KKKs_nr_1.to_dict(), ibeta_KKKs_nr_2.to_dict(),
                           ibeta_phiKs_1.to_dict(), ibeta_phiKs_2.to_dict()
                ]
            },
            {
                "name": "beta_ACP_pi_pi_K0S",
                "fit": {
                    "chi2": 4.14,
                    "ndf": 4,
                    "p": 	0.38704
                },
                "averages": [aacp_f0Ks.to_dict(),
                             aacp_rho0Ks.to_dict(),
                             abeta_f0Ks.to_dict(),
                             abeta_rho0Ks.to_dict()
                ],
                "averages_correlation": [
                    [ 1.00,-0.10, 0.02,-0.01],
                    [-0.10, 1.00,-0.01, 0.10],
                    [ 0.02,-0.01, 1.00, 0.15],
                    [-0.01, 0.10, 0.15, 1.00]
                ],
                "inputs": [iacp_f0Ks_1.to_dict(),
                           iacp_f0Ks_2.to_dict(),
                           iacp_rho0Ks_1.to_dict(),
                           iacp_rho0Ks_2.to_dict(),
                           ibeta_f0Ks_1.to_dict(),
                           ibeta_f0Ks_2.to_dict(),
                           ibeta_rho0Ks_1.to_dict(),
                           ibeta_rho0Ks_2.to_dict()
                ]
            },
            {
                "name": "beta_ACP_f2_K0S",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [aacp_f2Ks.to_dict(), abeta_f2Ks.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00],
                    [ 0.00, 1.00]
                ], 
                "inputs": [iacp_f2Ks_1.to_dict(),
                           ibeta_f2Ks_1.to_dict()
                ]
            },
            {
                "name": "beta_ACP_fX_K0S",
                "fit": {
                    "chi2": 0,
                    "ndf": 0,
                    "p": 0
                },
                "averages": [aacp_fXKs.to_dict(), abeta_fXKs.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00],
                    [ 0.00, 1.00]
                ], 
                "inputs": [iacp_fXKs_1.to_dict(),
                           ibeta_fXKs_1.to_dict()
                ]
            },
            {
                "name": "SCP_Bs0_K_K",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [ascp_BsKK.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [iscp_BsKK.to_dict(),
                ]
            },
            {
                "name": "CCP_Bs0_K_K",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [accp_BsKK.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [iccp_BsKK.to_dict(),
                ]
            },
            {
                "name": "A_DeltaGamma_Bs0_K_K",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [aDG_BsKK.to_dict()],
                "averages_correlation": [[1.0]],
                "inputs": [iDG_BsKK.to_dict(),
                ]
            },
            {
                "name": "SCP_CCP_K0S_K0S",
                "fit": {
                    "chi2": 2.50,
                    "ndf": 2,
                    "p": 0.28672
                },
                "averages": [accp_KsKs.to_dict(), ascp_KsKs.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.14 ],
                    [ 0.14, 1.00 ]
                ],
                "inputs": [iccp_KsKs_1.to_dict(),
                           iccp_KsKs_2.to_dict(),
                           iscp_KsKs_1.to_dict(),
                           iscp_KsKs_2.to_dict()]
            },
            {
                "name": "SCP_CCP_K*0_gamma",
                "fit": {
                    "chi2": 2.53,
                    "ndf": 4,
                    "p": 0.63896
                },
                "averages": [accp_Kst0gamma.to_dict(), ascp_Kst0gamma.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.03 ],
                    [ 0.03, 1.00 ]
                ],
                "inputs": [iccp_Kst0gamma_1.to_dict(),
                           iccp_Kst0gamma_2.to_dict(),
                           iccp_Kst0gamma_3.to_dict(),
                           iscp_Kst0gamma_1.to_dict(),
                           iscp_Kst0gamma_2.to_dict(),
                           iscp_Kst0gamma_3.to_dict()]
            },
            {
                "name": "SCP_CCP_K0S_pi0_gamma",
                "fit": {
                    "chi2": 3.24,
                    "ndf": 4,
                    "p": 0.51848
                },
                "averages": [accp_Kspi0gamma.to_dict(), ascp_Kspi0gamma.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.03 ],
                    [ 0.03, 1.00 ]
                ],
                "inputs": [iccp_Kspi0gamma_1.to_dict(),
                           iccp_Kspi0gamma_2.to_dict(),
                           iccp_Kspi0gamma_3.to_dict(),
                           iscp_Kspi0gamma_1.to_dict(),
                           iscp_Kspi0gamma_2.to_dict(),
                           iscp_Kspi0gamma_3.to_dict()]
            },
            {
                "name": "SCP_CCP_K0S_eta_gamma",
                "fit": {
                    "chi2": 2.87,
                    "ndf": 2,
                    "p": 0.23774
                },
                "averages": [accp_Ksetagamma.to_dict(), ascp_Ksetagamma.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.15 ],
                    [-0.15, 1.00 ]
                ],
                "inputs": [iccp_Ksetagamma_1.to_dict(),
                           iccp_Ksetagamma_2.to_dict(),
                           iscp_Ksetagamma_1.to_dict(),
                           iscp_Ksetagamma_2.to_dict()]
            },
            {
                "name": "SCP_CCP_K0S_pi_pi_gamma",
                "fit": {
                    "chi2": 3.13,
                    "ndf": 2,
                    "p": 0.20913
                },
                "averages": [accp_Kspipigamma.to_dict(), ascp_Kspipigamma.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.04 ],
                    [-0.04, 1.00 ]
                ],
                "inputs": [iccp_Kspipigamma_1.to_dict(),
                           iccp_Kspipigamma_2.to_dict(),
                           iscp_Kspipigamma_1.to_dict(),
                           iscp_Kspipigamma_2.to_dict()]
            },
            {
                "name": "SCP_CCP_K0S_phi_gamma",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [accp_Ksphigamma.to_dict(), ascp_Ksphigamma.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00],
                    [ 0.00, 1.00]
                ],
                "inputs": [iccp_Ksphigamma_1.to_dict(),
                           iscp_Ksphigamma_1.to_dict()]
            },
            {
                "name": "SCP_CCP_A_DeltaGamma_Bs0_phi_gamma",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [accp_Bsphigamma.to_dict(),
                             ascp_Bsphigamma.to_dict(),
                             aDG_Bsphigamma.to_dict()],
                "averages_correlation": [
                    [ 1.00, 0.00, 0.00 ],
                    [ 0.00, 1.00, 0.00 ],
                    [ 0.00, 0.00, 1.00 ]
                ],
                "inputs": [iccp_Bsphigamma_1.to_dict(),
                           iscp_Bsphigamma_1.to_dict(),
                           iDG_Bsphigamma_1.to_dict()]
            },
            {
                "name": "SCP_CCP_A_rho0_gamma",
                "fit": {
                    "chi2": 0.,
                    "ndf": 0,
                    "p": 0.
                },
                "averages": [accp_rhogamma.to_dict(),
                             ascp_rhogamma.to_dict()],
                "averages_correlation": [
                    [ 1.00,-0.09 ],
                    [-0.09, 1.00 ]
                ],
                "inputs": [iccp_rhogamma_1.to_dict(),
                           iscp_rhogamma_1.to_dict()]
            }
        ]
    })
    # Convert the object to a dictionary
    result_dict = w.to_dict()
    # Convert the dictionary to a JSON string
    result_json = json.dumps(result_dict, indent=4)
    with open("HFLAV.json", "w") as f:
        f.write(result_json)

if __name__ == "__main__":
    beta_results_write()
    print("JSON file written successfully.")

