From 729285e8a24613162ba8c1d02ef01644676d8ed7 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 12 Apr 2025 20:13:05 -0700 Subject: [PATCH] refactor: Move cost column in leaderboards table to be after percent --- aider/website/docs/leaderboards/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index d89ae0a70..111cc6abb 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -43,9 +43,9 @@ The model also has to successfully apply all its changes to the source file with Model Percent correct Percent using correct edit format + Cost Command Edit format - Cost @@ -62,10 +62,10 @@ The model also has to successfully apply all its changes to the source file with {{ row.model }} {{ row.pass_rate_2 }}% {{ row.percent_cases_well_formed }}% - {{ row.command }} - {{ row.edit_format }} {% 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 }} + {{ row.edit_format }} {% endfor %} @@ -93,14 +93,14 @@ The model also has to successfully apply all its changes to the source file with word-wrap: break-word; overflow-wrap: break-word; } - td:nth-child(3), td:nth-child(4) { + td:nth-child(5), td:nth-child(6) { /* Command and Edit Format columns */ font-size: 12px; } /* Hide command and edit format columns on mobile */ @media screen and (max-width: 767px) { - th:nth-child(4), td:nth-child(4), /* Command column */ - th:nth-child(5), td:nth-child(5) { /* Edit format column */ + th:nth-child(5), td:nth-child(5), /* Command column */ + th:nth-child(6), td:nth-child(6) { /* Edit format column */ display: none; } }