Git Product home page Git Product logo

openfisca-france's Issues

asf-elig

Actuellement la prestation asf_elig concerne les personnes alors qu'elle devrait être dans famille et utiliser des personnes du foyer.

loyer for families

Issue by benjello from Friday Feb 28, 2014 at 23:59 GMT
Originally opened as openfisca/openfisca-core#162


Issue by AlexisEidelman from Tuesday Apr 16, 2013 at 08:23 GMT
Originally opened as https://github.com/openfisca/openfisca/issues/159


So far in the model, household benefit are calculated using the "loyer" variable.
It is assumed that each familiy pay the rent of its household (men) but in case of more than one family that rent should be shared into the families.
You can think about house-sharing to be convinced.

By the way, if I'm not wrong, there is a special legislation in that case.

alloc in foy

Issue by benjello from Saturday Mar 01, 2014 at 00:09 GMT
Originally opened as openfisca/openfisca-core#211


Issue by AlexisEidelman from Thursday May 30, 2013 at 15:32 GMT
Originally opened as https://github.com/openfisca/openfisca/issues/212


I try to clean the get value function.
Doing this I figured out that there is might be a problem with actual code and alloc in irpp.
It's not a big deal as it's still virtual for now, but is was coded as it was simpler than it is in real.
I mean in some case, a familiy is on two declaration (non married couple) so what af should we put ? There is also more complicated case. My point is just that there is no order between fam and foy so a legislation should be explicit on that point.

I change the code by commenting these line and let af = 0 instead.

Incohérence RSA

Bonjour,

Je viens de repérer une incohérence (a priori apparue après le Hackathon de vendredi).
Voici la simulation :

{
    "scenarios": [
        {
            "test_case": {
                "familles": [
                    {
                        "parents": [
                            "ind0"
                        ]
                    }
                ],
                "foyers_fiscaux": [
                    {
                        "declarants": [
                            "ind0"
                        ]
                    }
                ],
                "individus": [
                    {
                        "activite": "Actif occupé",
                        "birth": "1989-01-01",
                        "id": "ind0",
                        "sali": 60000,
                        "statmarit": "Pacsé"
                    },
                    {
                        "activite": "Actif occupé",
                        "birth": "1989-01-01",
                        "id": "ind1",
                        "sali": 0,
                        "statmarit": "Pacsé"
                    }
                ],
                "menages": [
                    {
                        "personne_de_reference": "ind0",
                        "so": "Locataire ou sous-locataire d'un logement loué vide non-HLM",
                        "loyer": 1300
                    }
                ]
            },
            "legislation_url": "http://openfisca.fr/api/1/default-legislation",
            "year": 2013
        }
    ]
}

En tout logique ce ménage n'a pas droit au RSA étant donné les rémunérations élevées de l'individu 0. Pourtant il a droit au RSA socle dans la réponse.

Y-a-t'il une erreur dans ma requête ?

Plus de crédits d'impôts en 2013

