RolePrep.aiSystem Architecture & Data Flow
An interview-prep prototype that identifies where a resume does not overlap with the job description, then turns those gaps into a gamified preparation path: points, streaks, flash-card drills, scored mock interviews, reminders, and AI-client access.
Users upload a resume, paste a job description, and set the target interview timeline.
Snapshot, overlap, gaps, prep plan, and learning stack show what is proven and what needs work.
Saved briefs, active selection, daily prep cards, and quick resume access persist over time.
Role-aware flip cards turn skill gaps into repeatable active-recall sessions.
Adaptive interview sessions use the saved role context and return scored debriefs.
Points, checklist progress, resource completion, streaks, badges, and email preferences stay visible.
Access & Role Gate
Entry- Validates resume intake, signed-user ownership, anonymous limits, and supported role coverage.
- Routes recognized roles into the gap analysis pipeline while keeping unsupported cases explicit.
Gap Analysis Pipeline
Core- Detects role family and sub-role, then compares the resume against a curated skill taxonomy.
- Uses AI assessment results to identify missing, partial, and proven evidence per requirement.
- Applies deterministic scoring to build the five-pane brief, checklist, resource path, and learning plan.
Practice Engine
Generative- Turns gaps into reusable drill cards and prioritizes unresolved or missed items.
- Builds daily prep cards and sessions from the active brief.
- Runs adaptive mock interviews and stores scored debriefs for later review.
Override Loop
Trust- Lets users dispute verdicts, add evidence, or mark a requirement as not applicable.
- Re-runs the gap report with overrides so visible recommendations stay current.
Engagement System
Follow-up- Schedules countdown, dropoff, and weekly digest messages with timezone-aware logic.
- Deduplicates sends and writes outcomes back into the durable record.
MCP Surface
Extension- Exposes the same business logic to AI clients so first-party and external workflows stay aligned.
- Keeps saved gap context portable without creating a second source of truth.
Identity, sessions, verification, timezone, email preferences, and active brief selection.
Resume PDF, job description, scored gap report, status, overrides, and refine history.
Prep cards, drill cards, attempts, mock sessions, transcripts, and scored debriefs.
Checklists, resource completion, daily activity, streaks, and earned badges.
Sent-email history, deduplication keys, delivery outcomes, and engagement state.
Timeline-aware reminders keep users moving as interview dates approach.
Re-engagement checks detect stalled preparation and route users back to the active brief.
Progress summaries turn completed work, missed drills, and next actions into a readable update.
Activity milestones make preparation progress visible and durable.
+ paste JD
detect role
coverage
pane brief
gap
reuse cards
self-grade
missed work
session
questions
history
debrief
or dispute
overrides
and checklist
reminders