Skip to content
vs-githjkPublic

About

An AI-powered interview preparation platform that assesses candidate skills, generates personalized learning roadmaps, conducts mock interviews, analyzes performance, and tracks progress to help users become interview-ready through adaptive, data-driven coaching.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

NextRound

NextRound is an AI interview-preparation platform that takes a candidate from "I don't know where I stand" to "I am measurably ready." It is not a chatbot that answers interview questions — it is a closed loop: assess → diagnose → plan → learn → practise → evaluate → adapt. Every mock interview and quiz feeds a computed Readiness Score (0–100, with a confidence band), and the score's trustworthiness is the product.

Who it's for: the launch wedge is software engineers with 0–3 years of experience in India, preparing for SDE interviews. The architecture is archetype-parameterised so other roles are content work later, not engineering work.

How it works

  • You upload a resume — it's parsed and critiqued in about a minute (the free-tier hook).
  • You take a ~30-minute adaptive assessment of calibrated questions (no LLM involved — pure item selection).
  • You get a Readiness Score, a per-dimension breakdown, and a prioritised gap list.
  • A deterministic scheduler builds a day-by-day plan toward your target interview date.
  • You work the plan: cached lessons, flashcards with spaced repetition, topic quizzes.
  • You take text mock interviews (HR / behavioural / technical); an evaluator scores each answer against a rubric with quoted evidence.
  • Everything you do emits evidence items; the score recomputes, the plan adapts by bounded deltas — and the number moves because you did.

Architecture at a glance

graph TB
    FE["React + TS + Vite<br/>Tailwind · shadcn/ui · TanStack Query"] --> API["FastAPI /api/v1"]
    API --> SVC["Services<br/>(all business logic)"]
    SVC --> REPO["Repositories<br/>(only layer touching the ORM)"]
    SVC --> ORCH["AI Orchestrator<br/>(~200 lines, ours)"]
    SVC --> Q["Redis queue"]
    Q --> W["ARQ workers"] --> SVC
    REPO --> PG[("Postgres 16 + pgvector")]
    ORCH --> LLM["Claude API"]
    ORCH --> AC[("ai_calls<br/>every LLM call logged")]
    API --> AUTH["Supabase Auth"]
Loading

A modular monolith: boundaries are directories with mechanically enforced import rules (import-linter in CI), not deployments. Three principles worth knowing on day one:

  1. The Readiness Score is computed, never generated. LLMs emit rubric evidence only; deterministic arithmetic in services/scoring/ turns evidence into the number. A paid metric cannot be non-deterministic.
  2. Lesson content is generated once, human-reviewed, and cached. Personalisation is selection and ordering — never regenerated prose. This is the biggest cost and quality decision in the system.
  3. Every LLM call is logged to ai_calls with model, prompt version, tokens, and cost — per-user cost is queryable before it becomes a crisis, and every score is auditable after a prompt change.

Tech stack

Layer Choice
API FastAPI, Python 3.12, SQLAlchemy 2.0 + Alembic, Pydantic v2
Jobs ARQ + Redis
Data PostgreSQL 16 + pgvector
AI Claude API via our own ~200-line orchestrator (no frameworks)
Auth Supabase (managed)
Frontend React 18 + TypeScript + Vite, Tailwind + shadcn/ui, TanStack Query, Zustand
Payments Razorpay (v1)

Repository layout

backend/          FastAPI app — api/ (routers) → services/ → repositories/ → models/
  ai/             orchestrator, agent configs, versioned prompts, output schemas
  core/           settings, DB sessions, logging (PII-allowlisted), domain errors
  migrations/     Alembic
frontend/         Vite + React app (src/pages, components, features, stores, services)
docs/             ARCHITECTURE.md (the system design), workorders/ (sequenced build prompts)
tests/            unit/, integration/, golden/ (hand-graded evaluation set, from week 5)
ops/              deployment configs and runbooks (empty until first deploy)
.claude/agents/   Claude Code subagent definitions used to build this repo

Quickstart

Prerequisites: Docker Desktop, Python 3.12+, Node 22+, make. Nothing may be listening on ports 8000, 5173, 5432, or 6379.

git clone <repo> && cd NextRound
cp .env.example .env          # placeholders work for local dev; Supabase keys needed for login
make dev                      # builds and starts db, redis, api, worker, frontend

# in a second terminal — local venv for migration/test/lint tooling:
python3.12 -m venv backend/.venv && source backend/.venv/bin/activate
pip install -e "backend[dev]"
make upgrade                  # apply migrations (schema + SDE archetype seed)

Verify:

Common commands

make dev            # docker compose up — full local stack
make stop           # tear the stack down
make upgrade        # apply Alembic migrations
make migrate m="…"  # autogenerate a new migration
make test           # pytest (root pytest.ini, tests/ against backend/)
make lint           # ruff + mypy strict + import-linter, then eslint + tsc
make eval-golden    # evaluation-prompt regression gate (golden set arrives week 5)
make types          # regenerate frontend API types from the running api's OpenAPI

Where to go next

  • CLAUDE.md — the invariants and conventions that override everything else
  • docs/ARCHITECTURE.md — full system design, data model, delivery plan
  • docs/workorders/ — the sequenced build history
  • docs/TEAM_SPLIT.md — who owns what (backend / AI / frontend)

About

An AI-powered interview preparation platform that assesses candidate skills, generates personalized learning roadmaps, conducts mock interviews, analyzes performance, and tracks progress to help users become interview-ready through adaptive, data-driven coaching.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages