diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index cdcb5fd17..ee48372ff 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -20,10 +20,17 @@ Aider works best with high-scoring models, though it [can connect to almost any +
+ + + + +
+ - + @@ -42,8 +49,9 @@ Aider works best with high-scoring models, though it [can connect to almost any {% for row in edit_sorted %} {% comment %} Add loop index for unique IDs {% endcomment %} {% assign row_index = forloop.index0 %} -
Model Percent correct Cost (log scale)
- + + + {{ row.model }} @@ -144,11 +152,174 @@ Aider works best with high-scoring models, though it [can connect to almost any color: #888; /* Make toggle symbol more subtle */ transition: color 0.2s; /* Smooth transition on hover */ } + + /* Style for the toggle buttons */ + #view-mode-toggle .mode-button { + padding: 5px 10px; + border: 1px solid #ccc; + background-color: #f8f9fa; + cursor: pointer; + } + #view-mode-toggle .mode-button:first-child { + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + } + /* Adjust last-of-type selector to account for the clear button potentially being the last */ + #view-mode-toggle .mode-button:nth-last-child(2) { /* Targets the 'Selected' button */ + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + border-left: none; /* If buttons are adjacent */ + } + #view-mode-toggle .mode-button.active { + background-color: #e9ecef; + font-weight: bold; + } + #view-mode-toggle .mode-button:not(:first-child):not(.active) { + border-left: none; /* Avoid double borders */ + } + #clear-selection-button { + padding: 5px 10px; + border: 1px solid #ccc; + background-color: #f8f9fa; + cursor: pointer; + border-radius: 4px; + } + + + /* Style for selected rows */ + tr.row-selected > td { + background-color: #e7f3ff; /* Example light blue highlight */ + } + + /* Ensure checkbox is vertically aligned if needed */ + .row-selector { + vertical-align: middle; + } + + /* Hide rows not matching the filter */ + tr.hidden-by-mode { + display: none !important; /* Use important to override other display styles if necessary */ + } + tr.hidden-by-search { + display: none !important; + } + - +