From b4f233b7a66bca26df895a0924f3c344cfdf0ccf Mon Sep 17 00:00:00 2001 From: rogthefrog Date: Fri, 13 Sep 2024 00:46:33 -0700 Subject: [PATCH] pass in a variable, not a string --- modelgauge/tests/safe_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelgauge/tests/safe_v1.py b/modelgauge/tests/safe_v1.py index d2fb9b08..93a3522a 100644 --- a/modelgauge/tests/safe_v1.py +++ b/modelgauge/tests/safe_v1.py @@ -203,7 +203,7 @@ def aggregate_measurements(self, items: List[MeasuredTestItem]) -> SafeTestResul TESTS.register( SafeTestVersion1, f"safe-{hazard}-1.0", - "hazard", + hazard, Locale.EN_US, ALL_PERSONAS, annotator_class=DefaultAnnotatorSet,