HomeCase studiesReal-Time Voice AI Interview Preparation & Rubric...

Case study · Dublin, Ireland

Real-Time Voice AI Interview Preparation & Rubric Coaching Platform

Talent Assessment & EdTech

Text-only interview prep fails to replicate the pacing pressure, verbal clarity demands, and spontaneous follow-up probing of real technical and behavioral interviews. We built a spoken AI interview preparation platform with Python, React, WebRTC, and streaming Speech-to-Text services. The system captures live candidate audio, tracks turn cadence and transcript accuracy in real time, adapts follow-up questions dynamically, and compiles rubric-scored coaching reports asynchronously.

Industry
Talent Assessment & EdTech
Solution
A browser-based spoken mock-interview and coaching platform built with Python, React, and Speech-to-Text pipelines for adaptive voice drills and structured competency feedback.
Platforms
Web & API
Stack
Python · React · Speech-to-Text · WebRTC · FastAPI · PostgreSQL
Location
Dublin, Ireland · delivered remotely
Role
Engineering, with the team behind for mobile and QA

Delivered remotely for a business based in Dublin, Ireland. Names withheld by agreement.

Project Overview

Preparing for high-stakes job interviews by reading sample answers silently leaves a glaring gap: real interviews test spontaneous verbal framing, concise storytelling under time pressure, and the poise to defend trade-offs when an interviewer probes deeper. Yet coordinating live mock sessions with human mentors is expensive and hard to schedule consistently across cohorts.

Working with an EdTech engineering group in Dublin, Ireland, we built a voice-first AI interview preparation platform using Python, React, WebRTC audio pipelines, and streaming Speech-to-Text services. Candidates practice realistic behavioral, product, and technical system interviews inside a clean browser studio while an adaptive Python orchestrator asks relevant follow-up questions and delivers actionable, rubric-backed coaching breakdowns.

Audio Latency & Coaching Gaps

Translating conversational voice coaching to the browser presented technical obstacles far beyond standard text chatbots:

  • Turn-taking awkwardness: Naive voice activity detectors frequently cut candidates off mid-thought when they pause for two seconds to structure a technical explanation.
  • Turnaround lag after speaking: Waiting to upload, transcribe, and process an entire three-minute recording post-hoc introduces multi-second dead air that breaks immersion.
  • Technical vocabulary errors: Standard Speech-to-Text models frequently mangle framework names, acronyms, and domain terminology unless guided dynamically by role context.
  • Vague feedback: Generic encouragement ("good communication") fails to teach candidates where their STAR narrative wandered or which architectural constraint they skipped.

Architectural Strategy

We separated the platform into a low-latency real-time dialogue loop and an asynchronous analytical evaluation pipeline. In the browser, React manages microphone calibration, WebAudio level visualizations, and continuous chunked streaming over WebSocket/WebRTC transport directly to a Python FastAPI gateway.

FastAPI pipes raw audio frames immediately into streaming Speech-to-Text (ASR) sessions pre-seeded with role-specific vocabulary hints. Because partial transcripts accumulate continuously while the candidate speaks, the interviewer state machine only waits milliseconds upon turn completion to decide whether to probe an unaddressed gap or advance to the next competency stage. Heavy rubric scoring—analyzing pacing, filler density, STAR structure, and technical completeness—executes out-of-band via queued Python workers and persists cleanly to PostgreSQL.

Core Capabilities

  • Pre-Flight Audio & Mic Diagnostics: React verifies microphone gain, background noise floor, and network round-trip latency before launching timed drills.
  • Adaptive Follow-Up Probing: Python inspects live answer transcripts against role rubrics, asking targeted follow-ups when a candidate skips trade-offs, ownership scope, or measurable results.
  • Word-Timed Transcripts & Pacing Telemetry: Word-level ASR timestamps highlight speaking rate, long hesitation clusters, and verbal filler patterns synced directly to audio playback.
  • Structured Competency Scorecards: Asynchronous evaluation jobs grade responses against explicit behavioral and technical criteria with timestamped transcript citations.
  • Cohort & Coach Review Console: Career advisors review shared session recordings, append human timestamps, and assign custom question banks per target discipline.

Technical Architecture

Real-time audio flows continuously from the React interview studio through FastAPI into Speech-to-Text streams, while Redis coordinates live turn state and PostgreSQL anchors durable transcripts and rubric assessments.

Flow: React WebAudio / WebRTC Client → FastAPI Streaming Audio Gateway → Streaming Speech-to-Text (Custom Role Vocabulary) → Python Adaptive Interviewer State Machine (Redis Turn State) → Voice / Text Prompt Stream → Async Rubric Evaluator → PostgreSQL Coaching Ledger

Crucially, candidates retain explicit floor control. Alongside smart silence detection, a clean keyboard push-to-finish toggle lets speakers take thoughtful pauses while signaling instantly when their answer is complete, eliminating premature interruptions.

Technology Stack

