You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In preparing #2404, @MattHJensen and I found that test_itemded_component_amounts() in test_calculator.py could use some improved documentation. This test compares the calculated amount for a component of itemized deductions (for example c17000) with the amount that results from implementing a haircut for the corresponding component (for example ID_Medical_hc). In theory these values should be the same, but in practice there are small discrepancies in some cases:
where atol is the discrepancy in millions USD. Moving forward, it would be helpful to document why these margin of errors are necessary and why they might change after data updates.
The text was updated successfully, but these errors were encountered:
@MattHJensen@Peter-Metz I'm happy to add some inline comments to document this, but I don't know why there tolerances vary for certain variables in certain years. Do you?
In preparing #2404, @MattHJensen and I found that
test_itemded_component_amounts()
intest_calculator.py
could use some improved documentation. This test compares the calculated amount for a component of itemized deductions (for examplec17000
) with the amount that results from implementing a haircut for the corresponding component (for exampleID_Medical_hc
). In theory these values should be the same, but in practice there are small discrepancies in some cases:where
atol
is the discrepancy in millions USD. Moving forward, it would be helpful to document why these margin of errors are necessary and why they might change after data updates.The text was updated successfully, but these errors were encountered: