{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/415","repository_url":"https://api.github.com/repos/openfisca/openfisca-core","labels_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/415/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/415/events","html_url":"https://github.com/openfisca/openfisca-core/pull/415","id":186372992,"number":415,"title":"Refactor entities handling and formula syntax","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-31T19:20:24Z","updated_at":"2016-11-03T12:52:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-core/pulls/415","html_url":"https://github.com/openfisca/openfisca-core/pull/415","diff_url":"https://github.com/openfisca/openfisca-core/pull/415.diff","patch_url":"https://github.com/openfisca/openfisca-core/pull/415.patch"},"body":"## Goal\r\n\r\nThe main goal of this PR was to refactor entities handling, as discussed in https://github.com/openfisca/openfisca-core/issues/408. I went a little further, and came out with a proposition to write formulas in a simpler and more natural way. Any opinion will be appreciated.\r\n\r\n@edarin @cbenz @laem, there are a few changes since our discussion, mainly the introduction implicit projection. It is documented below, but in a sentence, `individu.menage('loyer')` is now an array with value for Individus, not for Menages.\r\n\r\n@benjello this is a big PR and I didn't have an occasion to talk to you about it in real life. Don't hesitate if you have questions, and hopefully we can talk about it in the next weeks.\r\n\r\nFrance tests are passing. Todo:\r\n- [ ] Document formula writing and entity conversion/aggregation in the doc\r\n- [ ] Repair `measure_perfomances.py`\r\n- [ ] Adapt Web-API\r\n- [ ] Adapt Parsers"},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/comments/258133763","html_url":"https://github.com/openfisca/openfisca-core/pull/415#issuecomment-258133763","issue_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/415","id":258133763,"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},"created_at":"2016-11-03T12:52:22Z","updated_at":"2016-11-03T12:52:22Z","body":"Most of this page is probably to be thrown away ;). Let's write a new doc ;)"}}
{"actor":{"display_login":"fpagnoux"}}