{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1065","repository_url":"https://api.github.com/repos/openfisca/openfisca-france","labels_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1065/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1065/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1065/events","html_url":"https://github.com/openfisca/openfisca-france/pull/1065","id":347937812,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NDA5NTM1","number":1065,"title":"Ameliore taxation capital + mesures","user":{"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},"labels":[{"id":880318057,"node_id":"MDU6TGFiZWw4ODAzMTgwNTc=","url":"https://api.github.com/repos/openfisca/openfisca-france/labels/contrib:ipp","name":"contrib:ipp","color":"2db792","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-06T14:04:13Z","updated_at":"2018-08-14T15:05:31Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-france/pulls/1065","html_url":"https://github.com/openfisca/openfisca-france/pull/1065","diff_url":"https://github.com/openfisca/openfisca-france/pull/1065.diff","patch_url":"https://github.com/openfisca/openfisca-france/pull/1065.patch"},"body":"Description:\r\n\r\n**(1) Amélioration de la taxation du capital : des revenus 2013 aux revenus 2017**\r\n  - Recode le prélèvement forfaitaire libératoire : \r\n     -  Suppression de l'ancienne variable `imp_lib` \r\n     - Suppression des paramètres associés à l'ancienne formule dans `parameters\\impot_revenu\\rvcm\\prelevement_liberatoire`\r\n     - Création d'une nouvelle variable `prelevement_forfaitaire_liberatoire` dans un fichier à part de `model\\prelevements_obligatoires`\r\n     - Utilise désormais les paramètres dans `parameters\\taxation_capital\\pfl`+ mets à jour ces paramètres\r\n  - Recode les prélèvements sociaux sur les revenus du capital : \r\n    - Ajoute des nouvelles variables pour le calcul : `assiette_csg_revenus_capital`, `assiette_csg_plus_values`\r\n    - Fusion de `csg_cap_bar`, `csg_pv_mo`, `csg_pv_immo`, `csg_fon`, `csg_cap_lib` dans une unique nouvelle variable `csg_revenus_capital`.\r\n    - Fusion de `crds_cap_bar`, `crds_pv_mo`, `crds_pv_immo`, `crds_fon`, `crds_cap_lib` dans une unique nouvelle variable `crds_revenus_capital`.\r\n    - Fusion de `prelsoc_cap_bar`, `prelsoc_pv_mo`, `prelsoc_pv_immo`, `prelsoc_fon`, `prelsoc_cap_lib` dans une unique nouvelle variable `prelevements_sociaux_revenus_capital_hors_csg_crds`.\r\n\r\n**(2) Modification liées à l'IR**\r\n  - Renomme quelques variables : \r\n       -  `plus_values`=> `taxation_plus_values_hors_bareme`\r\n       - `retraite_titre_onereux_net` => `rente_viagere_titre_onereux_net`\r\n       - `rev_cap_bar` => `revenus_capitaux_prelevement_bareme`\r\n       - `rev_cap_lib` => `revenus_capitaux_prelevement_liberatoire`\r\n- Règle quelques problèmes mineurs de l'IR \r\n       - Correction csg déductible (`csg_deduc` => `csg_deductible_patrimoine_ir`) et suppression de variables intermédiaires liées `csg_deduc_patrimoine_simulated` et `csg_deduc_patrimoine`\r\n  - Distingue une notion économique de l'IR d'une notion administrative (i.e. après déduction des acomptes)\r\n\r\n**(3) Amélioration de `openfisca_france/model/mesures.py`**\r\n  - Renommages : \r\n    - `pensions_i`, `revenus_du_capital_i`, `revenus_du_travail_i`, `pensions`, `revenus_du_capital`, `revenus_du_travail` => rajout de \"net\" dans leur nom\r\n  - Suppression de variables (inutilisées ou remplacées) : \r\n`revenu_primaire`, `revenu_initial`, `revenu_initial_individu`, `niveau_de_vie_initial`, `cotisations_non_contributives`, `check_csk`, `check_csg`, `check_crds`, `cotsoc_bar`, `cotsoc_lib`, `prelsoc_cap`\r\n   - Déplacement de la CSG et de la CRDS vers `model\\prelevements_sociaux\\contributions_sociales`\r\n  - Correction de concepts : \r\n    - `revenu_primaire` : enlève le chomage imposable\r\n    - `impots_directs` : prends en compte les prélèvements libératoires (qui ne rentrent donc plus dans le calcul des revenus du capital nets)\r\n- - - -\r\n\r\nCes changements :\r\n\r\n- Modifient l'API publique d'OpenFisca France (par exemple renommage ou suppression de variables).\r\n- Ajoutent une fonctionnalité (par exemple ajout d'une variable).\r\n- Corrigent ou améliorent un calcul déjà existant.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/comments/412904687","html_url":"https://github.com/openfisca/openfisca-france/pull/1065#issuecomment-412904687","issue_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/1065","id":412904687,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjkwNDY4Nw==","user":{"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},"created_at":"2018-08-14T15:05:31Z","updated_at":"2018-08-14T15:05:31Z","author_association":"NONE","body":"@benjello : merci. Je viens juste de commiter. Est-ce bon pour toi ? Pour les commits, je viens de regarder le doc. Les messages de commit ne sont pas exactement ceux préconisés. Mais (1) ils sont assez explicites, (2) le CHANGELOG reprend les différentes modifs."}}
{"actor":{"display_login":"bfabre01"}}