🎯 Your Performance

Test completed on {{ $attempt->created_at ? date('d M Y, h:i A', strtotime($attempt->created_at)) : date('d M Y, h:i A') }}

{{ $performanceLevel ?? 'Needs Improvement' }} GATE Format {{ $timeTaken ?? 0 }} sec
{{ round($netMarks ?? 0) }}
Net Score out of {{ $totalMarks ?? 0 }}
Gross: {{ $grossMarks ?? 0 }} | Neg: -{{ number_format($negativeMarks ?? 0, 1) }}
Exam Type
GATE
Total Marks
{{ $totalMarks ?? 0 }}
Duration
{{ $test->duration ?? 180 }} Min
Difficulty
{{ $test->difficulty ?? 'Medium' }}

📊 Test Statistics

Total Questions
{{ $totalQuestions ?? 0 }}
Attempted
{{ $attempted ?? 0 }}
{{ $totalQuestions > 0 ? round(($attempted/$totalQuestions)*100) : 0 }}% of total
Correct
{{ $correct ?? 0 }}
+{{ ($correct ?? 0) * ($marksPerQuestion ?? 2) }} marks
Wrong
{{ $wrong ?? 0 }}
-{{ number_format(($wrong ?? 0) * ($negativePerWrong ?? 0.66), 1) }} marks
Unattempted
{{ $unattempted ?? 0 }}
0 marks
Gross Marks
{{ $grossMarks ?? 0 }}
before negative marking
Negative Marks
-{{ number_format($negativeMarks ?? 0, 1) }}
deducted for wrong answers
Net Marks
{{ $netMarks ?? 0 }}
final score
Accuracy
{{ $attempted > 0 ? round(($correct/$attempted)*100,2) : 0 }}%
{{ $correct }}/{{ $attempted }} correct

📋 Question Type Breakdown

MCQ
{{ $mcqCount ?? 0 }}
✅ {{ $mcqCorrect ?? 0 }} ❌ {{ $mcqWrong ?? 0 }} ⏭️ {{ $mcqUnattempted ?? 0 }}
MSQ
{{ $msqCount ?? 0 }}
✅ {{ $msqCorrect ?? 0 }} ❌ {{ $msqWrong ?? 0 }} ⏭️ {{ $msqUnattempted ?? 0 }}
NAT
{{ $natCount ?? 0 }}
✅ {{ $natCorrect ?? 0 }} ❌ {{ $natWrong ?? 0 }} ⏭️ {{ $natUnattempted ?? 0 }}

⏱️ Time Analysis

Total Time
{{ floor(($timeTaken ?? 0)/60) }}m {{ ($timeTaken ?? 0)%60 }}s
Avg Per Question
{{ $timePerQuestion ?? 0 }}s
Target: {{ $avgTimePerQuestion ?? 90 }}s
Speed Distribution
⚡ < 30s {{ $fastAnswered ?? 0 }}
🟡 30-60s {{ $mediumAnswered ?? 0 }}
🐢 > 60s {{ $slowAnswered ?? 0 }}
@if(isset($weakTopic) && $weakTopic)

🎯 Weak Area Identified

Your performance in {{ $weakTopic }} needs attention. Take a targeted quiz →
Focus more on {{ $weakTopic }} Recommended: 2 hours revision
@endif @if(isset($topicWise) && count($topicWise) > 0)

📚 Topic-Wise Performance

@foreach($topicWise as $topic => $data) @endforeach
Topic Total Correct Wrong Accuracy Score
{{ $topic }} {{ $data['total'] }} {{ $data['correct'] }} {{ $data['wrong'] }} {{ $data['accuracy'] }}%
{{ number_format($data['score'] ?? 0, 2) }}
@endif

🎲 Guessing Analysis

Questions guessed (<15s) {{ ($guessedCorrect ?? 0) + ($guessedWrong ?? 0) }}
Guessed Correct {{ $guessedCorrect ?? 0 }}
Guessed Wrong {{ $guessedWrong ?? 0 }}
Guess Accuracy {{ ($guessedCorrect ?? 0) + ($guessedWrong ?? 0) > 0 ? round(($guessedCorrect/($guessedCorrect + $guessedWrong))*100, 1) : 0 }}%
Guessing Strategy: @if(($guessedCorrect ?? 0) > ($guessedWrong ?? 0)) ✅ Good intuition! You're guessing well. @elseif(($guessedWrong ?? 0) > ($guessedCorrect ?? 0) * 2) ⚠️ Avoid blind guessing. Eliminate options first. @else 📊 Neutral impact. Try to reduce guessing. @endif
@if(isset($strengths) || isset($weaknesses))

💪 Strengths & Areas for Improvement

Strengths (Accuracy > 70%)
@if(count($strengths ?? []) > 0) @foreach($strengths as $strength) {{ $strength }} @endforeach @else

No strengths identified yet. Keep practicing!

@endif
Areas to Improve (Accuracy < 40%)
@if(count($weaknesses ?? []) > 0) @foreach($weaknesses as $weakness) {{ $weakness }} @endforeach @else

No major weaknesses found. You're consistent!

