Skip to content

Commit

Permalink
Revert to less strict scale consistency checking
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Jun 23, 2024
1 parent 0cbffc5 commit 3234231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tax_microdata_benchmarking/create_taxcalc_input_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def create_variable_file(write_file=True):
f" FINAL pt_w2_wages_scale = {pt_w2_wages_scale:.6f}"
)
print(msg)
if abs_diff > 1e-6:
emsg = "INITIAL and FINAL scale values are inconsistent"
if abs_diff > 1e-3:
emsg = "INITIAL and FINAL scale values are substantially inconsistent"
raise ValueError(emsg)
# streamline dataframe so that it includes only input variables
rec = tc.Records(
Expand Down

0 comments on commit 3234231

Please sign in to comment.