OpenFisca-France 164.1.0__py3-none-any.whl → 164.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of OpenFisca-France might be problematic. Click here for more details.

@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ### 164.1.1 [2019](https://github.com/openfisca/openfisca-france/pull/2019)
4
+
5
+ * Amélioration technique.
6
+ * Périodes concernées : toutes.
7
+ * Zones impactées : `model/revenus/remplacement/chomage.py`
8
+ * Détails :
9
+ - Corrige, dans l'assiette de la CSG/CRDS pour le chomage, la cotisation retraite complementaire (passage d'une valeur journalière à mensuelle)
10
+
3
11
  ## 164.1.0 [2084](https://github.com/openfisca/openfisca-france/pull/2084)
4
12
 
5
13
  * Changement mineur.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 164.1.0
3
+ Version: 164.1.1
4
4
  Summary: French tax and benefit system for OpenFisca
5
5
  Home-page: https://github.com/openfisca/openfisca-france
6
6
  Author: OpenFisca Team
@@ -1,5 +1,5 @@
1
- OpenFisca_France-164.1.0.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=ALheumkIuDZbscns3rjHm4z3E__FkSERo4y1B2NPqj0,430016
2
- OpenFisca_France-164.1.0.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
1
+ OpenFisca_France-164.1.1.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=CgPGPDWp6jsR3yvyhLsR05mRBeOaBo3dbzXphSlMDN0,430377
2
+ OpenFisca_France-164.1.1.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
3
3
  openfisca_france/__init__.py,sha256=MHLZ0V8uQHi4lkZ5bPAoLjsWTJe-wJgLfPxFvbCCxHc,126
4
4
  openfisca_france/entities.py,sha256=nGl52ncj9wZzFwASKZk4_OHzhqOUuXGBxNmIiwxZU-c,2576
5
5
  openfisca_france/france_taxbenefitsystem.py,sha256=UHVqvkqqYk-9RanSPWlVy3uieG77GCSrWCOqVpeN30I,1687
@@ -56,13 +56,13 @@ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributi
56
56
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/base.py,sha256=DLdsTWEftUCGyNW0D64n4MN2vVK9DnIBRTSOuwpQ110,897
57
57
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/capital.py,sha256=A9JahJPGPMEd_ZePx0dvuznPt1drjsfMP5bNWZg7E7A,23936
58
58
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/csg_crds.py,sha256=qQ-dHhoBG_5Xd7DvkUmK7h2HG-w7VhpSk8MN5bilcOQ,5530
59
- openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/remplacement.py,sha256=cUlzY6pO2c-VzMyIA2hCwqpW1uuZBwNRYYWtbOUz4Fs,32282
59
+ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/remplacement.py,sha256=3JQLHUB_Dsb30T61CDRYUskDqwIdUgBFbS6fwy1-nho,32174
60
60
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/versement_transport.py,sha256=dkD3P0PEMu339ZHi3N7qQ0XIYQh007IFF1g_CMdU954,3542
61
61
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/allegements.py,sha256=vM0zgFlwoKtDB-Uk46Uh_gWae0faYExz_gHJrXwI_-I,25834
63
63
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/apprentissage.py,sha256=eXMAn8G40C2D1pUEs8c7Dj2iL7nvIVd_WCACGzNdrUk,11196
64
64
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/base.py,sha256=96NhETcZCaE7jai2T7sf7XnJ7Es9kdHRXKWiwoiSW7Y,13182
65
- openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/chomage.py,sha256=t4DkZLyyaLwH0_ZUQPuKUqcFdys8dHxvIB_LvgrD7ZE,1653
65
+ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/chomage.py,sha256=BUI1fCE9frrtRvO1cCU3pOMRnWEvNK2m9uxAdZBGQ7A,2219
66
66
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/contrat_professionnalisation.py,sha256=8ideXZBZOWimNzDZ0mJN8GdUYsj-hlLKNEBKT7pIYS0,6274
67
67
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/exonerations.py,sha256=Wwbv6iAI5N29uU-w9maeCsGtSQqJdfbfRsiSSmLC0lE,32386
68
68
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/preprocessing.py,sha256=MRi0Pjyhq5TwWz_3eZpOfF8xFa-pLN5RhS-q0FfSrQY,25249
@@ -4020,8 +4020,8 @@ tests/test_parameters.py,sha256=9ByrtcJpaV32qCE-u4FY4fzCugFUW8utc5_KUAmYKG8,354
4020
4020
  tests/test_preprocessing.py,sha256=yhowIYuzGRLNfG05vS5M0IN1hXmgZPflxJmi1w8-MKw,6973
