From d26be77010df42d8b3fe58ca13fc04d4780e4680 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 12 Apr 2025 20:45:29 -0700 Subject: [PATCH] feat: Hide cost bar if cost is 0 or unknown in leaderboards table --- aider/website/docs/leaderboards/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index 50b40912f..035a82b23 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -70,7 +70,9 @@ The model also has to successfully apply all its changes to the source file with {% assign cost_percent = row.total_cost | times: 100.0 | divided_by: max_cost %} + {% if row.total_cost > 0 %}
+ {% endif %} {% if row.total_cost == 0 %}?{% else %}${{ row.total_cost | times: 1.0 | round: 2 }}{% endif %} {{ row.command }}