From 32342312b0806e814ff8cc6d6c70ea719d7ef267 Mon Sep 17 00:00:00 2001 From: "martin.holmer@gmail.com" Date: Sun, 23 Jun 2024 19:45:40 -0400 Subject: [PATCH] Revert to less strict scale consistency checking --- tax_microdata_benchmarking/create_taxcalc_input_variables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tax_microdata_benchmarking/create_taxcalc_input_variables.py b/tax_microdata_benchmarking/create_taxcalc_input_variables.py index 298921b0..95ef00fb 100644 --- a/tax_microdata_benchmarking/create_taxcalc_input_variables.py +++ b/tax_microdata_benchmarking/create_taxcalc_input_variables.py @@ -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(