def METHOD_NAME(iris_split_dataset_and_model):
    # Arrange
    _, val, model = iris_split_dataset_and_model
    scorer = {'F1': make_scorer(f1_score, average='micro')}
    # Act
    result = WeakSegmentsPerformance(alternative_scorer=scorer).run(val, model)
    segments = result.value['weak_segments_list']
    # Assert
    assert_that(segments.columns[0], equal_to('F1 Score'))
    assert_that(segments, any_of(has_length(5), has_length(6)))
    assert_that(segments.iloc[0, 0], close_to(0.33, 0.01))