mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
style: Update QWQ chart colors and font sizes
This commit is contained in:
parent
107dfcac65
commit
65b8bf6834
1 changed files with 8 additions and 15 deletions
|
@ -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') {
|
||||
if (row.model === 'Qwen2.5 Coder 32B Instruct'
|
||||
|| row.model === 'Sonnet (SOTA)
|
||||
) {
|
||||
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') {
|
||||
if (row.model === 'Qwen2.5 Coder 32B Instruct'
|
||||
|| row.model === 'Sonnet (SOTA)
|
||||
) {
|
||||
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
|
||||
}),
|
||||
|
@ -57,7 +57,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
},
|
||||
title: {
|
||||
display: true,
|
||||
text: 'Aider code editing benchmark',
|
||||
text: 'Aider code editing benchmark results',
|
||||
font: {
|
||||
size: 16
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
display: true,
|
||||
text: 'Percent completed correctly',
|
||||
font: {
|
||||
size: 14
|
||||
size: 18
|
||||
}
|
||||
},
|
||||
ticks: {
|
||||
|
@ -84,13 +84,6 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
font: {
|
||||
size: 16
|
||||
}
|
||||
},
|
||||
title: {
|
||||
display: true,
|
||||
text: 'Provider: qwqization',
|
||||
font: {
|
||||
size: 14
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue