{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/278","labels_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/278/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/278/events","html_url":"https://github.com/openfisca/openfisca-france/issues/278","id":90916165,"number":278,"title":"'salaire_net_a_payer' négatif.","user":{"login":"adrienpacifico","id":6614121,"avatar_url":"https://avatars.githubusercontent.com/u/6614121?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienpacifico","html_url":"https://github.com/adrienpacifico","followers_url":"https://api.github.com/users/adrienpacifico/followers","following_url":"https://api.github.com/users/adrienpacifico/following{/other_user}","gists_url":"https://api.github.com/users/adrienpacifico/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienpacifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienpacifico/subscriptions","organizations_url":"https://api.github.com/users/adrienpacifico/orgs","repos_url":"https://api.github.com/users/adrienpacifico/repos","events_url":"https://api.github.com/users/adrienpacifico/events{/privacy}","received_events_url":"https://api.github.com/users/adrienpacifico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-25T09:58:49Z","updated_at":"2015-09-02T11:25:41Z","closed_at":null,"body":"Bonjour,\r\n\r\nUn petit problème avec salaire_net_a_payer , salaire_net qui renvoie des valeurs négatives pour des salaire_de_base proche de 0.  ( au moins ]0, 100] ).\r\n\r\nTest yaml ci-dessous : \r\n\r\n- name: \"Différent de salaire_de_base\"\r\n  period: 2015-03\r\n  input_variables:\r\n    salaire_de_base: 100\r\n  output_variables:\r\n    sali: 0\r\n    salaire_net_a_payer: 0 # TODO: connais pas la valeur exacte, mais supposée > 0\r\n    salaire_net: 0 # TODO: connais pas la valeur exacte, mais supposée > 0\r\n  period: 2015-03\r\n  input_variables:\r\n    salaire_de_base: 100\r\n  output_variables:\r\n    sali: 0\r\n    salaire_net_a_payer: 0 # TODO: connais pas la valeur exacte, mais supposée > 0\r\n    salaire_net: 0 # TODO: connais pas la valeur exacte, mais supposée > 0\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/comments/137037118","html_url":"https://github.com/openfisca/openfisca-france/issues/278#issuecomment-137037118","issue_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/278","id":137037118,"user":{"login":"adrienpacifico","id":6614121,"avatar_url":"https://avatars.githubusercontent.com/u/6614121?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienpacifico","html_url":"https://github.com/adrienpacifico","followers_url":"https://api.github.com/users/adrienpacifico/followers","following_url":"https://api.github.com/users/adrienpacifico/following{/other_user}","gists_url":"https://api.github.com/users/adrienpacifico/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienpacifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienpacifico/subscriptions","organizations_url":"https://api.github.com/users/adrienpacifico/orgs","repos_url":"https://api.github.com/users/adrienpacifico/repos","events_url":"https://api.github.com/users/adrienpacifico/events{/privacy}","received_events_url":"https://api.github.com/users/adrienpacifico/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T11:25:41Z","updated_at":"2015-09-02T11:25:41Z","body":"Honestly I haven't looked and I barely have an idea of how fiche de paye works. But I think this is problematic to have something that is not reliable, especially if you work on low income people, a warning is for me the bare minimum. You know that I want to work on people that do 'interim' and 'CDD', I don't want to have wrong results for such simulations because I inputed their true 'salaire brut' in 'salaire_de_base'.\r\n\r\nShort Answer : I don't know, but we should ?\r\nLess short : logging.warning('Watch out might not be reliable for low income!') in the __main__ of  reforms.inversion_revenus or in the class :\r\n@Reform.formula \r\n    class salaire_de_base(formulas.SimpleFormulaColumn):\r\n\r\n\r\n"}}