4021
4021
  tests/test_scenarios.py,sha256=A7SmVt_iyDTbNTE45WgGQlQZkJ0uJ1ZGUhTV3ziwLUw,1009
4022
4022
  tests/test_tax_rates.py,sha256=B_CnSIqCijGYkKW7XVZlF8uot0otNJ-Sq-DKINPATfA,1551
4023
- OpenFisca_France-164.1.0.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4024
- OpenFisca_France-164.1.0.dist-info/METADATA,sha256=Evfucj-qA5M-JvIu2AX-FP9TtN-qLUFOxDzX6SXnQv0,20517
4025
- OpenFisca_France-164.1.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
4026
- OpenFisca_France-164.1.0.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4027
- OpenFisca_France-164.1.0.dist-info/RECORD,,
4023
+ OpenFisca_France-164.1.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4024
+ OpenFisca_France-164.1.1.dist-info/METADATA,sha256=tZzr9yNHlpsM_DxSuFECW2a0q378agXjOPh2Sr71Bbs,20517
4025
+ OpenFisca_France-164.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
4026
+ OpenFisca_France-164.1.1.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4027
+ OpenFisca_France-164.1.1.dist-info/RECORD,,
@@ -118,8 +118,8 @@ class csg_deductible_chomage(Variable):
118
118
  )
119
119
 
120
120
  chomage_brut = individu('chomage_brut', period)
121
- chomage_cotisation_retraite_complementaire_journaliere = individu('chomage_cotisation_retraite_complementaire_journaliere', period)
122
- assiette_csg_chomage = chomage_brut - chomage_cotisation_retraite_complementaire_journaliere
121
+ chomage_cotisation_retraite_complementaire = individu('chomage_cotisation_retraite_complementaire', period)
122
+ assiette_csg_chomage = chomage_brut - chomage_cotisation_retraite_complementaire
123
123
 
124
124
  montant_csg = montant_csg_crds(
125
125
  base_avec_abattement = assiette_csg_chomage,
@@ -183,8 +183,8 @@ class csg_imposable_chomage(Variable):
183
183
  )
184
184
 
185
185
  chomage_brut = individu('chomage_brut', period)
186
- chomage_cotisation_retraite_complementaire_journaliere = individu('chomage_cotisation_retraite_complementaire_journaliere', period)
187
- assiette_csg_chomage = chomage_brut - chomage_cotisation_retraite_complementaire_journaliere
186
+ chomage_cotisation_retraite_complementaire = individu('chomage_cotisation_retraite_complementaire', period)
187
+ assiette_csg_chomage = chomage_brut - chomage_cotisation_retraite_complementaire
188
188
 
189
189
  montant_csg = montant_csg_crds(
190
190
  base_avec_abattement = assiette_csg_chomage,
@@ -246,8 +246,8 @@ class crds_chomage(Variable):
246
246
  heures_mensuelles = parameters.marche_travail.salaire_minimum.smic.nb_heures_travail_mensuel
247
247
 
248
248
  chomage_brut = individu('chomage_brut', period)
249
- chomage_cotisation_retraite_complementaire_journaliere = individu('chomage_cotisation_retraite_complementaire_journaliere', period)
250
- assiette_crds_chomage = chomage_brut - chomage_cotisation_retraite_complementaire_journaliere
249
+ chomage_cotisation_retraite_complementaire = individu('chomage_cotisation_retraite_complementaire', period)
250
+ assiette_crds_chomage = chomage_brut - chomage_cotisation_retraite_complementaire
251
251
 
252
252
  cho_seuil_exo = parameters.prelevements_sociaux.contributions_sociales.csg.remplacement.allocations_chomage.min_exo * heures_mensuelles * smic_h_b
253
253
  eligible = (
@@ -30,3 +30,17 @@ class chomage_cotisation_retraite_complementaire_journaliere(Variable):
30
30
  -1 * cotisation_theorique,
31
31
  0),
32
32
  2)
33
+
34
+
35
+ class chomage_cotisation_retraite_complementaire(Variable):
36
+ value_type = float
37
+ entity = Individu
38
+ label = 'Cotisation de retraite complémentaire sur allocation chômage'
39
+ definition_period = MONTH
40
+ set_input = set_input_dispatch_by_period
41
+
42
+ def formula(individu, period):
43
+ chomage_cotisation_retraite_complementaire_journaliere = individu('chomage_cotisation_retraite_complementaire_journaliere', period)
44
+ nombre_jours_mois = period.days
45
+
46
+ return chomage_cotisation_retraite_complementaire_journaliere * nombre_jours_mois