|
178 | 178 |
|
179 | 179 |
|
180 | 180 | <tr class="table-row transition-colors"> |
181 | | - <td class="px-6 py-4"> |
| 181 | + <td class="px-6 py-4 text-center"> |
182 | 182 | <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm rank-1"> |
183 | 183 | 1 |
184 | 184 | </div> |
185 | 185 | </td> |
186 | | - <td class="px-6 py-4"> |
| 186 | + <td class="px-6 py-4 text-center"> |
187 | 187 | <div class="font-mono font-semibold text-gray-900 dark:text-white">gemma3:27b</div> |
188 | 188 | </td> |
189 | 189 | <!-- <td class="px-6 py-4"> --> |
|
197 | 197 | <td class="px-6 py-4 text-center"> |
198 | 198 | <div class="text-lg font-semibold text-gray-900 dark:text-white">95.5%</div> |
199 | 199 | </td> |
200 | | - <td class="px-6 py-4"> |
| 200 | + <td class="px-6 py-4 text-center"> |
201 | 201 | <div class="flex items-center justify-center gap-4 text-sm"> |
202 | 202 | <span class="text-green-600 dark:text-green-400 font-medium">21</span> |
203 | 203 | <span class="text-red-600 dark:text-red-400 font-medium">1</span> |
|
217 | 217 |
|
218 | 218 |
|
219 | 219 | <tr class="table-row transition-colors"> |
220 | | - <td class="px-6 py-4"> |
| 220 | + <td class="px-6 py-4 text-center"> |
221 | 221 | <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm rank-2"> |
222 | 222 | 2 |
223 | 223 | </div> |
224 | 224 | </td> |
225 | | - <td class="px-6 py-4"> |
| 225 | + <td class="px-6 py-4 text-center"> |
226 | 226 | <div class="font-mono font-semibold text-gray-900 dark:text-white">gemma3:12b</div> |
227 | 227 | </td> |
228 | 228 | <!-- <td class="px-6 py-4"> --> |
|
236 | 236 | <td class="px-6 py-4 text-center"> |
237 | 237 | <div class="text-lg font-semibold text-gray-900 dark:text-white">77.3%</div> |
238 | 238 | </td> |
239 | | - <td class="px-6 py-4"> |
| 239 | + <td class="px-6 py-4 text-center"> |
240 | 240 | <div class="flex items-center justify-center gap-4 text-sm"> |
241 | 241 | <span class="text-green-600 dark:text-green-400 font-medium">17</span> |
242 | 242 | <span class="text-red-600 dark:text-red-400 font-medium">5</span> |
|
256 | 256 |
|
257 | 257 |
|
258 | 258 | <tr class="table-row transition-colors"> |
259 | | - <td class="px-6 py-4"> |
| 259 | + <td class="px-6 py-4 text-center"> |
260 | 260 | <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm rank-3"> |
261 | 261 | 3 |
262 | 262 | </div> |
263 | 263 | </td> |
264 | | - <td class="px-6 py-4"> |
| 264 | + <td class="px-6 py-4 text-center"> |
265 | 265 | <div class="font-mono font-semibold text-gray-900 dark:text-white">gemma3:4b</div> |
266 | 266 | </td> |
267 | 267 | <!-- <td class="px-6 py-4"> --> |
|
275 | 275 | <td class="px-6 py-4 text-center"> |
276 | 276 | <div class="text-lg font-semibold text-gray-900 dark:text-white">72.7%</div> |
277 | 277 | </td> |
278 | | - <td class="px-6 py-4"> |
| 278 | + <td class="px-6 py-4 text-center"> |
279 | 279 | <div class="flex items-center justify-center gap-4 text-sm"> |
280 | 280 | <span class="text-green-600 dark:text-green-400 font-medium">16</span> |
281 | 281 | <span class="text-red-600 dark:text-red-400 font-medium">6</span> |
|
295 | 295 |
|
296 | 296 |
|
297 | 297 | <tr class="table-row transition-colors"> |
298 | | - <td class="px-6 py-4"> |
299 | | - <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400"> |
| 298 | + <td class="px-6 py-4 text-center"> |
| 299 | + <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm bg-gray-200 text-gray-600 dark:bg-gray-800 dark:text-gray-400"> |
300 | 300 | 4 |
301 | 301 | </div> |
302 | 302 | </td> |
303 | | - <td class="px-6 py-4"> |
| 303 | + <td class="px-6 py-4 text-center"> |
304 | 304 | <div class="font-mono font-semibold text-gray-900 dark:text-white">gemma3n:e4b</div> |
305 | 305 | </td> |
306 | 306 | <!-- <td class="px-6 py-4"> --> |
|
314 | 314 | <td class="px-6 py-4 text-center"> |
315 | 315 | <div class="text-lg font-semibold text-gray-900 dark:text-white">59.1%</div> |
316 | 316 | </td> |
317 | | - <td class="px-6 py-4"> |
| 317 | + <td class="px-6 py-4 text-center"> |
318 | 318 | <div class="flex items-center justify-center gap-4 text-sm"> |
319 | 319 | <span class="text-green-600 dark:text-green-400 font-medium">13</span> |
320 | 320 | <span class="text-red-600 dark:text-red-400 font-medium">9</span> |
|
334 | 334 |
|
335 | 335 |
|
336 | 336 | <tr class="table-row transition-colors"> |
337 | | - <td class="px-6 py-4"> |
338 | | - <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400"> |
| 337 | + <td class="px-6 py-4 text-center"> |
| 338 | + <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm bg-gray-200 text-gray-600 dark:bg-gray-800 dark:text-gray-400"> |
339 | 339 | 5 |
340 | 340 | </div> |
341 | 341 | </td> |
342 | | - <td class="px-6 py-4"> |
| 342 | + <td class="px-6 py-4 text-center"> |
343 | 343 | <div class="font-mono font-semibold text-gray-900 dark:text-white">gemma3n:e2b</div> |
344 | 344 | </td> |
345 | 345 | <!-- <td class="px-6 py-4"> --> |
|
353 | 353 | <td class="px-6 py-4 text-center"> |
354 | 354 | <div class="text-lg font-semibold text-gray-900 dark:text-white">31.8%</div> |
355 | 355 | </td> |
356 | | - <td class="px-6 py-4"> |
| 356 | + <td class="px-6 py-4 text-center"> |
357 | 357 | <div class="flex items-center justify-center gap-4 text-sm"> |
358 | 358 | <span class="text-green-600 dark:text-green-400 font-medium">7</span> |
359 | 359 | <span class="text-red-600 dark:text-red-400 font-medium">15</span> |
|
373 | 373 |
|
374 | 374 |
|
375 | 375 | <tr class="table-row transition-colors"> |
376 | | - <td class="px-6 py-4"> |
377 | | - <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400"> |
| 376 | + <td class="px-6 py-4 text-center"> |
| 377 | + <div class="flex items-center justify-center w-8 h-8 rounded-full font-bold text-sm bg-gray-200 text-gray-600 dark:bg-gray-800 dark:text-gray-400"> |
378 | 378 | 6 |
379 | 379 | </div> |
380 | 380 | </td> |
381 | | - <td class="px-6 py-4"> |
| 381 | + <td class="px-6 py-4 text-center"> |
382 | 382 | <div class="font-mono font-semibold text-gray-900 dark:text-white">gemma3:1b</div> |
383 | 383 | </td> |
384 | 384 | <!-- <td class="px-6 py-4"> --> |
|
392 | 392 | <td class="px-6 py-4 text-center"> |
393 | 393 | <div class="text-lg font-semibold text-gray-900 dark:text-white">4.5%</div> |
394 | 394 | </td> |
395 | | - <td class="px-6 py-4"> |
| 395 | + <td class="px-6 py-4 text-center"> |
396 | 396 | <div class="flex items-center justify-center gap-4 text-sm"> |
397 | 397 | <span class="text-green-600 dark:text-green-400 font-medium">1</span> |
398 | 398 | <span class="text-red-600 dark:text-red-400 font-medium">21</span> |
|
420 | 420 | <div id="details-modal" class="fixed inset-0 modal-backdrop flex items-center justify-center p-4 z-50 hidden"> |
421 | 421 | <div class="bg-white dark:bg-black rounded-2xl shadow-xl w-full max-w-6xl max-h-[90vh] flex flex-col border border-gray-200 dark:border-gray-700"> |
422 | 422 | <header class="px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center flex-shrink-0"> |
423 | | - <div> |
424 | | - <h2 id="modal-title" class="text-2xl font-bold text-gray-900 dark:text-white"></h2> |
425 | | - <p class="text-gray-500 dark:text-gray-400 text-sm mt-1">Detailed test case analysis</p> |
426 | | - </div> |
| 423 | + <h2 id="modal-title" class="text-2xl font-bold text-gray-900 dark:text-white"></h2> |
427 | 424 | <button onclick="hideDetails()" class="p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-900 text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 transition-colors"> |
428 | 425 | <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
429 | 426 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /> |
|
545 | 542 | <div class="flex items-start gap-4"> |
546 | 543 | <div class="flex-grow space-y-4"> |
547 | 544 | <div> |
548 | | - <div class="flex-shrink-0 my-2">${statusBadge}</div> |
549 | | - <div class="max-w-screen overflow-scroll bg-white dark:bg-black p-4 rounded-lg border border-gray-200 dark:border-gray-700"> |
550 | | - <div class="text-sm text-gray-600 dark:text-gray-400 mb-2">User Prompt:</div> |
551 | | - <pre class="bg-gray-50 dark:bg-black rounded-lg"><code class="language-markdown text-xs">${formattedMessage}</code></pre> |
| 545 | + <div class="my-2">${statusBadge}</div> |
| 546 | + <div class="bg-white dark:bg-black p-4 rounded-lg border border-gray-200 dark:border-gray-700"> |
| 547 | + <h5 class="font-medium text-gray-700 dark:text-gray-300">Prompt</h5> |
| 548 | + <div class="overflow-x-auto"> |
| 549 | + <pre class="bg-gray-50 dark:bg-black rounded-lg min-w-0 whitespace-pre-wrap"><code class="language-markdown text-xs">${formattedMessage}</code></pre> |
| 550 | + </div> |
552 | 551 | </div> |
553 | 552 | </div> |
554 | 553 |
|
555 | 554 | <div class="grid lg:grid-cols-2 gap-4"> |
556 | 555 | <div class="flex flex-col space-y-2"> |
557 | 556 | <h5 class="font-medium text-gray-700 dark:text-gray-300">Expected Output</h5> |
558 | | - <div class="max-w-screen overflow-scroll flex-1 bg-white dark:bg-black p-4 rounded-lg border border-gray-200 dark:border-gray-700 text-sm"> |
| 557 | + <div class="flex-1 bg-white dark:bg-black p-4 rounded-lg border border-gray-200 dark:border-gray-700 text-sm"> |
559 | 558 | ${expectedHtml} |
560 | 559 | </div> |
561 | 560 | </div> |
562 | 561 | <div class="flex flex-col space-y-2"> |
563 | 562 | <h5 class="font-medium text-gray-700 dark:text-gray-300">Actual Output</h5> |
564 | | - <div class="max-w-screen overflow-scroll flex-1 bg-white dark:bg-black p-4 rounded-lg border border-gray-200 dark:border-gray-700 text-sm"> |
| 563 | + <div class="flex-1 bg-white dark:bg-black p-4 rounded-lg border border-gray-200 dark:border-gray-700 text-sm"> |
565 | 564 | ${actualHtml} |
566 | 565 | </div> |
567 | 566 | </div> |
|
0 commit comments