feat: increase font sizes in graph

This commit is contained in:
Paul Gauthier (aider) 2024-09-26 12:04:36 -07:00
parent f5cdaa06c8
commit 74a5ef51d4

View file

@ -94,13 +94,29 @@ o1-preview as Senior and Deepseek as Junior, raising the SOTA from 79.7% up to 8
beginAtZero: true, beginAtZero: true,
title: { title: {
display: true, display: true,
text: 'Pass Rate (%)' text: 'Pass Rate (%)',
font: {
size: 14
}
},
ticks: {
font: {
size: 12
}
} }
}, },
x: { x: {
title: { title: {
display: true, display: true,
text: 'Junior model and edit format' text: 'Junior model and edit format',
font: {
size: 14
}
},
ticks: {
font: {
size: 12
}
} }
} }
}, },
@ -117,7 +133,10 @@ o1-preview as Senior and Deepseek as Junior, raising the SOTA from 79.7% up to 8
label: { label: {
content: 'Previous SOTA', content: 'Previous SOTA',
enabled: true, enabled: true,
position: 'end' position: 'end',
font: {
size: 12
}
} }
} }
} }
@ -125,6 +144,9 @@ o1-preview as Senior and Deepseek as Junior, raising the SOTA from 79.7% up to 8
legend: { legend: {
display: true, display: true,
labels: { labels: {
font: {
size: 12
},
generateLabels: function(chart) { generateLabels: function(chart) {
var colorMapping = { var colorMapping = {
"o1-preview": "rgba(255, 206, 86, 0.2)", "o1-preview": "rgba(255, 206, 86, 0.2)",