From c8276114ac18237c8fcf5a2e416578aab58eb393 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 7 May 2025 18:01:39 +0200 Subject: [PATCH 1/2] fix(ci/eval-stats): resolve prResult symlink --- .github/workflows/eval.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml index 1c823b519585..e5fa2732a757 100644 --- a/.github/workflows/eval.yml +++ b/.github/workflows/eval.yml @@ -219,7 +219,7 @@ jobs: # Use the target branch to get accurate maintainer info nix-build target/ci -A eval.compare \ --arg beforeResultDir ./targetResult \ - --arg afterResultDir ./prResult \ + --arg afterResultDir $(realpath prResult) \ --arg touchedFilesJson ./touched-files.json \ -o comparison From 4f64ebd02b0cf1623bf4bf13a27a7a2d1b186b2e Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 7 May 2025 18:05:07 +0200 Subject: [PATCH 2/2] ci/eval-stats: sort output table by metric name --- ci/eval/compare/cmp-stats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/eval/compare/cmp-stats.py b/ci/eval/compare/cmp-stats.py index e3dc8bbd8e64..0ef9c773163a 100644 --- a/ci/eval/compare/cmp-stats.py +++ b/ci/eval/compare/cmp-stats.py @@ -60,6 +60,7 @@ def load_all_metrics(directory: Path) -> dict: return metrics def dataframe_to_markdown(df: pd.DataFrame) -> str: + df = df.sort_values(by=df.columns[0], ascending=True) markdown_lines = [] # Header (get column names and format them)