{"action":"created","comment":{"url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/comments/67857700","id":67857700,"diff_hunk":"@@ -625,6 +625,36 @@ def function(self, simulation, period):\n         return period, cotisation\n \n \n+class complementaire_sante_employeur(Variable):\n+    column = FloatCol\n+    entity_class = Individus\n+    label = u\"Couverture complémentaire santé collective d'entreprise - part employeur\"\n+\n+    def function(self, simulation, period):\n+        period = period.start.period(u'month').offset('first-of')\n+        complementaire_sante_taux_employeur = simulation.calculate(\n+            'complementaire_sante_taux_employeur', period)\n+        complementaire_sante_montant = simulation.calculate('complementaire_sante_montant', period)\n+\n+        cotisation = - complementaire_sante_taux_employeur * complementaire_sante_montant\n+        return period, cotisation\n+\n+\n+class complementaire_sante_salarie(Variable):","path":"openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_prive.py","position":19,"original_position":19,"commit_id":"e79fbd596f3c8c4fa54e751cb3c8528cb3bcffce","original_commit_id":"e79fbd596f3c8c4fa54e751cb3c8528cb3bcffce","user":{"login":"laem","id":1177762,"avatar_url":"https://avatars.githubusercontent.com/u/1177762?v=3","gravatar_id":"","url":"https://api.github.com/users/laem","html_url":"https://github.com/laem","followers_url":"https://api.github.com/users/laem/followers","following_url":"https://api.github.com/users/laem/following{/other_user}","gists_url":"https://api.github.com/users/laem/gists{/gist_id}","starred_url":"https://api.github.com/users/laem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laem/subscriptions","organizations_url":"https://api.github.com/users/laem/orgs","repos_url":"https://api.github.com/users/laem/repos","events_url":"https://api.github.com/users/laem/events{/privacy}","received_events_url":"https://api.github.com/users/laem/received_events","type":"User","site_admin":false},"body":"Mmmh pourquoi ? \r\nElle est aujourd'hui obligatoire, mais elle existait à l'identique avant 2016 (à 0 par défaut)","created_at":"2016-06-21T12:24:13Z","updated_at":"2016-06-21T12:24:13Z","html_url":"https://github.com/openfisca/openfisca-france/pull/493#discussion_r67857700","pull_request_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493","_links":{"self":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/comments/67857700"},"html":{"href":"https://github.com/openfisca/openfisca-france/pull/493#discussion_r67857700"},"pull_request":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493"}}},"pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493","id":74587199,"html_url":"https://github.com/openfisca/openfisca-france/pull/493","diff_url":"https://github.com/openfisca/openfisca-france/pull/493.diff","patch_url":"https://github.com/openfisca/openfisca-france/pull/493.patch","issue_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/493","number":493,"state":"open","locked":false,"title":"WIP Complementaire sante","user":{"login":"laem","id":1177762,"avatar_url":"https://avatars.githubusercontent.com/u/1177762?v=3","gravatar_id":"","url":"https://api.github.com/users/laem","html_url":"https://github.com/laem","followers_url":"https://api.github.com/users/laem/followers","following_url":"https://api.github.com/users/laem/following{/other_user}","gists_url":"https://api.github.com/users/laem/gists{/gist_id}","starred_url":"https://api.github.com/users/laem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laem/subscriptions","organizations_url":"https://api.github.com/users/laem/orgs","repos_url":"https://api.github.com/users/laem/repos","events_url":"https://api.github.com/users/laem/events{/privacy}","received_events_url":"https://api.github.com/users/laem/received_events","type":"User","site_admin":false},"body":"La complémentaire santé est obligatoire depuis le 1er janvier 2016. \r\nElle impacte les cotisations employeur, salarié, l'assiette non abattue de la CSG-CRDS, le forfait social (qui n'était pas rattaché aux cotisations employeur avant cette PR), la taxe sur les salaires (:scream_cat: ) \r\n\r\n- [ ] Taxe sur les salaires","created_at":"2016-06-21T10:29:24Z","updated_at":"2016-06-21T12:24:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d115cfad3927adcfc0b6bb7fb1af03527847ba06","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493/commits","review_comments_url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493/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/493/comments","statuses_url":"https://api.github.com/repos/openfisca/openfisca-france/statuses/e79fbd596f3c8c4fa54e751cb3c8528cb3bcffce","head":{"label":"openfisca:complementaire_sante","ref":"complementaire_sante","sha":"e79fbd596f3c8c4fa54e751cb3c8528cb3bcffce","user":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars.githubusercontent.com/u/1794404?v=3","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,"name":"openfisca-france","full_name":"openfisca/openfisca-france","owner":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars.githubusercontent.com/u/1794404?v=3","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},"private":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":"2016-06-15T10:34:40Z","pushed_at":"2016-06-21T10:57:32Z","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":"http://www.openfisca.fr/","size":23191,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":102,"forks":48,"open_issues":102,"watchers":54,"default_branch":"master"}},"base":{"label":"openfisca:master","ref":"master","sha":"e5b5421e2e5116e071e00bca5af8e8ee0f38829b","user":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars.githubusercontent.com/u/1794404?v=3","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,"name":"openfisca-france","full_name":"openfisca/openfisca-france","owner":{"login":"openfisca","id":1794404,"avatar_url":"https://avatars.githubusercontent.com/u/1794404?v=3","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},"private":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":"2016-06-15T10:34:40Z","pushed_at":"2016-06-21T10:57:32Z","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":"http://www.openfisca.fr/","size":23191,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":102,"forks":48,"open_issues":102,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493"},"html":{"href":"https://github.com/openfisca/openfisca-france/pull/493"},"issue":{"href":"https://api.github.com/repos/openfisca/openfisca-france/issues/493"},"comments":{"href":"https://api.github.com/repos/openfisca/openfisca-france/issues/493/comments"},"review_comments":{"href":"https://api.github.com/repos/openfisca/openfisca-france/pulls/493/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/493/commits"},"statuses":{"href":"https://api.github.com/repos/openfisca/openfisca-france/statuses/e79fbd596f3c8c4fa54e751cb3c8528cb3bcffce"}}}}
{"actor":{"display_login":"laem"}}