mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44: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>
|
||||
</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>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
|
@ -46,6 +46,7 @@ it will work best with models that score well on the code editing benchmark.
|
|||
var leaderboardData = {
|
||||
labels: [],
|
||||
datasets: [{
|
||||
label: 'Percent correct',
|
||||
data: [],
|
||||
backgroundColor: 'rgba(54, 162, 235, 0.2)',
|
||||
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: [{
|
||||
scaleLabel: {
|
||||
display: true,
|
||||
labelString: 'Percent correct'
|
||||
},
|
||||
ticks: {
|
||||
beginAtZero: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue