Skip to content

Commit

Permalink
mollify ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
tadamcz committed Jan 14, 2025
1 parent aaf0827 commit 5ffc69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inspect_ai/scorer/_metrics/std.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
from .._metric import (
Metric,
ReducedScore,
Score,
ValueToFloat,
metric,
value_to_float, Score,
value_to_float,
)

logger = getLogger(__name__)
Expand Down Expand Up @@ -185,7 +186,6 @@ def metric(scores: list[Score]) -> float:
return metric



@metric
def std(to_float: ValueToFloat = value_to_float()) -> Metric:
"""Calculates the sample standard deviation of a list of scores.
Expand Down

0 comments on commit 5ffc69c

Please sign in to comment.