mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
style: unify Qwen and Sonnet chart colors to green
This commit is contained in:
parent
5379d45184
commit
3fc846471e
1 changed files with 4 additions and 8 deletions
|
@ -24,18 +24,14 @@ 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') {
|
||||
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
|
||||
if (row.model === 'Qwen2.5 Coder 32B Instruct' || row.model === 'Sonnet (SOTA)') {
|
||||
return 'rgba(75, 192, 192, 0.2)'; // Green color for both
|
||||
}
|
||||
return 'rgba(54, 162, 235, 0.2)'; // Default blue
|
||||
}),
|
||||
borderColor: filteredData.map(row => {
|
||||
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
|
||||
if (row.model === 'Qwen2.5 Coder 32B Instruct' || row.model === 'Sonnet (SOTA)') {
|
||||
return 'rgba(75, 192, 192, 1)'; // Green border for both
|
||||
}
|
||||
return 'rgba(54, 162, 235, 1)'; // Default blue border
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue