{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-web-api/issues/34","labels_url":"https://api.github.com/repos/openfisca/openfisca-web-api/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-web-api/issues/34/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-web-api/issues/34/events","html_url":"https://github.com/openfisca/openfisca-web-api/issues/34","id":93697702,"number":34,"title":"Prestations sociales erronées pour un test case donné","user":{"login":"iDevelopper","id":1782450,"avatar_url":"https://avatars.githubusercontent.com/u/1782450?v=3","gravatar_id":"","url":"https://api.github.com/users/iDevelopper","html_url":"https://github.com/iDevelopper","followers_url":"https://api.github.com/users/iDevelopper/followers","following_url":"https://api.github.com/users/iDevelopper/following{/other_user}","gists_url":"https://api.github.com/users/iDevelopper/gists{/gist_id}","starred_url":"https://api.github.com/users/iDevelopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iDevelopper/subscriptions","organizations_url":"https://api.github.com/users/iDevelopper/orgs","repos_url":"https://api.github.com/users/iDevelopper/repos","events_url":"https://api.github.com/users/iDevelopper/events{/privacy}","received_events_url":"https://api.github.com/users/iDevelopper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-08T05:14:43Z","updated_at":"2015-09-18T10:07:43Z","closed_at":null,"body":"Bonjour,\r\n\r\nhttps://www.dropbox.com/s/q7vbmofqazw7vvf/simulation.txt?dl=0\r\n\r\nSur api-test :\r\n\r\nCe test case me renvoie des prestations sociales pour un montant de 726 euros (salaire de base = 50000 euros, célibataire)."},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-web-api/issues/comments/141410321","html_url":"https://github.com/openfisca/openfisca-web-api/issues/34#issuecomment-141410321","issue_url":"https://api.github.com/repos/openfisca/openfisca-web-api/issues/34","id":141410321,"user":{"login":"cbenz","id":12686,"avatar_url":"https://avatars.githubusercontent.com/u/12686?v=3","gravatar_id":"","url":"https://api.github.com/users/cbenz","html_url":"https://github.com/cbenz","followers_url":"https://api.github.com/users/cbenz/followers","following_url":"https://api.github.com/users/cbenz/following{/other_user}","gists_url":"https://api.github.com/users/cbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/cbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbenz/subscriptions","organizations_url":"https://api.github.com/users/cbenz/orgs","repos_url":"https://api.github.com/users/cbenz/repos","events_url":"https://api.github.com/users/cbenz/events{/privacy}","received_events_url":"https://api.github.com/users/cbenz/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T10:07:42Z","updated_at":"2015-09-18T10:07:42Z","body":"Ceci fonctionne :\r\n\r\n```\r\n- name: \"psoc - Célibataire ayant un salaire de base de 50000€ annuel\"\r\n  period: 2014\r\n  individus:\r\n  - id: ind0\r\n    salaire_de_base:\r\n      2013: 50000\r\n      2014: 50000\r\n  output_variables:\r\n    psoc: 0\r\n```\r\n\r\nEn JSON cela donne :\r\n\r\n```\r\n{\r\n  \"scenarios\": [\r\n    {\r\n      \"period\": \"2014\",\r\n      \"test_case\": {\r\n        \"individus\": [\r\n          {\r\n            \"id\": \"Parent 1\",\r\n            \"salaire_de_base\": {\r\n                \"2013\": 50000,\r\n                \"2014\": 50000\r\n            }\r\n          }\r\n        ],\r\n        \"familles\": [\r\n          {\r\n            \"id\": \"Famille\",\r\n            \"parents\": [\r\n              \"Parent 1\"\r\n            ],\r\n            \"enfants\": []\r\n          }\r\n        ],\r\n        \"menages\": [\r\n          {\r\n            \"id\": \"Logement\",\r\n            \"enfants\": [],\r\n            \"personne_de_reference\": \"Parent 1\"\r\n          }\r\n        ],\r\n        \"foyers_fiscaux\": [\r\n          {\r\n            \"id\": \"Déclaration d'impôt\",\r\n            \"declarants\": [\r\n              \"Parent 1\"\r\n            ],\r\n            \"personnes_a_charge\": []\r\n          }\r\n        ]\r\n      }\r\n    }\r\n  ],\r\n  \"variables\": [\"psoc\"]\r\n}\r\n```"}}