dbs_annotator.utils.report_chart_utils.find_best_and_second

dbs_annotator.utils.report_chart_utils.find_best_and_second(index_vals)[source]

Return the x-points with the best and second-best aggregate-index scores.

Returns:

(best_x, second_best_x) – either may be None.

Return type:

tuple[int | None, int | None]