Skip to content

Commit

Permalink
better mapping of taxsim s corp income to taxcalc
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Sep 11, 2023
1 parent 3f6350f commit 0ce7072
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions taxcalc/validation/taxsim35/prepare_taxcalc_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def translate(ivar):
invar = ivar.rename(TAXSIM_TC_MAP, axis=1)
invar["n24"] = ivar["dep17"]
# Create variables for Tax-Calculator that aren't directly represented in TAXSIM
invar["e02000"] += invar["e26270"] # add active scorp income to "otherprop" income from taxsim
mstat = ivar["mstat"]
assert np.all(np.logical_or(mstat == 1, mstat == 2))
num_deps = ivar["depx"]
Expand Down

0 comments on commit 0ce7072

Please sign in to comment.