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
The reason this error is being thrown now is that all parameter values are validated after #2532 -- not just the parameters that were updated. Before, the validation logic didn't check whether the value of ACTC_c was valid after CTC_c was validated. Now it does.
I just noticed that tests are failing on
master
when running reform 41 inreforms.json
:Tax-Calculator/taxcalc/tests/reforms.json
Lines 412 to 419 in 0a4bc06
This error makes sense because
ACTC_c
must be less thanCTC_c
:Tax-Calculator/taxcalc/policy_current_law.json
Lines 13809 to 13814 in 0a4bc06
But
CTC_c
doesn't have a similar range validator which is why the error wasn't triggered before:Tax-Calculator/taxcalc/policy_current_law.json
Lines 13457 to 13462 in 0a4bc06
The reason this error is being thrown now is that all parameter values are validated after #2532 -- not just the parameters that were updated. Before, the validation logic didn't check whether the value of
ACTC_c
was valid afterCTC_c
was validated. Now it does.To fix this, we can update reform 41 to be:
The text was updated successfully, but these errors were encountered: