Skip to content

Commit 87cc029

Browse files
committed
fix the quotes on source bench
1 parent 834994b commit 87cc029

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

content/posts/sourcebench.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -260,69 +260,69 @@ Chart.defaults.font.family = "'Inter', sans-serif";
260260
Chart.defaults.color = '#475569';
261261

262262
const leaderBoardData = [
263-
{ name: 'GPT-5', score: 89.1, color: '#10b981' },
264-
{ name: 'Grok-4.1', score: 83.4, color: '#3b82f6' },
265-
{ name: 'Gensee', score: 81.8, color: '#06b6d4' },
266-
{ name: 'GPT-4o', score: 81.5, color: '#94a3b8' },
267-
{ name: 'Claude 3.5', score: 81.3, color: '#94a3b8' },
268-
{ name: 'Exa', score: 80.1, color: '#94a3b8' },
269-
{ name: 'Google', score: 79.9, color: '#94a3b8' },
270-
{ name: 'Gemini 3 Pro', score: 79.4, color: '#94a3b8' },
271-
{ name: 'Perplexity', score: 78.5, color: '#94a3b8' },
272-
{ name: 'Tavily', score: 78.3, color: '#ef4444' },
263+
{ name: 'GPT-5', score: 89.1, color: '#10b981' },
264+
{ name: 'Grok-4.1', score: 83.4, color: '#3b82f6' },
265+
{ name: 'Gensee', score: 81.8, color: '#06b6d4' },
266+
{ name: 'GPT-4o', score: 81.5, color: '#94a3b8' },
267+
{ name: 'Claude 3.5', score: 81.3, color: '#94a3b8' },
268+
{ name: 'Exa', score: 80.1, color: '#94a3b8' },
269+
{ name: 'Google', score: 79.9, color: '#94a3b8' },
270+
{ name: 'Gemini 3 Pro', score: 79.4, color: '#94a3b8' },
271+
{ name: 'Perplexity', score: 78.5, color: '#94a3b8' },
272+
{ name: 'Tavily', score: 78.3, color: '#ef4444' },
273273
];
274274

275275
const inverseData = {
276-
labels: ['GPT-5', 'Grok-4.1', 'GPT-4o', 'Perplexity', 'Tavily'],
276+
labels: ['GPT-5', 'Grok-4.1', 'GPT-4o', 'Perplexity', 'Tavily'],
277277
score: [89.1, 83.4, 81.5, 78.5, 78.3],
278278
overlap: [16.0, 29.7, 27.5, 40.0, 55.5]
279279
};
280280

281281
const deepSeekData = [
282-
{ name: 'Chat + Low Search', score: 70.1, color: '#cbd5e1' },
283-
{ name: 'Reason + Low Search', score: 75.8, color: '#94a3b8' },
284-
{ name: 'Chat + High Search', score: 75.9, color: '#8b5cf6' },
282+
{ name: 'Chat + Low Search', score: 70.1, color: '#cbd5e1' },
283+
{ name: 'Reason + Low Search', score: 75.8, color: '#94a3b8' },
284+
{ name: 'Chat + High Search', score: 75.9, color: '#8b5cf6' },
285285
];
286286

287-
new Chart(document.getElementById('leaderboardChart'), {
288-
type: 'bar',
287+
new Chart(document.getElementById('leaderboardChart'), {
288+
type: 'bar',
289289
data: {
290290
labels: leaderBoardData.map(d => d.name),
291291
datasets: [{
292-
label: 'SourceBench Score',
292+
label: 'SourceBench Score',
293293
data: leaderBoardData.map(d => d.score),
294294
backgroundColor: leaderBoardData.map(d => d.color),
295295
borderRadius: 4,
296296
barThickness: 24
297297
}]
298298
},
299299
options: {
300-
indexAxis: 'y',
300+
indexAxis: 'y',
301301
responsive: true,
302302
maintainAspectRatio: false,
303303
plugins: { legend: { display: false } },
304-
scales: { x: { min: 70, max: 95, grid: { color: '#f1f5f9' } }, y: { grid: { display: false } } }
304+
scales: { x: { min: 70, max: 95, grid: { color: '#f1f5f9' } }, y: { grid: { display: false } } }
305305
}
306306
});
307307

308-
new Chart(document.getElementById('inverseChart'), {
309-
type: 'bar',
308+
new Chart(document.getElementById('inverseChart'), {
309+
type: 'bar',
310310
data: {
311311
labels: inverseData.labels,
312312
datasets: [
313313
{
314-
label: 'SourceBench Score',
314+
label: 'SourceBench Score',
315315
data: inverseData.score,
316-
backgroundColor: '#10b981',
317-
yAxisID: 'y',
316+
backgroundColor: '#10b981',
317+
yAxisID: 'y',
318318
borderRadius: 4,
319319
barPercentage: 0.6
320320
},
321321
{
322-
label: 'Google Overlap %',
322+
label: 'Google Overlap %',
323323
data: inverseData.overlap,
324-
backgroundColor: '#94a3b8',
325-
yAxisID: 'y1',
324+
backgroundColor: '#94a3b8',
325+
yAxisID: 'y1',
326326
borderRadius: 4,
327327
barPercentage: 0.6
328328
}
@@ -331,34 +331,34 @@ new Chart(document.getElementById('inverseChart'), {
331331
options: {
332332
responsive: true,
333333
maintainAspectRatio: false,
334-
interaction: { mode: 'index', intersect: false },
335-
plugins: { legend: { position: 'top', labels: { usePointStyle: true } } },
334+
interaction: { mode: 'index', intersect: false },
335+
plugins: { legend: { position: 'top', labels: { usePointStyle: true } } },
336336
scales: {
337337
x: { grid: { display: false } },
338-
y: { type: 'linear', display: true, position: 'left', min: 70, max: 95, title: { display: true, text: 'Weighted Score' } },
339-
y1: { type: 'linear', display: true, position: 'right', min: 0, max: 60, grid: { drawOnChartArea: false }, title: { display: true, text: 'Overlap %' } }
338+
y: { type: 'linear', display: true, position: 'left', min: 70, max: 95, title: { display: true, text: 'Weighted Score' } },
339+
y1: { type: 'linear', display: true, position: 'right', min: 0, max: 60, grid: { drawOnChartArea: false }, title: { display: true, text: 'Overlap %' } }
340340
}
341341
}
342342
});
343343

344-
new Chart(document.getElementById('deepseekChart'), {
345-
type: 'bar',
344+
new Chart(document.getElementById('deepseekChart'), {
345+
type: 'bar',
346346
data: {
347347
labels: deepSeekData.map(d => d.name),
348348
datasets: [{
349-
label: 'Score',
349+
label: 'Score',
350350
data: deepSeekData.map(d => d.score),
351351
backgroundColor: deepSeekData.map(d => d.color),
352352
borderRadius: 4,
353353
barThickness: 24
354354
}]
355355
},
356356
options: {
357-
indexAxis: 'y',
357+
indexAxis: 'y',
358358
responsive: true,
359359
maintainAspectRatio: false,
360360
plugins: { legend: { display: false } },
361-
scales: { x: { min: 65, max: 80, grid: { color: '#f1f5f9' } }, y: { grid: { display: false } } }
361+
scales: { x: { min: 65, max: 80, grid: { color: '#f1f5f9' } }, y: { grid: { display: false } } }
362362
}
363363
});
364364

0 commit comments

Comments
 (0)