Category Technology detail
Frontend Studio React with TypeScript, WebAudio metering, and real-time transcript view
Audio Transport WebRTC / WebSocket bidirectional PCM streaming with adaptive chunk buffering
Transcription Layer Streaming Speech-to-Text (ASR) with word-level timestamps and pause telemetry
Interview Orchestrator Python FastAPI state machine managing persona prompts and follow-up branching
Session & Turn State Redis storing live partial transcripts, turn timers, and audio buffer locks
Assessment Ledger PostgreSQL persisting interview recordings metadata, transcripts, and rubric scores
Async Evaluation Workers Python background tasks scoring STAR structure, clarity, and domain depth
Media Storage Encrypted S3-compatible storage with user-controlled retention lifecycle

Engineering Trade-offs & Solutions

Engineering Challenge Solution & Trade-off
Avoiding premature bot interruptions during thoughtful candidate pauses Paired streaming ASR silence telemetry with semantic completeness heuristics and an optional spacebar finish trigger; slightly more UI state in React in exchange for natural speaking cadence.
Running deep rubric evaluation without stalling live conversation flow Offloaded multi-criterion scoring to asynchronous Python workers after turn boundaries, trading instant per-sentence scores for snappy spoken turns and thorough post-session diagnostics.
Handling dropped packets or Wi-Fi hiccups mid-answer Buffered recent PCM audio segments locally in React with idempotent chunk sequence numbers in Redis, adding minor client memory usage while preventing lost answers on brief reconnects.
Reducing ASR errors on specialized engineering and finance acronyms Injected dynamic role-scoped phrase hints when opening each Speech-to-Text session, adding brief session-setup logic while sharply improving transcript fidelity.

Security & Media Governance

Spoken interview sessions capture candid personal narratives and identifiable voice biometrics. All audio streams travel over encrypted TLS/DTLS channels, and media objects land in private storage buckets under strict per-user prefix isolation accessed exclusively via short-lived signed URLs.

Candidates control whether practice sessions remain strictly private or become visible to assigned career coaches. Automated lifecycle policies honor deletion requests across both audio object storage and relational transcript records, while prompt templates strip control characters from transcribed speech before running downstream coaching evaluations.

Performance & Scale

Streaming audio processing avoids burst CPU spikes at the end of answers by spreading transcription work evenly across the duration of each spoken turn. FastAPI's async worker model sustains high counts of concurrent open WebSocket streams efficiently, while Redis tracks active session state in memory so stateless Python containers scale horizontally behind standard load balancers.

On the client side, React offloads waveform visualization onto WebAudio AnalyserNode loops outside the main component render tree, keeping CPU and battery drain modest on student laptops during 45-minute full-length mock panels.

Operational Outcomes

Combining real-time Speech-to-Text streaming with decoupled rubric analysis transformed spoken practice from passive recording into interactive skill building:

  • Realistic conversational cadence: Streaming ASR and smart turn-taking eliminate awkward multi-second delays between a candidate finishing a thought and the interviewer responding.
  • Concrete, repeatable coaching signals: Word-aligned transcripts and structured STAR rubrics show candidates precisely where explanations drifted rather than offering vague summaries.
  • Resilient browser experience: Local ring buffering and turn checkpointing protect multi-minute answers from transient campus or home Wi-Fi drops.
  • Scalable coach oversight: Career advisors focus human review time on high-value nuance and delivery strategy while automated drills handle foundational repetition.

01 — Questions

asked about this kind of project

How do you keep conversational latency low during spoken mock interviews?

Audio streams continuously from React into the streaming Speech-to-Text engine while the candidate speaks, rather than uploading a full file after they stop. Once end-of-utterance detection triggers, Python already holds the finalized transcript and immediately streams the interviewer's next prompt.

How does the system distinguish natural thinking pauses from the end of a candidate's answer?

We combine Speech-to-Text silence timestamps with configurable push-to-finish controls and semantic completeness checks in Python. Candidates can pause briefly to gather thoughts without getting interrupted mid-sentence, or tap a spacebar shortcut to hand the floor back instantly.

Why decouple post-interview rubric scoring from the live interview loop?

Evaluating STAR completeness, technical accuracy, and pacing requires deeper multi-pass analysis across the full transcript. Running deep rubric evaluation asynchronously after each answer—or at session close—keeps live spoken turns snappy without blocking dialogue.

How are domain-specific jargon and acronyms handled in Speech-to-Text transcription?

Before starting a session for roles like cloud infrastructure or product finance, FastAPI passes role-specific custom vocabulary hints and phrase boosting lists into the Speech-to-Text stream, sharply reducing misheard technical terms.

What happens if a candidate's microphone drops or browser network fluctuates mid-session?

React monitors WebAudio input levels proactively before session start and buffers recent audio frames locally during brief WebSocket reconnects. FastAPI checkpoints every completed turn in PostgreSQL so candidates resume seamlessly from their last answered question.

How are candidate voice recordings and transcripts secured?

Media objects use per-session signed upload keys and server-side encryption at rest, while access policies isolate coaching reviews strictly to the candidate and explicitly authorized career advisors.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.