ci/eval-stats: sort output table by metric name

This commit is contained in:
Johannes Kirschbauer 2025-05-07 18:05:07 +02:00
parent c8276114ac
commit 4f64ebd02b
No known key found for this signature in database

View file

@ -60,6 +60,7 @@ def load_all_metrics(directory: Path) -> dict:
return metrics return metrics
def dataframe_to_markdown(df: pd.DataFrame) -> str: def dataframe_to_markdown(df: pd.DataFrame) -> str:
df = df.sort_values(by=df.columns[0], ascending=True)
markdown_lines = [] markdown_lines = []
# Header (get column names and format them) # Header (get column names and format them)