@@ -260,69 +260,69 @@ Chart.defaults.font.family = "'Inter', sans-serif";
260260Chart .defaults .color = ' #475569' ;
261261
262262const leaderBoardData = [
263- { name: & # 39 ; GPT - 5 & # 39 ; , score: 89.1 , color: & # 39 ;# 10b981 & # 39 ; },
264- { name: & # 39 ; Grok- 4.1 & # 39 ; , score: 83.4 , color: & # 39 ;# 3b82f6 & # 39 ; },
265- { name: & # 39 ; Gensee& # 39 ; , score: 81.8 , color: & # 39 ;# 06b6d4 & # 39 ; },
266- { name: & # 39 ; GPT - 4o & # 39 ; , score: 81.5 , color: & # 39 ;# 94a3b8 & # 39 ; },
267- { name: & # 39 ; Claude 3.5 & # 39 ; , score: 81.3 , color: & # 39 ;# 94a3b8 & # 39 ; },
268- { name: & # 39 ; Exa& # 39 ; , score: 80.1 , color: & # 39 ;# 94a3b8 & # 39 ; },
269- { name: & # 39 ; Google& # 39 ; , score: 79.9 , color: & # 39 ;# 94a3b8 & # 39 ; },
270- { name: & # 39 ; Gemini 3 Pro& # 39 ; , score: 79.4 , color: & # 39 ;# 94a3b8 & # 39 ; },
271- { name: & # 39 ; Perplexity& # 39 ; , score: 78.5 , color: & # 39 ;# 94a3b8 & # 39 ; },
272- { name: & # 39 ; Tavily& # 39 ; , score: 78.3 , color: & # 39 ;# ef4444& # 39 ; },
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
275275const inverseData = {
276- labels: [& # 39 ; GPT - 5 & # 39 ;, & # 39 ; Grok- 4.1 & # 39 ;, & # 39 ; GPT - 4o & # 39 ;, & # 39 ; Perplexity& # 39 ;, & # 39 ; Tavily& # 39 ; ],
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
281281const deepSeekData = [
282- { name: & # 39 ; Chat + Low Search& # 39 ; , score: 70.1 , color: & # 39 ;# cbd5e1& # 39 ; },
283- { name: & # 39 ; Reason + Low Search& # 39 ; , score: 75.8 , color: & # 39 ;# 94a3b8 & # 39 ; },
284- { name: & # 39 ; Chat + High Search& # 39 ; , score: 75.9 , color: & # 39 ;# 8b5cf6 & # 39 ; },
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 (& # 39 ; leaderboardChart& # 39 ; ), {
288- type: & # 39 ; bar& # 39 ; ,
287+ new Chart (document .getElementById (' leaderboardChart' ), {
288+ type: ' bar' ,
289289 data: {
290290 labels: leaderBoardData .map (d = & gt; d .name ),
291291 datasets: [{
292- label: & # 39 ; SourceBench Score& # 39 ; ,
292+ label: ' SourceBench Score' ,
293293 data: leaderBoardData .map (d = & gt; d .score ),
294294 backgroundColor: leaderBoardData .map (d = & gt; d .color ),
295295 borderRadius: 4 ,
296296 barThickness: 24
297297 }]
298298 },
299299 options: {
300- indexAxis: & # 39 ;y & # 39 ; ,
300+ indexAxis: ' y ' ,
301301 responsive: true ,
302302 maintainAspectRatio: false ,
303303 plugins: { legend: { display: false } },
304- scales: { x: { min: 70 , max: 95 , grid: { color: & # 39 ;# f1f5f9& # 39 ; } }, 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 (& # 39 ; inverseChart& # 39 ; ), {
309- type: & # 39 ; bar& # 39 ; ,
308+ new Chart (document .getElementById (' inverseChart' ), {
309+ type: ' bar' ,
310310 data: {
311311 labels: inverseData .labels ,
312312 datasets: [
313313 {
314- label: & # 39 ; SourceBench Score& # 39 ; ,
314+ label: ' SourceBench Score' ,
315315 data: inverseData .score ,
316- backgroundColor: & # 39 ;# 10b981 & # 39 ; ,
317- yAxisID: & # 39 ;y & # 39 ; ,
316+ backgroundColor: ' # 10b981' ,
317+ yAxisID: ' y ' ,
318318 borderRadius: 4 ,
319319 barPercentage: 0.6
320320 },
321321 {
322- label: & # 39 ; Google Overlap % & # 39 ; ,
322+ label: ' Google Overlap %' ,
323323 data: inverseData .overlap ,
324- backgroundColor: & # 39 ;# 94a3b8 & # 39 ; ,
325- yAxisID: & # 39 ;y1 & # 39 ; ,
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: & # 39 ; index& # 39 ; , intersect: false },
335- plugins: { legend: { position: & # 39 ; top& # 39 ; , 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: & # 39 ; linear& # 39 ; , display: true , position: & # 39 ; left& # 39 ; , min: 70 , max: 95 , title: { display: true , text: & # 39 ; Weighted Score& # 39 ; } },
339- y1: { type: & # 39 ; linear& # 39 ; , display: true , position: & # 39 ; right& # 39 ; , min: 0 , max: 60 , grid: { drawOnChartArea: false }, title: { display: true , text: & # 39 ; Overlap % & # 39 ; } }
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 (& # 39 ; deepseekChart& # 39 ; ), {
345- type: & # 39 ; bar& # 39 ; ,
344+ new Chart (document .getElementById (' deepseekChart' ), {
345+ type: ' bar' ,
346346 data: {
347347 labels: deepSeekData .map (d = & gt; d .name ),
348348 datasets: [{
349- label: & # 39 ; Score& # 39 ; ,
349+ label: ' Score' ,
350350 data: deepSeekData .map (d = & gt; d .score ),
351351 backgroundColor: deepSeekData .map (d = & gt; d .color ),
352352 borderRadius: 4 ,
353353 barThickness: 24
354354 }]
355355 },
356356 options: {
357- indexAxis: & # 39 ;y & # 39 ; ,
357+ indexAxis: ' y ' ,
358358 responsive: true ,
359359 maintainAspectRatio: false ,
360360 plugins: { legend: { display: false } },
361- scales: { x: { min: 65 , max: 80 , grid: { color: & # 39 ;# f1f5f9& # 39 ; } }, y: { grid: { display: false } } }
361+ scales: { x: { min: 65 , max: 80 , grid: { color: ' # f1f5f9' } }, y: { grid: { display: false } } }
362362 }
363363});
364364
0 commit comments