File size: 37,474 Bytes
33cc1cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Gemma Judge Results - audio_set</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .header {
            background-color: #f8f9fa;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        .stats-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
        }
        .stat-box {
            background-color: #f8f9fa;
            border-radius: 5px;
            padding: 15px;
            min-width: 150px;
            flex: 1;
        }
        .stat-title {
            font-weight: bold;
            margin-bottom: 10px;
        }
        .result-item {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
        }
        .correct {
            border-left: 5px solid #28a745;
        }
        .incorrect {
            border-left: 5px solid #dc3545;
        }
        .unknown {
            border-left: 5px solid #ffc107;
        }
        .meta-info {
            color: #6c757d;
            font-size: 0.9em;
            margin-bottom: 10px;
        }
        .text-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
        }
        .text-box {
            flex: 1;
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            min-width: 300px;
        }
        .text-title {
            font-weight: bold;
            margin-bottom: 10px;
        }
        .question-box {
            background-color: #e9ecef;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 15px;
        }
        .question-title {
            font-weight: bold;
            margin-bottom: 10px;
        }
        .original-question {
            white-space: pre-wrap;
            font-family: monospace;
        }
        .judgement-container {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            margin-top: 15px;
        }
        .judgement-title {
            font-weight: bold;
            margin-bottom: 10px;
        }
        .final-answer {
            font-weight: bold;
            color: #212529;
            padding: 5px 10px;
            border-radius: 3px;
            display: inline-block;
            margin-top: 10px;
        }
        .final-answer-true {
            background-color: #d4edda;
        }
        .final-answer-false {
            background-color: #f8d7da;
        }
        .filters {
            margin-bottom: 20px;
            display: flex;
            gap: 15px;
            align-items: center;
        }
        #searchInput {
            padding: 8px;
            border-radius: 4px;
            border: 1px solid #ced4da;
            flex-grow: 1;
        }
        .filter-btn {
            padding: 8px 12px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .active {
            font-weight: bold;
        }
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }
        .pagination button {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background-color: white;
            border-radius: 4px;
            cursor: pointer;
        }
        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .highlight {
            background-color: yellow;
        }
        .empty-message {
            font-style: italic;
            color: #6c757d;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>Gemma Judge Results - audio_set</h1>
        <p>Generated on 2025-04-23 02:58:48</p>
    </div>
    
    <div class="stats-container">

        <div class="stat-box">
            <div class="stat-title">Overall Accuracy</div>
            <div>61.54%</div>
            <div>(13 entries)</div>
        </div>

        <div class="stat-box">
            <div class="stat-title">Language: kk</div>
            <div>Accuracy: 61.54%</div>
            <div>Correct: 8/13</div>
        </div>

    </div>
    
    <div class="filters">
        <input type="text" id="searchInput" placeholder="Search in text...">
        <button class="filter-btn active" onclick="filterResults('all')">All</button>
        <button class="filter-btn" onclick="filterResults('correct')">Correct</button>
        <button class="filter-btn" onclick="filterResults('incorrect')">Incorrect</button>
    </div>
    
    <div id="resultsContainer">

        <div class="result-item incorrect" data-id="18" data-correct="false">
            <div class="meta-info">
                <strong>ID:</strong> 18 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Бұл аудиодағы музыкалық аспаптарды анықтаңызшы.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Аудиодағы дыбыс тек музыкаға қатысты, мен пианино ойнау естіледі.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Music, Piano, Guitar.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text states that the audio contains only sounds related to music, specifically piano playing. The ground truth text states the audio contains music, piano, and guitar sounds. The generated text is therefore incomplete and inaccurate, as it omits the guitar sound. While the piano sound is correctly identified, the overall information is not equivalent.

<span class="final-answer final-answer-false"><b>FINAL ANSWER:</b> False</span></div>
            </div>
        </div>

        <div class="result-item incorrect" data-id="0" data-correct="false">
            <div class="meta-info">
                <strong>ID:</strong> 0 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Can you classify this audio clip?</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">In this audio, you can hear the.... asd</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Railroad car, train wagon, Train horn, Rail transport, Train, Clickety-clack.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text begins identically to the ground truth text ("In this audio, you can hear the..."). However, it abruptly stops and includes nonsensical characters ("asd"). The ground truth text provides a list of specific sounds related to trains and rail transport. The generated text fails to provide *any* of these specific sounds, and instead includes gibberish. Therefore, the generated text does not accurately capture the information in the ground truth text.

<span class="final-answer final-answer-false"><b>FINAL ANSWER:</b> False</span></div>
            </div>
        </div>

        <div class="result-item incorrect" data-id="2" data-correct="false">
            <div class="meta-info">
                <strong>ID:</strong> 2 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Analyze the sound and describe its key characteristics.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">In this audio, you can hear the.... asd</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Speech.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text begins identically to the ground truth text ("In this audio, you can hear the..."). However, it then devolves into nonsensical characters ("...asd") instead of completing the sentence with a description of what is heard. The ground truth specifies "sounds of Speech," which is a clear and informative detail. The generated text fails to provide any meaningful information about the audio content. Therefore, the generated text does not accurately capture the information in the ground truth.

<span class="final-answer final-answer-false"><b>FINAL ANSWER:</b> False</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="15" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 15 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Describe the weather sounds in this recording.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">In this audio clip, I can hear rain, raindrops falling, and the sound of downpour.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Rain, Raindrop, Downpour.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">Reasoning:
The generated text and the ground truth text both identify the same sounds: rain, raindrops, and downpour. The generated text elaborates slightly by saying "raindrops falling" and "sound of downpour," which doesn't introduce any new information but rather provides a more descriptive phrasing of the sounds already listed in the ground truth. The ground truth uses a more concise list-like format, while the generated text uses a more conversational sentence structure. However, the core information conveyed is identical. The capitalization differences ("Rain" vs "rain", "Raindrop" vs "raindrops") are minor and do not affect the meaning.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item incorrect" data-id="11" data-correct="false">
            <div class="meta-info">
                <strong>ID:</strong> 11 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Мұнда пойыз бен көлік дыбыстары естіледі.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Мұнда пойыз бен көлік дыбыстары естіледі.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Railroad car, train wagon, Train horn, Rail transport, Train, Clickety-clack.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text "Мұнда пойыз бен көлік дыбыстары естіледі." translates to "Here you can hear the sounds of train and car." The ground truth text lists specific sounds related to trains ("Railroad car, train wagon, Train horn, Rail transport, Train, Clickety-clack"). While the generated text correctly identifies the presence of train sounds, it is significantly less specific and also includes "car" sounds which aren't necessarily present in the ground truth. The ground truth provides a detailed list of train-related sounds, while the generated text offers a very general description. The generated text doesn't capture the nuance or completeness of the ground truth.

<span class="final-answer final-answer-false"><b>FINAL ANSWER:</b> False</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="14" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 14 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Осы аудиода қандай табиғи құбылыс дыбыстары естіледі?</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиодағы дыбыстар: жаңбыр, су тамшылары, нөсер.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Rain, Raindrop, Downpour.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text and the ground truth text both describe the sounds present in an audio recording. The generated text is in Kazakh, while the ground truth is in English. However, a direct translation reveals a strong semantic equivalence.

*   "Бұл аудиодағы дыбыстар" translates to "The sounds in this audio".
*   "жаңбыр" translates to "Rain".
*   "су тамшылары" translates to "Raindrop".
*   "нөсер" translates to "Downpour".

Therefore, the generated text accurately captures the information present in the ground truth text, simply expressed in a different language. The meaning is fully preserved.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item incorrect" data-id="16" data-correct="false">
            <div class="meta-info">
                <strong>ID:</strong> 16 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Бұл аудиода қандай жануар дыбыстары бар?</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиода Сіз кү дыбыстарын есиді.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Dog, Bark, Howl.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text "Бұл аудиода Сіз кү дыбыстарын есиді." translates to "In this audio, you hear the sounds of 'ku'". The ground truth text "In this audio, you can hear the sounds of Dog, Bark, Howl." states that the audio contains sounds of a dog, specifically barking and howling.

The generated text is incorrect. While it acknowledges sounds are present in the audio, the specific sound described ("ku") does not correspond to any of the sounds mentioned in the ground truth (Dog, Bark, Howl). There is no semantic equivalence or overlap in the information provided. The generated text does not accurately reflect the content of the ground truth.

<span class="final-answer final-answer-false"><b>FINAL ANSWER:</b> False</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="19" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 19 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Осы аудиодағы көлік дыбыстарын сипаттап беріңізші.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиода автокөлік қозғалтқышының, көлік гудогінің және шиналардың дыбыстары естіледі.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Car engine, Car horn, Tire.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text and the ground truth text both describe the sounds present in an audio recording. The ground truth text is in English and lists "Car engine", "Car horn", and "Tire". The generated text is in Kazakh and translates to "In this audio, you can hear the sounds of a car engine, a vehicle horn, and tires."

The Kazakh text accurately conveys the same information as the English text. "Автокөлік қозғалтқышы" translates to "car engine", "көлік гудогі" translates to "vehicle horn" (which is equivalent to car horn), and "шиналар" translates to "tires". The meaning is perfectly preserved despite the different languages.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="5" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 5 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Осы аудиодағы дыбыстарды анықтап беріңізші.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиода сіз сөйлеу дыбыстарын ести аласыз.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Speech.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text is in Kazakh, while the ground truth text is in English. Let's translate the generated text to English to facilitate comparison.

"Бұл аудиода сіз сөйлеу дыбыстарын ести аласыз." translates to "In this audio, you can hear the sounds of speech."

Comparing this translation to the ground truth text "In this audio, you can hear the sounds of Speech.", we see they are semantically equivalent. Both texts convey the same information: the audio contains speech sounds. The only difference is capitalization of "Speech" in the ground truth, which is not a significant difference in meaning.

Therefore, the generated text correctly captures the information in the ground truth.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="12" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 12 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Describe the audio.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">In this audio, you can hear the sounds of Speech and Human voice.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Speech.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text states that you can hear "Speech and Human voice" while the ground truth text states you can hear "Speech". While a human voice is necessary for speech, the generated text adds redundant information. The core information – that speech is present – is accurate, but the addition of "Human voice" isn't present in the ground truth and isn't strictly *necessary* to convey the same meaning. However, it doesn't *contradict* the ground truth. Given the task is to determine if the generated text *correctly* captures the information, and not if it's the *most* concise or optimal representation, the presence of the additional, non-contradictory information doesn't make it incorrect.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="17" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 17 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Осы аудионы тыңдап, ондағы дыбыстарды анықтаңыз.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиода ит, оның үргені мен ұлуы естіледі.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Dog, Bark, Howl.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text is in Kazakh, while the ground truth text is in English. Let's translate the generated text to English to facilitate comparison.

"Бұл аудиода ит, оның үргені мен ұлуы естіледі." translates to "In this audio, a dog, its barking and howling are heard."

Comparing this translation to the ground truth "In this audio, you can hear the sounds of Dog, Bark, Howl.", we see a strong semantic equivalence. Both texts convey the same information: the audio contains sounds of a dog, specifically barking and howling. The ground truth uses "sounds of" and "you can hear", while the generated text (translated) is more direct, but the core meaning is identical. The generated text accurately reflects the content of the ground truth.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="13" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 13 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Бұл аудиода қандай дыбыстар бар?</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиода сіз сөйлеу мен адам даусының дыбыстарын ести аласыз.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Speech.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text is in Kazakh, while the ground truth text is in English. Let's translate the generated text to English to facilitate comparison.

"Бұл аудиода сіз сөйлеу мен адам даусының дыбыстарын ести аласыз." translates to "In this audio, you can hear the sounds of speech and human voice."

Comparing this translation to the ground truth "In this audio, you can hear the sounds of Speech," we see a high degree of semantic equivalence. The ground truth states "Speech" while the translation of the generated text specifies "speech and human voice."  The generated text is *more* specific, but doesn't contradict the ground truth. Hearing "speech" inherently implies a human voice. Therefore, the generated text accurately captures the information in the ground truth.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

        <div class="result-item correct" data-id="10" data-correct="true">
            <div class="meta-info">
                <strong>ID:</strong> 10 | <strong>Language:</strong> kk
            </div>
            
            <!-- Add original question section -->
            <div class="question-box">
                <div class="question-title">Original Question:</div>
                <div class="original-question">&lt;audio&gt;
Осы аудио клипті талдап, онда қандай дыбыстар естілетінін айтыңызшы.</div>
            </div>
            
            <div class="text-container">
                <div class="text-box">
                    <div class="text-title">Generated Text:</div>
                    <div class="generated-text">Бұл аудиода сіз пойыз вагонының, пойыз гудогінің, темір жол көлігінің, пойыздың, сақылдаған дыбыстарды ести аласыз.</div>
                </div>
                
                <div class="text-box">
                    <div class="text-title">Ground Truth:</div>
                    <div class="ground-truth-text">In this audio, you can hear the sounds of Railroad car, train wagon, Train horn, Rail transport, Train, Clickety-clack.</div>
                </div>
            </div>
            
            <div class="judgement-container">
                <div class="judgement-title">Gemma Judge Reasoning:</div>
                <div class="judge-response">The generated text and the ground truth text both describe the sounds present in an audio recording. However, they are in different languages - the generated text is in Kazakh, while the ground truth is in English.

Let's analyze the content:

*   **Train/Пойыз:** Both texts mention a train.
*   **Train Wagon/Пойыз вагоны:** Both texts mention a train wagon/car.
*   **Train Horn/Пойыз гудогі:** Both texts mention a train horn.
*   **Rail transport/Темір жол көлігі:** Both texts mention rail transport.
*   **Clickety-clack/сақылдаған дыбыстар:** Both texts mention the characteristic clicking/clacking sound of a train on the tracks.

The generated text accurately translates the meaning of the ground truth text into Kazakh. It identifies the same sounds and objects. Therefore, the generated text correctly captures the information in the ground truth, despite being in a different language.

<span class="final-answer final-answer-true"><b>FINAL ANSWER:</b> True</span></div>
            </div>
        </div>

    </div>
    
    <div class="pagination">
        <button id="prevPage" onclick="changePage(-1)" disabled>Previous</button>
        <span id="pageInfo">Page 1</span>
        <button id="nextPage" onclick="changePage(1)">Next</button>
    </div>

    <script>
        // Pagination
        let currentPage = 1;
        const itemsPerPage = 10;
        let filteredItems = [];
        let totalPages = 0;
        
        // Search and filter
        function applyFilters() {
            const searchTerm = document.getElementById('searchInput').value.toLowerCase();
            const filter = document.querySelector('.filter-btn.active').textContent.toLowerCase();
            
            const items = document.querySelectorAll('.result-item');
            filteredItems = [];
            
            items.forEach(item => {
                const question = item.querySelector('.original-question')?.textContent.toLowerCase() || '';
                const generated = item.querySelector('.generated-text').textContent.toLowerCase();
                const groundTruth = item.querySelector('.ground-truth-text').textContent.toLowerCase();
                const reasoning = item.querySelector('.judge-response').textContent.toLowerCase();
                const correct = item.dataset.correct;
                
                const matchesSearch = searchTerm === '' || 
                    question.includes(searchTerm) ||
                    generated.includes(searchTerm) || 
                    groundTruth.includes(searchTerm) || 
                    reasoning.includes(searchTerm);
                    
                const matchesFilter = filter === 'all' || 
                    (filter === 'correct' && correct === 'true') || 
                    (filter === 'incorrect' && correct === 'false');
                
                if (matchesSearch && matchesFilter) {
                    filteredItems.push(item);
                    item.style.display = 'none'; // Hide initially, will show based on pagination
                } else {
                    item.style.display = 'none';
                }
                
                // Remove previous highlights
                item.innerHTML = item.innerHTML.replace(/<mark class="highlight">(.*?)<\/mark>/g, '$1');
            });
            
            // Add highlights if search term exists
            if (searchTerm !== '') {
                filteredItems.forEach(item => {
                    highlightText(item, '.original-question', searchTerm);
                    highlightText(item, '.generated-text', searchTerm);
                    highlightText(item, '.ground-truth-text', searchTerm);
                    highlightText(item, '.judge-response', searchTerm);
                });
            }
            
            totalPages = Math.ceil(filteredItems.length / itemsPerPage);
            currentPage = 1;
            updatePagination();
            displayCurrentPage();
        }
        
        function highlightText(container, selector, term) {
            const element = container.querySelector(selector);
            if (!element) return;
            
            const content = element.innerHTML;
            const regex = new RegExp(term, 'gi');
            element.innerHTML = content.replace(regex, match => `<mark class="highlight">${match}</mark>`);
        }
        
        function filterResults(filter) {
            document.querySelectorAll('.filter-btn').forEach(btn => {
                btn.classList.remove('active');
            });
            event.target.classList.add('active');
            applyFilters();
        }
        
        function displayCurrentPage() {
            const startIdx = (currentPage - 1) * itemsPerPage;
            const endIdx = Math.min(startIdx + itemsPerPage, filteredItems.length);
            
            filteredItems.forEach((item, idx) => {
                if (idx >= startIdx && idx < endIdx) {
                    item.style.display = 'block';
                } else {
                    item.style.display = 'none';
                }
            });
            
            document.getElementById('pageInfo').textContent = `Page ${currentPage} of ${totalPages || 1}`;
        }
        
        function updatePagination() {
            document.getElementById('prevPage').disabled = currentPage <= 1;
            document.getElementById('nextPage').disabled = currentPage >= totalPages;
        }
        
        function changePage(delta) {
            currentPage += delta;
            updatePagination();
            displayCurrentPage();
        }
        
        // Initialize
        document.getElementById('searchInput').addEventListener('input', applyFilters);
        applyFilters();
    </script>
</body> 
</html>