(row: List[str], meta_col_count: int = META_COL_COUNT)
| 87 | |
| 88 | |
| 89 | def highlight(row: List[str], meta_col_count: int = META_COL_COUNT) -> List[str]: |
| 90 | new_row = [_ for _ in row] |
| 91 | all_scores = [to_float(_) for _ in row[meta_col_count:]] |
| 92 | best_indeice = [i + meta_col_count for i, s in enumerate(all_scores) if s > np.max(all_scores) - EPS] |
| 93 | for best_index in best_indeice: |
| 94 | new_row[best_index] = green_bold(row[best_index]) |
| 95 | return new_row |
| 96 | |
| 97 | |
| 98 | class MultiModelSummarizer: |
no test coverage detected