{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/403","repository_url":"https://api.github.com/repos/openfisca/openfisca-core","labels_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/403/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/403/events","html_url":"https://github.com/openfisca/openfisca-core/issues/403","id":172463456,"number":403,"title":"AssertionError in the printing trace tree with isf variables","user":{"login":"pierrehvz","id":19774689,"avatar_url":"https://avatars.githubusercontent.com/u/19774689?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrehvz","html_url":"https://github.com/pierrehvz","followers_url":"https://api.github.com/users/pierrehvz/followers","following_url":"https://api.github.com/users/pierrehvz/following{/other_user}","gists_url":"https://api.github.com/users/pierrehvz/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrehvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrehvz/subscriptions","organizations_url":"https://api.github.com/users/pierrehvz/orgs","repos_url":"https://api.github.com/users/pierrehvz/repos","events_url":"https://api.github.com/users/pierrehvz/events{/privacy}","received_events_url":"https://api.github.com/users/pierrehvz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openfisca/openfisca-core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":2,"created_at":"2016-08-22T14:14:46Z","updated_at":"2016-08-22T14:36:04Z","closed_at":null,"body":"I was writing tests for isf in openfisca and I was using your tool but it is not working for me with theses two variables (  `isf_tot` and `isf_apres_plaf` ) and I don't understand why:\r\n\r\nMy code is: \r\n```\r\nfrom openfisca_france import FranceTaxBenefitSystem\r\ntax_benefit_system = FranceTaxBenefitSystem()\r\n\r\n\r\nscenario = tax_benefit_system.new_scenario().init_single_entity(\r\n    parent1=dict(salaire_de_base=150000,\r\n                 age = 60,\r\n                 ),\r\n    period=2016,\r\n    foyer_fiscal = dict(\r\n        b1ab = 2000000,\r\n        b1bc = 100000,\r\n        b1be = 100000,\r\n        b1cf = 100000,\r\n        b2nc = 1000\r\n        ),\r\n    )\r\nsimulation = scenario.new_simulation(trace=True)\r\nsimulation.calculate('isf_apres_plaf', 2016, print_trace=True)\r\n```\r\n\r\nand the error message is:\r\n\r\n```\r\nassert step is not None \r\nAssertionError\r\n```\r\n\r\nThank you for your help !! @cbenz "},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/comments/241432942","html_url":"https://github.com/openfisca/openfisca-core/issues/403#issuecomment-241432942","issue_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/403","id":241432942,"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":"2016-08-22T14:36:04Z","updated_at":"2016-08-22T14:36:04Z","body":"Sorry but I copy-paste your script using the latest OpenFisca-Core and France versions and it works.\r\n\r\nWhat's your complete stacktrace and which versions do you use? Hint:\r\n\r\n```\r\npip freeze | grep -i OpenFisca-\r\n```\r\n\r\nMy result:\r\n\r\n```\r\n(openfisca-fix-trace) ~/D/o/openfisca-core-fix-trace (fix-trace) $ pip freeze | grep -i OpenFisca-\r\nOpenFisca-Core==2.2.1\r\n-e git+git@github.com:openfisca/openfisca-france.git@945ad448a627b8e76a600ffaa7235acfc57a77a2#egg=OpenFisca_France\r\n```"}}
{"actor":{"display_login":"cbenz"}}