Skip to content
Snippets Groups Projects
Commit 886076c8 authored by benoit-cty's avatar benoit-cty
Browse files

Montants totals

parent 4b192050
No related branches found
No related tags found
1 merge request!77PLF 2023
Pipeline #6224 passed
......@@ -29,8 +29,8 @@ RECETTES_ETAT_EUROS = {
"2019": 71_700_000_000,
"2020": 74_000_000_000,
"2021": 77_000_000_000,
"2022": 82_400_000_000, # Hypothèse du PLF 2022 - 86.8 révisé 2022
"2023": 86_900_000_000, # Hypothèse du PLF 2023
"2022": 86_800_000_000, # 82.4 Hypothèse du PLF 2022 - 86.8 révisé 2022
"2023": 86_887_586_871, # Hypothèse du PLF 2023
}
version_beta_sans_simu_pop = (
......@@ -270,11 +270,12 @@ def calcule_personnes_touchees(factor: Dict, impots_par_reforme):
foyers_fiscaux_touches[nom_colonne_affectation] = {}
impots_par_reforme[nom_colonne_affectation] = IMPOT_INCHANGE
impots_par_reforme.loc[
((impots_par_reforme[nom_comp_1] - 0.1) * factor[nom_comp_1] > impots_par_reforme[nom_comp_2] * factor[nom_comp_2]),
# Ajout de 5% de marge pour éviter d'avoir des perdants non significatifs.
((impots_par_reforme[nom_comp_1] - 0.1) * factor[nom_comp_1] > impots_par_reforme[nom_comp_2] * factor[nom_comp_2] * 1.05),
nom_colonne_affectation,
] = IMPOT_AUGMENTE
impots_par_reforme.loc[
((impots_par_reforme[nom_comp_1] + 0.1) * factor[nom_comp_1] < impots_par_reforme[nom_comp_2] * factor[nom_comp_2]),
((impots_par_reforme[nom_comp_1] + 0.1) * factor[nom_comp_1] < impots_par_reforme[nom_comp_2] * factor[nom_comp_2] * 0.95),
nom_colonne_affectation,
] = IMPOT_DIMINUE
impots_par_reforme.loc[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment