mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
fix: Update condition to check for empty item.junior_model
This commit is contained in:
parent
bb50e1a959
commit
6b85e29ea7
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ o1-preview as Senior and Deepseek as Junior, raising the SOTA from 79.7% up to 8
|
||||||
{% for item in group.items %}
|
{% for item in group.items %}
|
||||||
labels.push("{{ item.junior_model | default: "(No Junior)" }} {{ item.junior_edit_format | default: item.edit_format }}");
|
labels.push("{{ item.junior_model | default: "(No Junior)" }} {{ item.junior_edit_format | default: item.edit_format }}");
|
||||||
data.push({{ item.pass_rate_2 }});
|
data.push({{ item.pass_rate_2 }});
|
||||||
if ("{{ item.junior_model }}" == "(No Junior)") {
|
if ("{{ item.junior_model }}" == "") {
|
||||||
backgroundColors.push(pattern);
|
backgroundColors.push(pattern);
|
||||||
} else {
|
} else {
|
||||||
backgroundColors.push(colorMapping["{{ item.model }}"]);
|
backgroundColors.push(colorMapping["{{ item.model }}"]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue