diff --git a/ax/adapter/tests/test_torch_adapter.py b/ax/adapter/tests/test_torch_adapter.py index adfc19ddc1a..dbc01252113 100644 --- a/ax/adapter/tests/test_torch_adapter.py +++ b/ax/adapter/tests/test_torch_adapter.py @@ -1227,6 +1227,7 @@ def test_pairwise_preference_generator(self) -> None: parameter_names = list(experiment.parameters.keys()) outcomes = [assert_is_instance(Keys.PAIRWISE_PREFERENCE_QUERY.value, str)] + # pyrefly: ignore [unbound-name] datasets, _, candidate_metadata = pmb._convert_experiment_data( experiment_data=pmb._training_data, outcomes=outcomes, diff --git a/ax/adapter/transforms/map_key_to_float.py b/ax/adapter/transforms/map_key_to_float.py index 5f5a0de1e52..0a32d7400bb 100644 --- a/ax/adapter/transforms/map_key_to_float.py +++ b/ax/adapter/transforms/map_key_to_float.py @@ -111,7 +111,7 @@ def __init__( parameters = {MAP_KEY: {}} self.parameters: dict[str, dict[str, Any]] = parameters - # pyrefly: ignore [bad-override-mutable-attribute] + # pyrefly: ignore [bad-override, bad-override-mutable-attribute] self._parameter_list: list[RangeParameter] = [] # Construct the parameter if needed. if is_map_data: diff --git a/ax/early_stopping/strategies/base.py b/ax/early_stopping/strategies/base.py index 57a99e993ab..afdcd22e66e 100644 --- a/ax/early_stopping/strategies/base.py +++ b/ax/early_stopping/strategies/base.py @@ -323,6 +323,7 @@ def _log_and_return_interval_boundary( next_boundary = curr_boundary + interval reason = ( + # pyrefly: ignore [invalid-argument] f"Trial has not crossed an interval boundary. " f"Progressed from {prev_progression:.2f} to {curr_progression:.2f}; " f"both are in the same interval [{curr_boundary:.2f}, "