Skip to content

Commit

Permalink
Add missing Pyre mode headers] [batch:15/1238] [shard:6/N]
Browse files Browse the repository at this point in the history
Differential Revision: D65528124

fbshipit-source-id: 3f02d1f3ecafeef663e66fda9d6eebf9eadf557e
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Nov 6, 2024
1 parent 0180570 commit 8231273
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ax/analysis/healthcheck/can_generate_candidates.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

import json
from datetime import datetime
from typing import Optional
Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/healthcheck/should_generate_candidates.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

import json

import pandas as pd
Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/healthcheck/tests/test_can_generate_candidates.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from datetime import datetime, timedelta

import pandas as pd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from random import randint

from ax.analysis.analysis import AnalysisCardLevel
Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/arm_effects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from ax.analysis.plotly.arm_effects.insample_effects import InSampleEffectsPlot
from ax.analysis.plotly.arm_effects.predicted_effects import PredictedEffectsPlot

Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/arm_effects/insample_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from itertools import chain
from logging import Logger

Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/arm_effects/predicted_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from itertools import chain
from typing import Any

Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/arm_effects/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from typing import Any

import pandas as pd
Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/tests/test_insample_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from unittest.mock import patch

import torch
Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/tests/test_predicted_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from unittest.mock import patch

import torch
Expand Down
2 changes: 2 additions & 0 deletions ax/analysis/plotly/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe

from ax.analysis.plotly.utils import get_constraint_violated_probabilities
from ax.core.metric import Metric
from ax.core.outcome_constraint import ComparisonOp, OutcomeConstraint
Expand Down

0 comments on commit 8231273

Please sign in to comment.