diff --git a/openfisca_france_reforms/contrefactuel_plf/__init__.py b/openfisca_france_reforms/contrefactuel_plf/__init__.py index 578d432502b4d2248889a0d0f45bc5152366525b..9c4e158073575ecdebc0509ba2c60044b0602a54 100644 --- a/openfisca_france_reforms/contrefactuel_plf/__init__.py +++ b/openfisca_france_reforms/contrefactuel_plf/__init__.py @@ -87,33 +87,33 @@ def modify_parameters(parameters): ## Aides au logement : - param_apl = parameters.prestations_sociales.aides_logement.allocations_logement - ### aides au logement paramètres loyers - list_param_al_loyer = [ - param_apl.locatif.formule.l_plafonds_loyers.par_zone, - param_apl.locatif.formule.pp_particip_perso.r0_abattement.cas_general, - param_apl.locatif.formule.c_forfait_charges, - param_apl.foyer.al.formule.c_forfait_charges, - param_apl.accession.formule.c_forfait_charges, - param_apl.foyer.al.formule.l_plafonds_loyers, - param_apl.foyer.apl.formule.e_equiv_loyers_eligible, - param_apl.locatif.formule.pp_particip_perso.p0_particip_min.p0_forfait - ] - for param in list_param_al_loyer: - inflate_parameters( - param, - inflator=inflateurs_parameters( - year_contrefactuel - 1 - ).inflateur_aides_logement_loyer, - base_year=year_contrefactuel - 2, - last_year=year_contrefactuel - 1, - start_instant=f"{year_contrefactuel - 1}-10-01", - round_ndigits=0, - ignore_missing_units=True, - ) - add_metadata( - param, {"inflator": "inflateurs/inflateur_aides_logement_loyer"} - ) + # param_apl = parameters.prestations_sociales.aides_logement.allocations_logement + # ### aides au logement paramètres loyers + # list_param_al_loyer = [ + # param_apl.locatif.formule.l_plafonds_loyers.par_zone, + # param_apl.locatif.formule.pp_particip_perso.r0_abattement.cas_general, + # param_apl.locatif.formule.c_forfait_charges, + # param_apl.foyer.al.formule.c_forfait_charges, + # param_apl.accession.formule.c_forfait_charges, + # param_apl.foyer.al.formule.l_plafonds_loyers, + # param_apl.foyer.apl.formule.e_equiv_loyers_eligible, + # param_apl.locatif.formule.pp_particip_perso.p0_particip_min.p0_forfait + # ] + # for param in list_param_al_loyer: + # inflate_parameters( + # param, + # inflator=inflateurs_parameters( + # year_contrefactuel - 1 + # ).inflateur_aides_logement_loyer, + # base_year=year_contrefactuel - 2, + # last_year=year_contrefactuel - 1, + # start_instant=f"{year_contrefactuel - 1}-10-01", + # round_ndigits=0, + # ignore_missing_units=True, + # ) + # add_metadata( + # param, {"inflator": "inflateurs/inflateur_aides_logement_loyer"} + # ) ## TODO : rajouter une option pour l'inflation en octobre N-1 tant que décret pour octobre n'est pas sorti