// AI Screening — SOFIA Call integration. LIGHT. const { useState: usS } = React; function ScreeningScreen({ onLaunchCall }) { const [tab, setTab] = usS('all'); const [selectedId, setSelectedId] = usS('call-001'); const filtered = DATA.SCREENING_CALLS.filter((c) => { if (tab === 'completed') return c.status === 'Completed'; if (tab === 'scheduled') return c.status === 'Scheduled'; return true; }); const selected = DATA.SCREENING_CALLS.find((c) => c.id === selectedId) || filtered[0]; const candidate = selected ? DATA.CANDIDATES.find((x) => x.id === selected.candidateId) : null; return (
AI Screening · powered by SOFIA Call

Screenings con voz AI

SOFIA Call entrevista, transcribe y recomienda. 142 screenings esta semana con 94% de precisión vs. operador humano.

{/* KPIs */}
} trend={{ dir: 'up', value: '+4' }} accent="radial-gradient(circle, #10b981, transparent 70%)" /> } accent="radial-gradient(circle, #4f46e5, transparent 70%)" /> } trend={{ dir: 'down', value: '−1:08' }} accent="radial-gradient(circle, #a855f7, transparent 70%)" /> } trend={{ dir: 'up', value: '+6%' }} accent="radial-gradient(circle, #d97706, transparent 70%)" />
{/* List */}
c.status==='Completed').length }, { id: 'scheduled', label: 'Agendadas', count: DATA.SCREENING_CALLS.filter(c=>c.status==='Scheduled').length }, ]} /> } title="Refrescar" />
{filtered.map((c) => { const cand = DATA.CANDIDATES.find((x) => x.id === c.candidateId); const active = selectedId === c.id; return ( ); })}
{/* Detail */}
{selected && ( <> {selected.status === 'Completed' ? ( ) : ( candidate && onLaunchCall(candidate)} /> )} {/* Live launcher */}
Lanzar screening ahora con SOFIA Call
Selecciona un candidato del pool y SOFIA marcará en menos de 8 segundos.
{/* Script panel */}
Configurar screening
Script de 5 preguntas · ES/EN
{DATA.SCREENING_QUESTIONS.map((q, i) => (
{i + 1} {q} } />
))}
)}
); } function CallDetail({ call, candidate }) { const sentimentTone = call.sentiment === 'Positive' || call.sentiment === 'Enthusiastic' ? 'emerald' : call.sentiment === 'Neutral' ? 'amber' : 'rose'; return (
{call.candidateName} }>Completada
{call.role} · {call.client}
{call.duration} {call.completed}
conf. {call.recoConfidence}%
Transcripción & sentimiento
: call.sentiment === 'Neutral' ? : }> {call.sentiment} · {call.sentimentScore}
{Array.from({ length: 80 }).map((_, i) => { const h = 30 + Math.abs(Math.sin(i * 0.45) * 70) + (i % 7) * 4; return (
); })}
00:00{call.duration}
} variant="primary" /> } variant="default" />
Respuestas extraídas
{call.answers.map((a, i) => (
{a.q}
{a.a}
))}
SOFIA · Notas y razonamiento

{call.aiNotes}

); } function ScheduledCall({ call, candidate, onLaunch }) { return (
{call.candidateName} }>Agendada
{call.role} · {call.client}
Programada
{call.scheduled}
Duración estimada
~8 min
Script
5 preguntas · ES
SOFIA Call está lista
Llamará automáticamente al horario agendado · o lánzala ahora.
); } window.ScreeningScreen = ScreeningScreen;