import React, { useState } from 'react'; function scoreClass(score) { if (score >= 70) return 'good'; if (score >= 40) return 'ok'; return 'bad'; } function ScoreBar({ label, value, max = 10 }) { const pct = (value / max) * 100; const cls = value >= 7 ? 'good' : value >= 4 ? 'ok' : 'bad'; return (
{report.summary}
{report.recommendation}
How you come across in an interview setting, scored across five key dimensions.
Patterns observed across all your answers.
Your prioritized roadmap to interview readiness.
{item.action}
Q{i + 1}: {d.question}
Your answer: {d.answer.substring(0, 200)}{d.answer.length > 200 ? '...' : ''}
Score: = 7 ? 'good' : d.score >= 4 ? 'ok' : 'bad'}`}> {d.score}/10 {' '}{d.feedback}