+
+
+
+ {{-- Tampilkan kutipan atau paragraf jika ada --}}
+ @if ($kutipan)
+
Bacalah kutipan berikut:
+
"{{ $kutipan }}"
+ @endif
+
+ {{-- Pertanyaan --}}
+
{{ $pertanyaanBersih }}
+
+ {{-- Tampilan pilihan jika soal urutan --}}
+ @if ($isOrdering && count($choices) > 0)
+
+ @foreach ($choices as $i => $kalimat)
+
{{ $i + 1 }}. {{ $kalimat }}
+ @endforeach
+
+ @elseif (count($choices) > 0)
+
+ @foreach ($choices as $i => $opsi)
+
{{ chr(65 + $i) }}. {{ $opsi }}
+ @endforeach
+
+ @endif
+
+ {{-- Jawaban siswa --}}
+
+ Jawaban Siswa:
+ {{ $question->type === 'multiple_choice'
+ ? optional($answer)->option->option_text ?? 'Tidak Dijawab'
+ : optional($answer)->answer_text ?? 'Tidak Dijawab' }}
+
+
+ {{-- Skor dan feedback (untuk essay) --}}
+ @if ($question->type === 'essay' && $similarityScore !== null)
+
Skor Kemiripan: {{ number_format($similarityScore, 2) }}%
+
Feedback: {{ $answer->feedback ?? 'Tidak ada feedback' }}
+ @endif
+
+
+
+