{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/246","labels_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/246/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/246/events","html_url":"https://github.com/openfisca/openfisca-france/pull/246","id":73933255,"number":246,"title":"Prise en compte des revenus du conjoint pour l'ASS : ARE, Retraite, IJ et ASS abattus ","user":{"login":"fpagnoux","id":11834997,"avatar_url":"https://avatars.githubusercontent.com/u/11834997?v=3","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-07T10:27:32Z","updated_at":"2015-05-07T13:48:49Z","closed_at":"2015-05-07T13:46:26Z","pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/246","html_url":"https://github.com/openfisca/openfisca-france/pull/246","diff_url":"https://github.com/openfisca/openfisca-france/pull/246.diff","patch_url":"https://github.com/openfisca/openfisca-france/pull/246.patch"},"body":"Depends on https://github.com/openfisca/openfisca-france/pull/241\r\nConnected to https://github.com/sgmap/openfisca-france/issues/6\r\n\r\nWarning : No ready to merge yet, as we don't take ASS into account for the partner. I open it for discussion\r\n\r\nMy main problem : \r\n\r\nWe want the calculation of the user's ASS to take into account the ASS perceived by his/her partner. This is tough for two reasons : \r\n\r\n- ASS is, up to date, a formula that apply to Family. We should change this I guess, as it is not the case in law. \r\n- Even if  the previous point is dealt with :  the ASS of the user will be depending on ASS of his/her partner. But if we try to compute the latter, it will depend on the user's ASS and we are stuck in an infinite recursion. Maybe we need to capture the partner's ASS as an input ? \r\n\r\nSo far I ignored ASS, so that should be functional for IJ, Retraite and ARE\r\n\r\n@MattiSG what do you think ? "},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/comments/99873363","html_url":"https://github.com/openfisca/openfisca-france/pull/246#issuecomment-99873363","issue_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/246","id":99873363,"user":{"login":"MattiSG","id":222463,"avatar_url":"https://avatars.githubusercontent.com/u/222463?v=3","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T13:48:49Z","updated_at":"2015-05-07T13:48:49Z","body":"I think we found a loophole in law itself, and that we can’t (yet) open issues against the French social security code  ;)\n\nAs the ASS is the personal (as opposed to familial) benefit, and that our results page presents benefits only for the requester, it indeed makes the most sense to take the partner’s ASS as an input. The alternative would be to iterate until we converge to a fix point, as that is what the administration would tend to; the only difference would be that their iteration duration would be 3-12 months, so it would take a few years for the convergence to happen.\n\n@jdesboeufs if I remember correctly, you already encountered that sort of inconsistency. How did you handle it?"}}