Formule de calcul
Éligibilité au Pass’Sport
Ce dispositif est peut-être obsolète !
La dernière date de relecture du dispositif est jeudi 30 juin 2022.
Formule de calcul OpenFisca à compter du 2022-06-30 :
def formula_2022_06_30(individu, period, parameters): parametres = parameters(period).prestations_sociales.education.pass_sport age = individu('age', period) boursier = individu('boursier', period) age_maximum_profil_boursier = parametres.critere_age.age_maximum_profil_boursier eligibilite_age_profil_boursier = age <= age_maximum_profil_boursier eligibilite_profil_boursier = boursier * eligibilite_age_profil_boursier eligibilite_ars = individu.famille('ars', period.this_year) > 0 age_maximum_profil_ars = parametres.critere_age.age_maximum_profil_ars age_minimum_profil_ars = parametres.critere_age.age_minimum_profil_ars eligibilite_age_profil_ars = (age >= age_minimum_profil_ars) * (age <= age_maximum_profil_ars) eligibilite_profil_ars = eligibilite_ars * eligibilite_age_profil_ars eligibilite_aeeh = individu.famille('aeeh', period) > 0 age_maximum_profil_aeeh = parametres.critere_age.age_maximum_profil_aeeh age_minimum_profil_aeeh = parametres.critere_age.age_minimum_profil_aeeh eligibilite_age_profil_aeeh = (age >= age_minimum_profil_aeeh) * (age <= age_maximum_profil_aeeh) eligibilite_profil_aeeh = eligibilite_aeeh * eligibilite_age_profil_aeeh eligibilite_aah = individu('aah', period) > 0 age_maximum_profil_aah = parametres.critere_age.age_maximum_profil_aah age_minimum_profil_aah = parametres.critere_age.age_minimum_profil_aah eligibilite_age_profil_aah = (age >= age_minimum_profil_aah) * (age <= age_maximum_profil_aah) eligibilite_profil_aah = (eligibilite_aah * eligibilite_age_profil_aah) montant = parametres.montant eligibilite = ( eligibilite_profil_boursier + eligibilite_profil_ars + eligibilite_profil_aeeh + eligibilite_profil_aah ) return montant * eligibilite
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- prestations_sociales.education.pass_sport.critere_age.age_maximum_profil_aah
- prestations_sociales.education.pass_sport.critere_age.age_maximum_profil_aeeh
- prestations_sociales.education.pass_sport.critere_age.age_maximum_profil_ars
- prestations_sociales.education.pass_sport.critere_age.age_maximum_profil_boursier
- prestations_sociales.education.pass_sport.critere_age.age_minimum_profil_aah
- prestations_sociales.education.pass_sport.critere_age.age_minimum_profil_aeeh
- prestations_sociales.education.pass_sport.critere_age.age_minimum_profil_ars
- prestations_sociales.education.pass_sport.montant