From 6b85e29ea73513c632c888daa3a2fc2ce414c7a2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 26 Sep 2024 12:11:53 -0700 Subject: [PATCH] fix: Update condition to check for empty `item.junior_model` --- aider/website/_posts/2024-09-26-senior-junior.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/website/_posts/2024-09-26-senior-junior.md b/aider/website/_posts/2024-09-26-senior-junior.md index 4e2704086..3a5fb2d06 100644 --- a/aider/website/_posts/2024-09-26-senior-junior.md +++ b/aider/website/_posts/2024-09-26-senior-junior.md @@ -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 %} labels.push("{{ item.junior_model | default: "(No Junior)" }} {{ item.junior_edit_format | default: item.edit_format }}"); data.push({{ item.pass_rate_2 }}); - if ("{{ item.junior_model }}" == "(No Junior)") { + if ("{{ item.junior_model }}" == "") { backgroundColors.push(pattern); } else { backgroundColors.push(colorMapping["{{ item.model }}"]);