Sur la fiche de calcul des impôts des revenus 2013, il n'y a plus les crédits d'impôts (alors qu'ils apparaissent dans la notice).

Complément Familial Avril 2014

Le barème du Complément Familial a été mis à jour au 1er avril 2014.

Par ailleurs en décembre 2013 a été créé le Complément Familial Majoré pour les familles vivant sous le seuil de pauvreté. Son barème a même été réévalué le 23 avril 2014.
À vue de nez, le Complément Majoré n'existe pas encore dans OpenFisca.

Allocation de base PAJE

Les modalités de calcul de la PAJE pour les enfants nés après le 1er avril 2014 ont été changées.

Il faudra s'organiser pour corriger ça.

[Ceci est un reminder]

Fip in erf ?

Issue by benjello from Saturday Mar 01, 2014 at 00:20 GMT
Originally opened as openfisca/openfisca-core#304


Issue by AlexisEidelman from Monday Nov 11, 2013 at 10:30 GMT
Originally opened as https://github.com/openfisca/openfisca/issues/305


I'm not sure about what is done with fip people. If I got it well, they are incluced in the erf data as if there were "normal" people. But they're not. They don't live in the household. In particular that means they're not in the family.

Example :
I'm a 6 years old child. I live with my mum, and I'm on my father'fiscal declaration. I'm once EE, once FIP. If you change my status and add me in the erf in my father household then I'm counted twice, and there is two allocation for me...

Everyone agree to change ?

variables sali et salnet à 0 lorsqu'on définit le revenu par salsuperbrut

Lorsqu'on effectue une simulation via l'api avec un scénario où l'on définit le revenu d'un individu avec la variable salsuperbrut, on a sali et salnet à 0. Par ailleurs, revdisp est toujours à 5255.464355 quelque soit salsuperbrut.

L'exemple précis du bug est dans un notebook visible ici (voir le tableau à la fin): http://nbviewer.ipython.org/urls/raw.githubusercontent.com/fmassot/openfisca-web-notebook/master/test_salairesuperbrut.ipynb?create=1

Optimisation des paramètres ASPA

L'ASPA n'est apparemment pas calculée de manière optimale (doublons dans param.xml, notamment entre le montant et le plafond).

Je regarde ça dès que possible (la CNAV vient me voir mercredi).

Conjoint non pris en compte pour RSA socle

Bonjour,

Voici un cas qui donne un calcul de RSA socle incorrect.
Normalement ici je devrais avoir autour de 750 euros (2 parents, 1 enfant, pas de revenus, forfait logement) or je n'ai que 630 euros.

{
  "scenarios": [
    {
      "test_case": {
        "familles": [
          {
            "parents": [
              "demandeur",
              "demandeur.conjoint"
            ],
            "enfants": [
              "demandeur.enfant1"
            ]
          }
        ],
        "foyers_fiscaux": [
          {
            "declarants": [
              "demandeur",
              "demandeur.conjoint"
            ],
            "personnes_a_charge": [
              "demandeur.enfant1"
            ]
          }
        ],
        "individus": [
          {
            "id": "demandeur",
            "birth": "1979-12-31",
            "statmarit": 1
          },
          {
            "id": "demandeur.conjoint",
            "birth": "1979-12-31",
            "statmarit": 1
          },
          {
            "id": "demandeur.enfant1",
            "birth": "1999-12-31"
          }
        ],
        "menages": [
          {
            "personne_de_reference": "demandeur",
            "so": 6,
            "conjoint": "demandeur.conjoint",
            "enfants": [
              "demandeur.enfant1"
            ]
          }
        ]
      },
      "legislation_url": "http://api.openfisca.fr/api/1/default-legislation",
      "year": 2014
    }
  ]
}

Peut-être un problème avec la formule nb_par ?
Merci d'avance :)

csg on revenu foncier

Issue by benjello from Friday Feb 28, 2014 at 23:56 GMT
Originally opened as openfisca/openfisca-core#6


Issue by clems from Wednesday Nov 23, 2011 at 18:17 GMT
Originally opened as https://github.com/openfisca/openfisca/issues/3


Les cotisations sociales sur les revenus au barèmes (csgcap_bar) agrège la csg sur les revenus du capital soumis au barème, mais aussi sur les revenus fonciers et les rentes viagères à titres onéreux. Il faudrait séparer les 3 variables par soucis d'harmonisation et de clarté.

Calcul de la PPE

Le calcul de la prime pour l'emploi est délicat. La meilleure source que j'ai trouvée est wikipedia (http://fr.wikipedia.org/wiki/Prime_pour_l%27emploi) combinée avec la notice des impôts (cf. NOT dans https://www.dropbox.com/home/IDEP_OPENFISCA/python_project/mSim/doc/Documentation/formulaires%20IR/Formulaires%202012). Le revenu pris en compte pour le calcul de la PPE est le revenu d'activité. Il semble qu'il y a une anomalie dans le fichier irpp.py qui clacule la base de ressources utile au calcul de la PPE, dans ppe_rev 👍
on lit " rev_ns = min
(0, rpns) / ppe.abatns + max_(0, rpns) * ppe.abatns
return rev_sa + rev_ns"
C'est étrange qu'un revenu négatif fasse baisser la base de ressources (donc la PPE) (min(0,rpns)).
Je vais essayer de définir dans une autre fonction les revenus d'activité salarié et non salarié, qu'on pourra reprendre dans _ppe_rev.
@clems @benjello

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.