mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
Update leaderboard chart with new label and style.
This commit is contained in:
parent
9b4e643436
commit
e9228e0ed8
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ it will work best with models that score well on the code editing benchmark.
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<canvas id="leaderboardChart" width="800" height="450"></canvas>
|
<canvas id="leaderboardChart" width="800" height="450" style="margin-top: 20px"></canvas>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
@ -46,6 +46,7 @@ it will work best with models that score well on the code editing benchmark.
|
||||||
var leaderboardData = {
|
var leaderboardData = {
|
||||||
labels: [],
|
labels: [],
|
||||||
datasets: [{
|
datasets: [{
|
||||||
|
label: 'Percent correct',
|
||||||
data: [],
|
data: [],
|
||||||
backgroundColor: 'rgba(54, 162, 235, 0.2)',
|
backgroundColor: 'rgba(54, 162, 235, 0.2)',
|
||||||
borderColor: 'rgba(54, 162, 235, 1)',
|
borderColor: 'rgba(54, 162, 235, 1)',
|
||||||
|
@ -66,7 +67,6 @@ it will work best with models that score well on the code editing benchmark.
|
||||||
yAxes: [{
|
yAxes: [{
|
||||||
scaleLabel: {
|
scaleLabel: {
|
||||||
display: true,
|
display: true,
|
||||||
labelString: 'Percent correct'
|
|
||||||
},
|
},
|
||||||
ticks: {
|
ticks: {
|
||||||
beginAtZero: true
|
beginAtZero: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue