PolicyEngine / policyengine-us

The PolicyEngine US Python package contains a rules engine of the US tax-benefit system, and microdata generation for microsimulation analysis.
https://policyengine.org/us
GNU Affero General Public License v3.0
95 stars 167 forks source link

Refactor the `social_security_excess` in the `refundable_ctc` calculation #4612

Open PavelMakarchuk opened 4 weeks ago

PavelMakarchuk commented 4 weeks ago

The following code is duplicated multiple times We currently use the computation in the Colorado refundable CTC as well as adding it in the New York additional CTC computation in #4451

MaxGhenis commented 4 weeks ago

let's also make those constants parameters