mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
feat: Shade every second group of Seniors
This commit is contained in:
parent
fb2e59cf08
commit
ac9d46c1f7
1 changed files with 8 additions and 1 deletions
|
@ -13,6 +13,12 @@ nav_exclude: true
|
|||
|
||||
Here's a table containing the benchmark data for different model configurations:
|
||||
|
||||
<style>
|
||||
.shaded {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% assign sorted_data = site.data.senior | sort: "pass_rate_2" | reverse %}
|
||||
{% assign grouped_data = sorted_data | group_by: "model" %}
|
||||
|
||||
|
@ -29,8 +35,9 @@ Here's a table containing the benchmark data for different model configurations:
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for group in grouped_data %}
|
||||
{% assign group_class = forloop.index | modulo: 2 | plus: 1 %}
|
||||
{% for item in group.items %}
|
||||
<tr>
|
||||
<tr class="{% if group_class == 2 %}shaded{% endif %}">
|
||||
<td>{{ item.model }}</td>
|
||||
<td>{{ item.junior_model }}</td>
|
||||
<td>{{ item.junior_edit_format }}</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue