aider: Add y-axis label "Percent correct" to the leaderboard chart.

# Aider chat conversation:

USER: add y-axis label "Percent correct"

ASSISTANT: ```diff
--- docs/leaderboard.md
+++ docs/leaderboard.md
@@ ... @@
 var leaderboardChart = new Chart(ctx, {
   type: 'bar',
   data: leaderboardData,
   options: {
     scales: {
       yAxes: [{
+        scaleLabel: {
+          display: true,
+          labelString: 'Percent correct'
+        },
         ticks: {
           beginAtZero: true
         }
       }]
     }
   }
 });
```
This commit is contained in:
Paul Gauthier 2024-05-04 10:20:42 -07:00
parent e8ae216bbd
commit bc582723e3

View file

@ -65,6 +65,10 @@ it will work best with models that score well on the code editing benchmark.
options: { options: {
scales: { scales: {
yAxes: [{ yAxes: [{
scaleLabel: {
display: true,
labelString: 'Percent correct'
},
ticks: { ticks: {
beginAtZero: true beginAtZero: true
} }