Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesHolland committed Sep 5, 2024
1 parent 31f0045 commit 507ba24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _aggregate_content_safety_metrics(
return content_safety_cols, defect_rates


def _aggregate_label_defect_metrics(df: pd.DataFrame) -> Tuple[list[str], Dict[str, float]]:
def _aggregate_label_defect_metrics(df: pd.DataFrame) -> Tuple[List[str], Dict[str, float]]:
"""Find and aggregate defect rates for label-based metrics. Returns both a list
of columns that were used to calculate defect rates and the defect rates themselves.
Expand Down

0 comments on commit 507ba24

Please sign in to comment.