Skip to content

Commit b6d6c01

Browse files
committed
fix issue with > on source bench
1 parent 87cc029 commit b6d6c01

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

content/posts/sourcebench.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,11 @@ const deepSeekData = [
287287
new Chart(document.getElementById('leaderboardChart'), {
288288
type: 'bar',
289289
data: {
290-
labels: leaderBoardData.map(d => d.name),
290+
labels: leaderBoardData.map(d > d.name),
291291
datasets: [{
292292
label: 'SourceBench Score',
293-
data: leaderBoardData.map(d => d.score),
294-
backgroundColor: leaderBoardData.map(d => d.color),
293+
data: leaderBoardData.map(d > d.score),
294+
backgroundColor: leaderBoardData.map(d > d.color),
295295
borderRadius: 4,
296296
barThickness: 24
297297
}]
@@ -344,11 +344,11 @@ new Chart(document.getElementById('inverseChart'), {
344344
new Chart(document.getElementById('deepseekChart'), {
345345
type: 'bar',
346346
data: {
347-
labels: deepSeekData.map(d => d.name),
347+
labels: deepSeekData.map(d > d.name),
348348
datasets: [{
349349
label: 'Score',
350-
data: deepSeekData.map(d => d.score),
351-
backgroundColor: deepSeekData.map(d => d.color),
350+
data: deepSeekData.map(d > d.score),
351+
backgroundColor: deepSeekData.map(d > d.color),
352352
borderRadius: 4,
353353
barThickness: 24
354354
}]

0 commit comments

Comments
 (0)