$sid, 'displayName' => 'Lena', 'avatarSlug' => 'fuchs-explorer', 'nachteilsausgleich' => false, 'moduleSlug' => $b['moduleSlug'] ?? '?', 'eventType' => $b['type'] ?? '?', 'phase' => $b['phase'] ?? null, 'phaseLabel' => $b['phaseLabel'] ?? null, 'currentScore' => $b['currentScore'] ?? null, 'scoreMax' => $b['scoreMax'] ?? null, 'idleS' => $b['idleS'] ?? null, 'lastTs' => $e['ts'], 'isStuck' => ($b['type'] ?? '') === 'stuck', ]; } $status = array_values($perStudent); } v2_response_ok([ 'studentStatus' => $status, 'newEvents' => [], 'maxId' => 0, '_mock' => 'Live-Status aus mock/uploads/log.jsonl rekonstruiert.', ]);