@endif
@endif

🎯 Accuracy & Completion

Accuracy Rate {{ $attempted > 0 ? round(($correct/$attempted)*100,2) : 0 }}%
Completion Rate {{ $totalQuestions > 0 ? round(($attempted/$totalQuestions)*100, 1) : 0 }}%
Guessing Impact @if($wrong > $correct * 2) High negative impact @elseif($wrong > $correct) Moderate impact @else Good decision making @endif
Wrong/Correct Ratio {{ $wrong > 0 ? round($wrong/$correct, 1) : 0 }} : 1

📊 Marks Breakdown

Gross Marks (Before Neg.) {{ $grossMarks ?? 0 }}
Less: Negative Marks -{{ number_format($negativeMarks ?? 0, 1) }}
Net Marks (Your Score) {{ $netMarks ?? 0 }}
Total Marks {{ $totalMarks ?? 0 }}
Percentage {{ $totalMarks > 0 ? round(($netMarks/$totalMarks) * 100, 2) : 0 }}%

📈 Comparison

Your Score (Net) {{ $netMarks ?? 0 }}
Average Score {{ round($averageScore ?? 0, 2) }}
Median Score {{ round($medianScore ?? 0, 2) }}
Topper Score {{ $topperScore ?? 0 }}
Gap to Average {{ $averageScore ? round($averageScore - $netMarks, 2) : 0 }} points
Gap to Topper {{ $topperScore ? round($topperScore - $netMarks, 2) : 0 }} points @if(($topperScore ?? 0) - ($netMarks ?? 0) > 50) Large Gap @endif
Your Rank #{{ $rank ?? 0 }}
Percentile {{ $percentile ?? 0 }}%
Better than {{ round($percentile ?? 0, 1) }}% of test takers

🏆 Leaderboard (All {{ $leaderboard->count() }} participants)

@forelse($leaderboard as $index => $participant) @php $participantRank = $index + 1; $participantAttempted = $participant->correct_answers + $participant->wrong_answers; $participantAccuracy = $participantAttempted > 0 ? round(($participant->correct_answers / $participantAttempted) * 100, 1) : 0; $isCurrentUser = ($participant->user_id == auth()->id()); @endphp @empty @endforelse
Rank Participant Score Accuracy Date
@if($participantRank == 1) @elseif($participantRank == 2) @elseif($participantRank == 3) @endif #{{ $participantRank }}
{{ strtoupper(substr($participant->name ?? 'U', 0, 1)) }}
{{ $participant->name ?? 'Unknown User' }} @if($isCurrentUser) You @endif
{{ $participant->score }}
{{ $participantAccuracy }}% {{ $participant->correct_answers }}/{{ $participantAttempted }}
{{ date('d M', strtotime($participant->created_at)) }}
No participants yet
Showing {{ $leaderboard->count() }} participants | Your rank: #{{ $rank ?? 0 }}

🧠 Smart Insights

@php $accuracyRate = $attempted > 0 ? ($correct/$attempted)*100 : 0; $completionRate = $totalQuestions > 0 ? ($attempted/$totalQuestions)*100 : 0; $netScore = $netMarks ?? 0; @endphp @if($accuracyRate >= 70 && $completionRate >= 80)
🌟 Excellent work! Strong accuracy and completion. You're ready for harder difficulty levels.
@elseif($accuracyRate < 30 && $attempted > 0)
⚠️ Critical: Low accuracy ({{ round($accuracyRate,1) }}%). Stop guessing blindly. Revise concepts before next attempt.
💡 Suggestion: Attempt targeted quizzes for your weak topics first.
@elseif($completionRate < 50)
⏱️ Poor time management: Attempted only {{ $attempted }}/{{ $totalQuestions }} questions.
💡 Next time: Skip tough questions, come back later. Target 70% completion.
@elseif($wrong > $correct)
📘 Focus more on revision and avoid guessing. Analyze your weak areas and attempt targeted quizzes.
@else
✅ Good foundation! To reach topper level, focus on speed and negative marking management.
@endif
Time Management
{{ $attempted }}/{{ $totalQuestions }}
{{ round(($attempted/$totalQuestions)*100, 1) }}% completion
Accuracy Status
{{ round($accuracyRate, 1) }}%
@if($accuracyRate >= 70) 🚀 Excellent @elseif($accuracyRate >= 40) ✅ Decent @else 📉 Needs improvement @endif
@php $nextAttemptTarget = min($totalQuestions, ceil($attempted * 1.5)); $nextScoreTarget = round(($correct + 3) * ($totalMarks / $totalQuestions), 2); @endphp
🎯 Next Test Target: Attempt {{ $nextAttemptTarget }}+ questions with 60%+ accuracy → Projected Score: {{ $nextScoreTarget }} | Expected Rank: Top {{ max(1, ceil(($totalParticipants ?? 0) * 0.3)) }}

Review your answers, especially the {{ $wrong ?? 0 }} wrong ones, and improve for next time

Pro Tip: Attempt easy questions first Maintain 1.5 min per question
{{ round($netMarks ?? 0) }}
/ {{ $totalMarks ?? 0 }}