{"action":"created","comment":{"url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/comments/244365876","pull_request_review_id":188332370,"id":244365876,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDM2NTg3Ng==","diff_hunk":"@@ -208,6 +218,7 @@ def formula(individu, period, parameters):\n             'chomage_net',\n             'retraite_nette',\n             'retraite_combattant',\n+            'revenus_capital',","path":"openfisca_france/model/prestations/minima_sociaux/ppa.py","position":28,"original_position":28,"commit_id":"29ba476b7cae56e469d5ea9f6a431fe9b74edb48","original_commit_id":"29ba476b7cae56e469d5ea9f6a431fe9b74edb48","user":{"login":"maukoquiroga","id":329236,"node_id":"MDQ6VXNlcjMyOTIzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/329236?v=4","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"body":"Quelque chose comme ça :\r\n\r\n```yaml\r\n- period: 2018-12\r\n  input:\r\n    revenus_capital:\r\n      period: 2016-12\r\n      value: 100\r\n  output:\r\n    ppa_ressources_hors_activite_individu: 100\r\n```","created_at":"2018-12-28T17:10:34Z","updated_at":"2018-12-28T17:10:34Z","html_url":"https://github.com/openfisca/openfisca-france/pull/1243#discussion_r244365876","pull_request_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/comments/244365876"},"html":{"href":"https://github.com/openfisca/openfisca-france/pull/1243#discussion_r244365876"},"pull_request":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243"}},"in_reply_to_id":244339984},"pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243","id":240988563,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwOTg4NTYz","html_url":"https://github.com/openfisca/openfisca-france/pull/1243","diff_url":"https://github.com/openfisca/openfisca-france/pull/1243.diff","patch_url":"https://github.com/openfisca/openfisca-france/pull/1243.patch","issue_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1243","number":1243,"state":"open","locked":false,"title":" Prends en compte les ressource du capital dans le calcul de la prime d'activité","user":{"login":"guillett","id":1410356,"node_id":"MDQ6VXNlcjE0MTAzNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1410356?v=4","gravatar_id":"","url":"https://api.github.com/users/guillett","html_url":"https://github.com/guillett","followers_url":"https://api.github.com/users/guillett/followers","following_url":"https://api.github.com/users/guillett/following{/other_user}","gists_url":"https://api.github.com/users/guillett/gists{/gist_id}","starred_url":"https://api.github.com/users/guillett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillett/subscriptions","organizations_url":"https://api.github.com/users/guillett/orgs","repos_url":"https://api.github.com/users/guillett/repos","events_url":"https://api.github.com/users/guillett/events{/privacy}","received_events_url":"https://api.github.com/users/guillett/received_events","type":"User","site_admin":false},"body":"Fixes #1242.\r\n\r\n* Amélioration d'un calcul existant\r\n* Périodes concernées : toutes pour la prime d'activité, ie. à partir de janvier 2016.\r\n* Zones impactées : `prestations/minima_sociaux/ppa`.\r\n* Détails :\r\n  - Prise en compte des revenus du capital dans le calcul de la prime d'activité\r\n- - - -\r\n- Corrigent ou améliorent un calcul déjà existant.\r\n\r\n- - - -\r\nJe laisse l'équipe Core modifier `setup.py` à partir ces éléments ici et en fonction des intégrations qui précèdent celle-ci.\r\n","created_at":"2018-12-26T14:23:21Z","updated_at":"2018-12-28T17:10:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63e6f0e0bb0db7869b09769e0326c6cc5c7c5b80","assignee":{"login":"maukoquiroga","id":329236,"node_id":"MDQ6VXNlcjMyOTIzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/329236?v=4","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"assignees":[{"login":"maukoquiroga","id":329236,"node_id":"MDQ6VXNlcjMyOTIzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/329236?v=4","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"bfabre01","id":22620406,"node_id":"MDQ6VXNlcjIyNjIwNDA2","avatar_url":"https://avatars0.githubusercontent.com/u/22620406?v=4","gravatar_id":"","url":"https://api.github.com/users/bfabre01","html_url":"https://github.com/bfabre01","followers_url":"https://api.github.com/users/bfabre01/followers","following_url":"https://api.github.com/users/bfabre01/following{/other_user}","gists_url":"https://api.github.com/users/bfabre01/gists{/gist_id}","starred_url":"https://api.github.com/users/bfabre01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfabre01/subscriptions","organizations_url":"https://api.github.com/users/bfabre01/orgs","repos_url":"https://api.github.com/users/bfabre01/repos","events_url":"https://api.github.com/users/bfabre01/events{/privacy}","received_events_url":"https://api.github.com/users/bfabre01/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1085753219,"node_id":"MDU6TGFiZWwxMDg1NzUzMjE5","url":"https://api.github.com/repos/openfisca/openfisca-france/labels/flow:reviewing","name":"flow:reviewing","color":"b6db51","default":false},{"id":880316129,"node_id":"MDU6TGFiZWw4ODAzMTYxMjk=","url":"https://api.github.com/repos/openfisca/openfisca-france/labels/kind:evolution","name":"kind:evolution","color":"4af424","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243/commits","review_comments_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243/comments","review_comment_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1243/comments","statuses_url":"https://api.github.com/repos/openfisca/openfisca-france/statuses/29ba476b7cae56e469d5ea9f6a431fe9b74edb48","head":{"label":"openfisca:ppa-etudiant","ref":"ppa-etudiant","sha":"29ba476b7cae56e469d5ea9f6a431fe9b74edb48","user":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"repo":{"id":15510233,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMDIzMw==","name":"openfisca-france","full_name":"openfisca/openfisca-france","private":false,"owner":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openfisca/openfisca-france","description":"French tax and benefit system for OpenFisca","fork":false,"url":"https://api.github.com/repos/openfisca/openfisca-france","forks_url":"https://api.github.com/repos/openfisca/openfisca-france/forks","keys_url":"https://api.github.com/repos/openfisca/openfisca-france/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfisca/openfisca-france/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfisca/openfisca-france/teams","hooks_url":"https://api.github.com/repos/openfisca/openfisca-france/hooks","issue_events_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/events{/number}","events_url":"https://api.github.com/repos/openfisca/openfisca-france/events","assignees_url":"https://api.github.com/repos/openfisca/openfisca-france/assignees{/user}","branches_url":"https://api.github.com/repos/openfisca/openfisca-france/branches{/branch}","tags_url":"https://api.github.com/repos/openfisca/openfisca-france/tags","blobs_url":"https://api.github.com/repos/openfisca/openfisca-france/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfisca/openfisca-france/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfisca/openfisca-france/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfisca/openfisca-france/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfisca/openfisca-france/statuses/{sha}","languages_url":"https://api.github.com/repos/openfisca/openfisca-france/languages","stargazers_url":"https://api.github.com/repos/openfisca/openfisca-france/stargazers","contributors_url":"https://api.github.com/repos/openfisca/openfisca-france/contributors","subscribers_url":"https://api.github.com/repos/openfisca/openfisca-france/subscribers","subscription_url":"https://api.github.com/repos/openfisca/openfisca-france/subscription","commits_url":"https://api.github.com/repos/openfisca/openfisca-france/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfisca/openfisca-france/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfisca/openfisca-france/contents/{+path}","compare_url":"https://api.github.com/repos/openfisca/openfisca-france/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfisca/openfisca-france/merges","archive_url":"https://api.github.com/repos/openfisca/openfisca-france/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfisca/openfisca-france/downloads","issues_url":"https://api.github.com/repos/openfisca/openfisca-france/issues{/number}","pulls_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls{/number}","milestones_url":"https://api.github.com/repos/openfisca/openfisca-france/milestones{/number}","notifications_url":"https://api.github.com/repos/openfisca/openfisca-france/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfisca/openfisca-france/labels{/name}","releases_url":"https://api.github.com/repos/openfisca/openfisca-france/releases{/id}","deployments_url":"https://api.github.com/repos/openfisca/openfisca-france/deployments","created_at":"2013-12-29T15:15:09Z","updated_at":"2018-12-13T10:40:11Z","pushed_at":"2018-12-28T07:46:17Z","git_url":"git://github.com/openfisca/openfisca-france.git","ssh_url":"git@github.com:openfisca/openfisca-france.git","clone_url":"https://github.com/openfisca/openfisca-france.git","svn_url":"https://github.com/openfisca/openfisca-france","homepage":"https://fr.openfisca.org/","size":31388,"stargazers_count":102,"watchers_count":102,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"archived":false,"open_issues_count":46,"license":null,"forks":75,"open_issues":46,"watchers":102,"default_branch":"master"}},"base":{"label":"openfisca:master","ref":"master","sha":"90dfce1b476373b2bb1a635d5f8cb3a161b67f7b","user":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"repo":{"id":15510233,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMDIzMw==","name":"openfisca-france","full_name":"openfisca/openfisca-france","private":false,"owner":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openfisca/openfisca-france","description":"French tax and benefit system for OpenFisca","fork":false,"url":"https://api.github.com/repos/openfisca/openfisca-france","forks_url":"https://api.github.com/repos/openfisca/openfisca-france/forks","keys_url":"https://api.github.com/repos/openfisca/openfisca-france/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfisca/openfisca-france/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfisca/openfisca-france/teams","hooks_url":"https://api.github.com/repos/openfisca/openfisca-france/hooks","issue_events_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/events{/number}","events_url":"https://api.github.com/repos/openfisca/openfisca-france/events","assignees_url":"https://api.github.com/repos/openfisca/openfisca-france/assignees{/user}","branches_url":"https://api.github.com/repos/openfisca/openfisca-france/branches{/branch}","tags_url":"https://api.github.com/repos/openfisca/openfisca-france/tags","blobs_url":"https://api.github.com/repos/openfisca/openfisca-france/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfisca/openfisca-france/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfisca/openfisca-france/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfisca/openfisca-france/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfisca/openfisca-france/statuses/{sha}","languages_url":"https://api.github.com/repos/openfisca/openfisca-france/languages","stargazers_url":"https://api.github.com/repos/openfisca/openfisca-france/stargazers","contributors_url":"https://api.github.com/repos/openfisca/openfisca-france/contributors","subscribers_url":"https://api.github.com/repos/openfisca/openfisca-france/subscribers","subscription_url":"https://api.github.com/repos/openfisca/openfisca-france/subscription","commits_url":"https://api.github.com/repos/openfisca/openfisca-france/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfisca/openfisca-france/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfisca/openfisca-france/contents/{+path}","compare_url":"https://api.github.com/repos/openfisca/openfisca-france/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfisca/openfisca-france/merges","archive_url":"https://api.github.com/repos/openfisca/openfisca-france/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfisca/openfisca-france/downloads","issues_url":"https://api.github.com/repos/openfisca/openfisca-france/issues{/number}","pulls_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls{/number}","milestones_url":"https://api.github.com/repos/openfisca/openfisca-france/milestones{/number}","notifications_url":"https://api.github.com/repos/openfisca/openfisca-france/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfisca/openfisca-france/labels{/name}","releases_url":"https://api.github.com/repos/openfisca/openfisca-france/releases{/id}","deployments_url":"https://api.github.com/repos/openfisca/openfisca-france/deployments","created_at":"2013-12-29T15:15:09Z","updated_at":"2018-12-13T10:40:11Z","pushed_at":"2018-12-28T07:46:17Z","git_url":"git://github.com/openfisca/openfisca-france.git","ssh_url":"git@github.com:openfisca/openfisca-france.git","clone_url":"https://github.com/openfisca/openfisca-france.git","svn_url":"https://github.com/openfisca/openfisca-france","homepage":"https://fr.openfisca.org/","size":31388,"stargazers_count":102,"watchers_count":102,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"archived":false,"open_issues_count":46,"license":null,"forks":75,"open_issues":46,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243"},"html":{"href":"https://github.com/openfisca/openfisca-france/pull/1243"},"issue":{"href":"https://api.github.com/repos/openfisca/openfisca-france/issues/1243"},"comments":{"href":"https://api.github.com/repos/openfisca/openfisca-france/issues/1243/comments"},"review_comments":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243/comments"},"review_comment":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1243/commits"},"statuses":{"href":"https://api.github.com/repos/openfisca/openfisca-france/statuses/29ba476b7cae56e469d5ea9f6a431fe9b74edb48"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"maukoquiroga"}}