mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
fix: Update table styles in blog post
This commit is contained in:
parent
bc1559fbc9
commit
8ca92cdec0
1 changed files with 6 additions and 7 deletions
|
@ -14,22 +14,21 @@ nav_exclude: true
|
||||||
Here's a table containing the benchmark data for different model configurations:
|
Here's a table containing the benchmark data for different model configurations:
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.shaded {
|
.shaded td {
|
||||||
background-color: #e0e0e0;
|
background-color: #f2f2f2;
|
||||||
border-top: 1px solid #ccc;
|
border-top: 1px solid #ccc;
|
||||||
border-bottom: 1px solid #ccc;
|
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
th, td {
|
th {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
th {
|
th {
|
||||||
background-color: #f2f2f2;
|
background-color: #e2e2e2;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -41,7 +40,7 @@ Here's a table containing the benchmark data for different model configurations:
|
||||||
<tr>
|
<tr>
|
||||||
<th>Senior</th>
|
<th>Senior</th>
|
||||||
<th>Junior</th>
|
<th>Junior</th>
|
||||||
<th>Junior Edit Format</th>
|
<th>Edit Format</th>
|
||||||
<th>Pass Rate (%)</th>
|
<th>Pass Rate (%)</th>
|
||||||
<th>Average Time (sec)</th>
|
<th>Average Time (sec)</th>
|
||||||
<th>Total Cost ($)</th>
|
<th>Total Cost ($)</th>
|
||||||
|
@ -51,7 +50,7 @@ Here's a table containing the benchmark data for different model configurations:
|
||||||
{% for group in grouped_data %}
|
{% for group in grouped_data %}
|
||||||
{% assign group_class = forloop.index | modulo: 2 | plus: 1 %}
|
{% assign group_class = forloop.index | modulo: 2 | plus: 1 %}
|
||||||
{% for item in group.items %}
|
{% for item in group.items %}
|
||||||
<tr class="{% if group_class == 2 %}shaded{% endif %}">
|
<tr class="{% if group_class == 1 %}shaded{% endif %}">
|
||||||
<td>{{ item.model }}</td>
|
<td>{{ item.model }}</td>
|
||||||
<td>{{ item.junior_model }}</td>
|
<td>{{ item.junior_model }}</td>
|
||||||
<td>{{ item.junior_edit_format }}</td>
|
<td>{{ item.junior_edit_format }}</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue