-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ipp 4 : Update des réductions d'IR en rapport avec les investissements immobiliers #910
Ipp 4 : Update des réductions d'IR en rapport avec les investissements immobiliers #910
Conversation
cf88118
to
2d9649d
Compare
cadfa45
to
20a01ca
Compare
14d7247
to
b47f2ae
Compare
@@ -1205,7 +1205,6 @@ class prlire(Variable): | |||
value_type = float | |||
entity = FoyerFiscal | |||
label = u"Prélèvement libératoire à restituer (case 2DH)" | |||
end = '2013-12-31' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce qu'il est possible d'ajouter une référence pour cette variable ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce changement a lieu dans la PR #909 et y est déjà discuté
duflot + ecpess + intagr + invfor + invlst + locmeu + mecena + mohist + | ||
patnat + prcomp + repsoc + resimm + rpinel + rsceha + saldom + scelli + sofica + | ||
spfcpi) | ||
return min_(ip_net, total_reductions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Peut-on donner un nom plus explicite à
ip_net
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cf. PR #909
intagr = foyer_fiscal('intagr', period) | ||
invfor = foyer_fiscal('invfor', period) | ||
invlst = foyer_fiscal('invlst', period) | ||
ip_net = foyer_fiscal('ip_net', period) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Peut-on donner un nom plus explicite à
ip_net
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce genre de changement a plus sa place dans la PR #909, je vais modifier là-bas. Cette PR concerne les réductions d'impôt relatives aux investissements immobiliers seulement
@@ -752,7 +789,6 @@ class dfppce(Variable): | |||
entity = FoyerFiscal | |||
label = u"dfppce" | |||
definition_period = YEAR | |||
end = '2013-12-31' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce qu'il est possible d'ajouter une référence pour cette variable ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cf. PR #909
f7vc = foyer_fiscal('f7vc', period) | ||
P = parameters(period).impot_revenu.reductions_impots.dons | ||
P2 = parameters(period).impot_revenu.reductions_impots.donapd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2
ne semble être utilisé que dans le cadre de P2.max
.
Peut-on rendre P2
plus explicite ? Cela a-t'il du sens d'ajouter le .max
à sa definition ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cf. PR #909
@@ -3013,7 +3051,7 @@ class f7tf(Variable): | |||
entity = FoyerFiscal | |||
label = u"Investissements forestiers" | |||
# start_date = date(2011, 1, 1) | |||
end = '2013-12-31' | |||
# end = '2013-12-31' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi avoir commenté ?
@@ -0,0 +1,6 @@ | |||
description: Taux 12% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi ne pas écrire 12% directement dans la formule ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour pouvoir faire des réformes paramétriques.
Même si cela peut parfois paraître absurde, l'usage veut que tous les paramètres numériques ne soit pas codés en dur dans openfisca. Imaginons que l'on veuillent chiffrer le coût ou le gain pour les finances publiques d'un changement des ces taux, on n' a pas forcément envie de réécrire les formules et on peut avoir accès assez facilement aux valeurs si ce sont des paramètres législatifs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benjello Je comprends le besoin de les faire varier. Je propose de la appeler taux1
ou plafond1
, pour éviter que le jour où un de ces taux varie, on se retrouve avec un taux25
soit équivalent à 24%
@@ -0,0 +1,6 @@ | |||
description: Taux 18% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi ne pas écrire 18% directement dans la formule ?
description: Taux 23% | ||
reference: openfisca | ||
unit: /1 | ||
values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi ne pas écrire 23% directement dans la formule ?
@@ -0,0 +1,6 @@ | |||
description: Taux 29% | |||
reference: openfisca | |||
unit: /1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi ne pas écrire 29% directement dans la formule ?
Pour les taux des réductions d'impôt fixes (de type taux25 = 0.25), la remarque revient souvent donc je propose une réponse globale. Je suis pour les garder tels quels car cela permet d'avoir davantage la main sur ces paramètres si on souhaite les modifier pour une réforme/ les corriger. On ne peut pas vraiment leur donner un nom plus explicite non plus car ce sont simplement des taux différenciés pour une réduction selon des critères qui ne sont pas très intuitifs généralement ... Je remets ci-dessous la réponse de @benjello avec laquelle je suis d'accord :
|
2ca5328
to
2d3efa0
Compare
@benjello @ClaireLeroyIPP Je comprends le besoin de les faire varier. Je propose de la appeler taux1ou plafond1, pour éviter que le jour où un de ces taux varie, on se retrouve avec un taux25soit équivalent à 24% |
2d3efa0
to
9605ceb
Compare
@Anna-Livia : si on les appelle |
@ClaireLeroyIPP si tu as besoin d'un coup de main pour résoudre les conflits, fais-moi signe ! |
b4fc1c1
to
9379b4b
Compare
963626e
to
77146a4
Compare
62f03d3
to
986f6f1
Compare
…or years 2014-2016
…n au cours du temps
4fd1f41
to
61ccf9e
Compare
Les modifications de cette PR sont comparées à la branche
ipp-update-credit-and-reduction
(#909)openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impots.py
.openfisca_france/model/prelevements_obligatoires/impot_revenu/variables_reductions_credits.py
openfisca_france/parameters/impot_revenu/reductions_impots/
: rpinel, locmeu, scelliCes changements :