From 56283d49b62861af795dbda56d9216e93458fd2b Mon Sep 17 00:00:00 2001 From: Chuck McCallum Date: Mon, 9 Dec 2024 19:03:59 -0500 Subject: [PATCH] Remove extra dash and commented-out code (#197) --- dp_wizard/utils/code_generators/__init__.py | 9 --------- dp_wizard/utils/code_generators/no-tests/_notebook.py | 1 - 2 files changed, 10 deletions(-) diff --git a/dp_wizard/utils/code_generators/__init__.py b/dp_wizard/utils/code_generators/__init__.py index 8d4fb72..f2aaa33 100644 --- a/dp_wizard/utils/code_generators/__init__.py +++ b/dp_wizard/utils/code_generators/__init__.py @@ -100,15 +100,6 @@ def _make_queries(self): ) ) - # def _make_queries(self): - # confidence_note = ( - # "The actual value is within the shown range " - # f"with {int(confidence * 100)}% confidence." - # ) - # column_names = self.columns.keys() - # return f"confidence = {confidence} # {confidence_note}\n\n" + "\n".join( - # _make_query(column_name) for column_name in column_names - def _make_query(self, column_name): indentifier = name_to_identifier(column_name) title = f"DP counts for {column_name}" diff --git a/dp_wizard/utils/code_generators/no-tests/_notebook.py b/dp_wizard/utils/code_generators/no-tests/_notebook.py index d3342d2..c44a629 100644 --- a/dp_wizard/utils/code_generators/no-tests/_notebook.py +++ b/dp_wizard/utils/code_generators/no-tests/_notebook.py @@ -32,7 +32,6 @@ # Finally, we run the queries and plot the results. QUERIES_BLOCK -# - # The code below produces a summary report.