extend('layout/management_layout') ?> section('content') ?> 0 ? round($totalConfirmed / $totalPredicted * 100) : ($totalActual === 0 ? 100 : 0); ?>

Final vs Predicted —

Compares the Fall-score prediction (th percentile) with the year-end result based on the average of Fall & Spring scores.

Back
%
No data found for the selected school year.
✓ Confirmed Predicted AND got a year-end trophy ↑ Surprise NOT predicted, but earned a trophy ↓ Missed Predicted, but fell short year-end — None No trophy either way
0 ? round($totalPredicted / $totalStudents * 100) . '% of students' : '—'], [$totalActual, 'Actual (Year)', 'warning', 'dark', $totalStudents > 0 ? round($totalActual / $totalStudents * 100) . '% of students' : '—'], [$totalConfirmed, 'Confirmed', 'success', null, $totalPredicted > 0 ? round($totalConfirmed / $totalPredicted * 100) . '% of predicted' : '—'], [$totalSurprise, 'Surprises', 'info', 'dark', 'Not in prediction'], [$totalMissed, 'Missed', 'orange', null, 'Were predicted'], [$overallAccuracy,'Accuracy', 'dark', null, 'prediction rate'], ] as [$val, $label, $color, $textClass, $sub]): $isOrange = $color === 'orange'; $bgClass = $isOrange ? '' : 'bg-' . $color; $txClass = $textClass ? 'text-' . $textClass : 'text-white'; ?>
>
predicted actual 0): ?> confirmed 0): ?> surprise 1 ? 's' : '' ?> 0): ?> missed
Fall ≥ Year ≥ Accuracy: %
'table-success', 'surprise' => 'table-primary', 'missed' => 'table-warning', default => '', }; ?>
# Name Gender Fall Spring Year Avg Predicted Actual Status
—' ?> —' ?> —' ?> Yes' : 'No' ?> Yes' : 'No' ?> print '✓ Confirmed', 'surprise' => print '↑ Surprise', 'missed' => print '↓ Missed', default => print '', }; ?>
Prediction Accuracy Summary —
Class Students Predicted Actual ✓ Confirmed ↑ Surprises ↓ Missed Accuracy Fall ≥ Year ≥
%
Total %
Trophy Counts per Class
Prediction Accuracy per Class
Overall Outcome Breakdown
section('scripts') ?> endSection() ?> endSection() ?>