diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml index 1c823b519585a..e5fa2732a757a 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 diff --git a/ci/eval/compare/cmp-stats.py b/ci/eval/compare/cmp-stats.py index e3dc8bbd8e64e..0ef9c773163a9 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)