From 4db963182d29f51b40627c7ecaa1bf23ca4ba9b2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 12 Apr 2025 20:21:38 -0700 Subject: [PATCH] feat: Add color variation to cost bars in leaderboards --- aider/website/docs/leaderboards/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index 221782a58..5f32470a2 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -70,7 +70,7 @@ 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 %}?{% else %}${{ row.total_cost | times: 1.0 | round: 2 }}{% endif %} {{ row.command }}