import React, { useState } from 'react'; function scoreClass(score) { if (score >= 7) return 'good'; if (score >= 4) return 'ok'; return 'bad'; } function StarBadge({ present }) { return ( {present ? 'Present' : 'Missing'} ); } function ScoreBar({ label, value, max = 10 }) { const pct = (value / max) * 100; const cls = value >= 7 ? 'good' : value >= 4 ? 'ok' : 'bad'; return (
{evaluation.feedback}
{evaluation.sampleAnswer}
The STAR method (Situation-Task-Action-Result) is the gold standard for structuring interview answers.
{['situation', 'task', 'action', 'result'].map(key => { const item = evaluation.starAnalysis[key]; if (!item) return null; return ({item.feedback}
Eliminate these to sound more confident and polished.
Replace these with specific numbers, names, or concrete outcomes.
Clean language! No filler words or vague statements detected.
An interviewer would probably ask these next. Prepare answers for each.
This is what a top-performing candidate would say. Compare with your answer to identify gaps.
{evaluation.idealAnswer}
Here is your core answer rewritten to be significantly stronger while preserving your key points.
{evaluation.rewrittenAnswer}