Open MaxGhenis opened 4 weeks ago
Currently map E26270 to partnership_s_corp_distributions, but PUF provides more detailed components we should use:
partnership_s_corp_distributions
Partnership:
S-corporation:
Also:
Changes needed in puf.py:
Add validation that components sum to E26270:
# Partnership components partnership_total = (E25940 + E25980 # income - E25920 - E25960) # losses # S-corp components scorp_total = (E26170 + E26190 # income - E26160 - E26180) # losses assert np.allclose(E26270, partnership_total + scorp_total)
This will enable proper passive loss limitation calculations in policyengine-us.
Currently map E26270 to
partnership_s_corp_distributions
, but PUF provides more detailed components we should use:Partnership:
S-corporation:
Also:
Changes needed in puf.py:
Add validation that components sum to E26270:
This will enable proper passive loss limitation calculations in policyengine-us.