Fix PYRE_MISSING_ANNOTATIONS issues in fbcode/reagent/test/training/cb/test_linucb.py

Differential Revision: D105468985

fbshipit-source-id: 4fdf174b006d7aeaa30c83a75f4e4485edb72297
This commit is contained in:
generatedunixname1401739305002972
2026-05-17 03:21:44 -07:00
committed by meta-codesync[bot]
parent c5757f35c9
commit 05761169e4
+1 -1
View File
@@ -165,7 +165,7 @@ class TestLinUCB(unittest.TestCase):
)
npt.assert_allclose(scorer_1.coefs.numpy(), scorer_2.coefs.numpy(), rtol=1e-3)
def test_linucb_model_update_equations(self):
def test_linucb_model_update_equations(self) -> None:
# make sure that the model parameters match hand-computed values
scorer = LinearRegressionUCB(self.x_dim)
policy = Policy(scorer=scorer, sampler=GreedyActionSampler())