{"action":"opened","issue":{"url":"https://api.github.com/repos/mattz0rt/sptemp/issues/44","repository_url":"https://api.github.com/repos/mattz0rt/sptemp","labels_url":"https://api.github.com/repos/mattz0rt/sptemp/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/mattz0rt/sptemp/issues/44/comments","events_url":"https://api.github.com/repos/mattz0rt/sptemp/issues/44/events","html_url":"https://github.com/mattz0rt/sptemp/issues/44","id":326638273,"number":44,"title":"Fix taxable income assumption by doing iterative analysis","user":{"login":"mattz0rt","id":13485782,"avatar_url":"https://avatars3.githubusercontent.com/u/13485782?v=4","gravatar_id":"","url":"https://api.github.com/users/mattz0rt","html_url":"https://github.com/mattz0rt","followers_url":"https://api.github.com/users/mattz0rt/followers","following_url":"https://api.github.com/users/mattz0rt/following{/other_user}","gists_url":"https://api.github.com/users/mattz0rt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattz0rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattz0rt/subscriptions","organizations_url":"https://api.github.com/users/mattz0rt/orgs","repos_url":"https://api.github.com/users/mattz0rt/repos","events_url":"https://api.github.com/users/mattz0rt/events{/privacy}","received_events_url":"https://api.github.com/users/mattz0rt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T19:28:33Z","updated_at":"2018-05-25T19:28:33Z","closed_at":null,"author_association":"OWNER","body":"https://trello.com/c/nzY5XJd2/60-fix-taxable-income-assumption-by-doing-iterative-analysis\n\nThe engine needs to keep the taxable income a static number (rather than a symbolic variable) to keep the whole model linear. The problem with that is if the user contributes to a pre-tax account that year, the taxable income decreases. This affects the calculations for capital gains tax. What we should do is run the model with the current taxable income assumption, then go back and validate all the values (especially the actual taxable income value), and if the numbers don't match up then statically set the taxable income to the actual value and run the engine again. There could be an issue where the rerun changes the strategy given the new constraints, but this should usually work. May have to do a few rounds of this before all the values match up."}}
{"actor":{"display_login":"mattz0rt"}}