mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
feat: add horizontal dashed line at y=79.7 labeled "Previous SOTA"
This commit is contained in:
parent
337b5f1f7a
commit
b4bd5ffb69
1 changed files with 18 additions and 0 deletions
|
@ -40,6 +40,7 @@ Splitting up "code reasoning" and "code editing" has produced SOTA results on
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation@1.0.2"></script>
|
||||||
{% assign sorted_data = site.data.senior | sort: "pass_rate_2" | reverse %}
|
{% assign sorted_data = site.data.senior | sort: "pass_rate_2" | reverse %}
|
||||||
<canvas id="passRateChart" width="400" height="200"></canvas>
|
<canvas id="passRateChart" width="400" height="200"></canvas>
|
||||||
<script>
|
<script>
|
||||||
|
@ -101,6 +102,23 @@ Splitting up "code reasoning" and "code editing" has produced SOTA results on
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
|
annotation: {
|
||||||
|
annotations: {
|
||||||
|
line1: {
|
||||||
|
type: 'line',
|
||||||
|
yMin: 79.7,
|
||||||
|
yMax: 79.7,
|
||||||
|
borderColor: 'rgba(255, 99, 132, 0.8)',
|
||||||
|
borderWidth: 2,
|
||||||
|
borderDash: [6, 6],
|
||||||
|
label: {
|
||||||
|
content: 'Previous SOTA',
|
||||||
|
enabled: true,
|
||||||
|
position: 'end'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
legend: {
|
legend: {
|
||||||
display: true,
|
display: true,
|
||||||
labels: {
|
labels: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue