Skip to content
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

Réorganisation des fichiers de tests #2036

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
first pass
paul committed May 22, 2023
commit 350db59821485b7e18cb6785d08d2b742f7ebd70
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- period: 2016-06
name: CSG
relative_error_margin: 0.001
input:
salaire_de_base: 1467
complementaire_sante_part_employeur: 0.625
complementaire_sante_montant: 40
categorie_salarie: prive_cadre
output:
complementaire_sante_employeur: -40 * 0.625
complementaire_sante_salarie: -40 * (1 - 0.625)
prevoyance_obligatoire_cadre: -1467 * 1.5 / 100
crds_salaire: -(1467 * 0.9825 + 40 * 0.625 + 1467 * 1.5 / 100) * 0.5 / 100
csg_imposable_salaire: -(1467 * 0.9825 + 40 * 0.625 + 1467 * 1.5 / 100) * 2.4 / 100
csg_deductible_salaire: -(1467 * 0.9825 + 40 * 0.625 + 1467 * 1.5 / 100) * 5.1 / 100


- period: 2018-01
name: CSG et CRDS
relative_error_margin: 0.001
input:
salaire_de_base: 1500
complementaire_sante_part_employeur: 0.625
complementaire_sante_montant: 40
categorie_salarie: prive_cadre # cadre
output:
complementaire_sante_employeur: -40 * 0.625
complementaire_sante_salarie: -40 * (1 - 0.625)
prevoyance_obligatoire_cadre: -1500 * 1.5 / 100
crds_salaire: -(1500 * 0.9825 + 40 * 0.625) * 0.5 / 100
csg_imposable_salaire: -(1500 * 0.9825 + 40 * 0.625) * 2.4 / 100
csg_deductible_salaire: -(1500 * 0.9825 + 40 * 0.625) * 6.8 / 100
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
- name: Retraite Exonéré 2016
period: 2016-01
input:
retraite_brute: 2000.0
rfr:
2014:
10000.0
output:
csg_imposable_retraite: 0*2000
csg_deductible_retraite: 0*2000

- name: Retraite Taux réduit 2016
period: 2016-01
input:
retraite_brute: 2000.0
rfr:
2014:
13000.0
output:
csg_deductible_retraite: -0.038*2000
csg_imposable_retraite: -0*2000

- name: Retraite Taux plein 2016
period: 2016-01
input:
retraite_brute: 2000.0
rfr:
2014:
14000.0
output:
csg_deductible_retraite: -0.042*2000
csg_imposable_retraite: -0.024*2000

- name: Retraite Exonéré 2020
period: 2020-01
input:
retraite_brute: 2000.0
rfr:
2018:
10000.0
output:
csg_imposable_retraite: 0*2000
csg_deductible_retraite: 0*2000

- name: Retraite Taux réduit 2020
period: 2020-01
input:
retraite_brute: 2000.0
rfr:
2018:
13000.0
output:
csg_deductible_retraite: -0.038*2000
csg_imposable_retraite: -0*2000

- name: Retraite Taux médian 2020
period: 2020-01
input:
retraite_brute: 2000.0
rfr:
2018:
20000.0
output:
csg_deductible_retraite: -0.042*2000
csg_imposable_retraite: -0.024*2000

- name: Retraite Taux plein 2020
period: 2020-01
input:
retraite_brute: 2000.0
rfr:
2018:
23000.0
output:
csg_deductible_retraite: -0.059*2000
csg_imposable_retraite: -0.024*2000

- name: Chomage déductible et imposable Abattement Exoneration seuil Smic 2020
period: 2020-01
input:
chomage_brut: 1000.0
rfr:
2018:
15000.0
output:
csg_deductible_chomage: 0
csg_imposable_chomage: 0

- name: Chomage déductible et imposable Abattement Exonération seuil RFR 2020
period: 2020-01
input:
chomage_brut: 1000.0
rfr:
2018:
12000.0
output:
csg_deductible_chomage: 0*(0.9825*1000)
csg_imposable_chomage: 0*(0.9825*1000)

- name: Chomage déductible et imposable Abattement Taux réduit 2020
period: 2020-01
input:
chomage_brut: 2000.0
rfr:
2018:
12000.0
output:
csg_imposable_chomage: -0*(0.9825*2000)
csg_deductible_chomage: -0.038*(0.9825*2000)

- name: Chomage déductible et imposable Abattement Taux plein 2020
period: 2020-01
input:
chomage_brut: 2000.0
rfr:
2018:
15000.0
output:
csg_imposable_chomage: -0.024*(0.9825*2000)
csg_deductible_chomage: -0.038*(0.9825*2000)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- name: Calcul de l'égibilité et du montant du Contrat d'Engagement Jeune
period: 2022-03
input:
age: [15, 16, 17, 18, 24, 24, 24, 28, 28]
handicap: [false, false, false, false, false, false, false, false, true]
activite: [inactif, inactif, inactif, actif, inactif, inactif, etudiant, inactif, inactif]
salaire_net:
2021-12: [0, 0, 0, 200, 0, 0, 0, 0, 0]
2022-01: [0, 0, 0, 200, 0, 0, 0, 0, 0]
2022-02: [0, 0, 0, 200, 0, 0, 0, 0, 0]
rsa:
2021-12: [0, 0, 0, 0, 1, 0, 0, 0, 0]
2022-01: [0, 0, 0, 0, 1, 0, 0, 0, 0]
2022-02: [0, 0, 0, 0, 1, 0, 0, 0, 0]
ppa:
2021-12: [0, 0, 0, 0, 0, 1, 0, 0, 0]
2022-01: [0, 0, 0, 0, 0, 1, 0, 0, 0]
2022-02: [0, 0, 0, 0, 0, 1, 0, 0, 0]
output:
contrat_engagement_jeune: [0,200,200,500,0,0,0,0,500]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- name: Critère d'âge pour le Contrat d'Engagement Jeune
period: 2022-03
input:
age: [15, 16, 25, 26, 29, 30]
handicap: [false, false, false, false, true, true]
output:
contrat_engagement_jeune_eligibilite_age: [false, true, true, false, true, false]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- name: Calcul de l'éligibilité au Contrat d'Engagement Jeune en fonction du statut
period: 2022-03
input:
activite: [actif, etudiant]
output:
contrat_engagement_jeune_eligbilite_statut: [true, false]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- name: Calcul de l'égibilité au Contrat d'Engagement Jeune
period: 2022-03
input:
age: [25, 19, 24, 18]
salaire_net:
2021-12: [0, 1200, 0, 0]
2022-01: [0, 1200, 0, 0]
2022-02: [0, 1200, 0, 0]
rsa:
2021-12: [1, 0, 0, 0]
2022-01: [1, 0, 0, 0]
2022-02: [1, 0, 0, 0]
ppa:
2021-12: [0, 0, 1, 0]
2022-01: [0, 0, 1, 0]
2022-02: [0, 0, 1, 0]
output:
contrat_engagement_jeune_eligibilite_ressources: [false, false, false, true]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- name: Calcul du montant du Contrat d'Engagement Jeune
period: 2022-03
input:
age: [24, 24, 16]
salaire_imposable:
2021: [24000, 0, 16]
output:
contrat_engagement_jeune_montant: [300, 500, 200]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.