Skip to content

Commit

Permalink
fix: mutuelle communale montpellier
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamzic committed Oct 2, 2024
1 parent 86670aa commit a7770dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ class montpellier_mutuelle_communale(Variable):

def formula(famille, period):
eligibilite_residentielle = famille.demandeur.menage('montpellier_eligibilite_residence', period)
eligibilite_css = famille('css_cmu_acs_eligibilite', period)
css_participation_forfaitaire = famille('css_participation_forfaitaire_montant', period)
eligibilite_css = css_participation_forfaitaire > 0
return eligibilite_residentielle & not_(eligibilite_css)
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
period: 2024-10
input:
depcom: ["34172", "34172", "68400", "68400"]
css_cmu_acs_eligibilite: [False, True, True, False]
css_participation_forfaitaire_montant: [0, 20, 25, 30]
output:
montpellier_mutuelle_communale: [True, False, False, False]

0 comments on commit a7770dd

Please sign in to comment.