diff --git a/aider/website/_includes/qwq-chart.js b/aider/website/_includes/qwq-chart.js index a1f7513dd..d411ea491 100644 --- a/aider/website/_includes/qwq-chart.js +++ b/aider/website/_includes/qwq-chart.js @@ -24,18 +24,18 @@ document.addEventListener('DOMContentLoaded', function () { label: 'Percent completed correctly', data: filteredData.map(row => row.pass_rate_2), backgroundColor: filteredData.map(row => { - if (row.model === 'Qwen2.5 Coder 32B Instruct' - || row.model === 'Sonnet (SOTA) - ) { + if (row.model === 'Qwen2.5 Coder 32B Instruct') { return 'rgba(255, 99, 132, 0.2)'; // Pink color for Qwen + } else if (row.model === 'Sonnet (SOTA)') { + return 'rgba(75, 192, 192, 0.2)'; // Green color for Sonnet } return 'rgba(54, 162, 235, 0.2)'; // Default blue }), borderColor: filteredData.map(row => { - if (row.model === 'Qwen2.5 Coder 32B Instruct' - || row.model === 'Sonnet (SOTA) - ) { + if (row.model === 'Qwen2.5 Coder 32B Instruct') { return 'rgba(255, 99, 132, 1)'; // Pink border for Qwen + } else if (row.model === 'Sonnet (SOTA)') { + return 'rgba(75, 192, 192, 1)'; // Green border for Sonnet } return 'rgba(54, 162, 235, 1)'; // Default blue border }),