Skip to content

Commit

Permalink
Remove/clarify some (forgotten) prints (#3379)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #3379

Reviewed By: mgarrard

Differential Revision: D69676180
  • Loading branch information
Lena Kashtelyan authored and facebook-github-bot committed Feb 19, 2025
1 parent 0759d38 commit 90a4bbe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def test_search_space_analysis(self) -> None:
self.assertEqual(card.level, AnalysisCardLevel.LOW)
self.assertEqual(card.name, "SearchSpaceAnalysis")
self.assertEqual(card.title, "Ax Search Space Analysis Warning")
print(card.subtitle)
subtitle = (
"\n - Parameter x1 values are at their lower bound in 66.67% of all "
"suggested parameters, which exceeds the threshold of 50.00%. "
Expand Down
2 changes: 0 additions & 2 deletions ax/core/tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,6 @@ def test_GetFilteredResults(self) -> None:
]
)
).df
print(actual_filtered)
print(expected_filtered)
self.assertTrue(actual_filtered.equals(expected_filtered))

def test_data_column_data_types_default(self) -> None:
Expand Down
1 change: 0 additions & 1 deletion ax/service/tests/test_report_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ def test_exp_to_df_relative_metrics(self) -> None:
exp.trials[0].run()
exp.fetch_data()
relative_df = exp_to_df(exp=exp, show_relative_metrics=True)
print(relative_df)
self.assertTrue(f"{OBJECTIVE_NAME}_%CH" in relative_df.columns.tolist())
self.assertEqual(relative_df[f"{OBJECTIVE_NAME}_%CH"].values[0], 0.0)

Expand Down

0 comments on commit 90a4bbe

Please sign in to comment.