<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Keshav Jangir</title>
    <description>The latest articles on DEV Community by Keshav Jangir (@keshav_jangir_0163cb47012).</description>
    <link>https://dev.to/keshav_jangir_0163cb47012</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3679898%2F7690871e-ac05-4c3f-a872-96d3190467cb.png</url>
      <title>DEV Community: Keshav Jangir</title>
      <link>https://dev.to/keshav_jangir_0163cb47012</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/keshav_jangir_0163cb47012"/>
    <language>en</language>
    <item>
      <title>Building a Remote Technical Interview Platform with AI Proctoring (Next.js + WASM)</title>
      <dc:creator>Keshav Jangir</dc:creator>
      <pubDate>Fri, 26 Dec 2025 15:02:50 +0000</pubDate>
      <link>https://dev.to/keshav_jangir_0163cb47012/building-a-remote-technical-interview-platform-with-ai-proctoring-nextjs-wasm-15dm</link>
      <guid>https://dev.to/keshav_jangir_0163cb47012/building-a-remote-technical-interview-platform-with-ai-proctoring-nextjs-wasm-15dm</guid>
      <description>&lt;p&gt;Remote technical interviews are deceptively hard.&lt;/p&gt;

&lt;p&gt;It’s not just about video calls and a code editor — it’s about fairness, integrity, real-time sync, and low-latency feedback, all inside the browser.&lt;/p&gt;

&lt;p&gt;Over the past few weeks, I’ve been building AssessIQ, a remote technical interview platform designed to solve these problems using modern web technologies.&lt;/p&gt;

&lt;p&gt;This post breaks down what I built, the hard problems I faced, and the architectural decisions behind them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Core Problem&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Traditional remote interviews suffer from:&lt;/li&gt;
&lt;li&gt;Tab switching and external help&lt;/li&gt;
&lt;li&gt;Lack of real-time visibility for interviewers&lt;/li&gt;
&lt;li&gt;High-latency server-side proctoring&lt;/li&gt;
&lt;li&gt;Poor synchronization between interviewer and candidate&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to answer one question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can we enforce interview integrity without harming performance or privacy?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;High-Level Architecture&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AssessIQ is built around real-time, client-first design:&lt;/p&gt;

&lt;p&gt;Tech Stack&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next.js + TypeScript – Application framework&lt;/li&gt;
&lt;li&gt;Convex – Real-time backend &amp;amp; synchronized state&lt;/li&gt;
&lt;li&gt;Clerk – Authentication &amp;amp; role-based access (Interviewer / Candidate)&lt;/li&gt;
&lt;li&gt;Stream API – Video calls &amp;amp; interview events&lt;/li&gt;
&lt;li&gt;Monaco Editor – In-browser code editor&lt;/li&gt;
&lt;li&gt;MediaPipe FaceMesh (WebAssembly) – Client-side AI proctoring&lt;/li&gt;
&lt;li&gt;Piston API (in progress) – Sandboxed code execution&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Real-Time Interview Flow&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Interviewer creates a session&lt;/li&gt;
&lt;li&gt;Candidate joins with a restricted environment&lt;/li&gt;
&lt;li&gt;Code, alerts, and interview state sync in real time&lt;/li&gt;
&lt;li&gt;Integrity checks run continuously in the browser&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Convex handles reactive state updates, ensuring both sides see changes instantly without manual polling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Client-Side AI Proctoring with WebAssembly&lt;/strong&gt;&lt;br&gt;
One of the most critical design decisions was where proctoring should run.&lt;/p&gt;

&lt;p&gt;Instead of sending video streams to a server, I used MediaPipe FaceMesh compiled to WebAssembly (WASM).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why WASM?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Near-native performance inside the browser&lt;/li&gt;
&lt;li&gt;No server inference latency&lt;/li&gt;
&lt;li&gt;Privacy-friendly (video never leaves the device)&lt;/li&gt;
&lt;li&gt;Scales without GPU servers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What it detects&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Face presence&lt;/li&gt;
&lt;li&gt;Gaze deviation&lt;/li&gt;
&lt;li&gt;Camera disengagement&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All detection logic runs locally, with only events (not video) propagated to the system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enforcing Interview Integrity&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To prevent common cheating vectors, I implemented:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fullscreen API enforcement&lt;/li&gt;
&lt;li&gt;Tab visibility &amp;amp; focus tracking&lt;/li&gt;
&lt;li&gt;Stream event hooks for automated warnings&lt;/li&gt;
&lt;li&gt;Progressive escalation (warnings → flags)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The challenge wasn’t detecting violations — it was avoiding false positives and ensuring the UX stayed fair.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s Next&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Finish Piston-based execution pipeline&lt;/li&gt;
&lt;li&gt;Add integrity scoring per session&lt;/li&gt;
&lt;li&gt;Improve false-positive mitigation&lt;/li&gt;
&lt;li&gt;Harden rate limiting &amp;amp; audit logs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;AssessIQ taught me that:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frontend engineering is no longer “just UI”&lt;/li&gt;
&lt;li&gt;Browsers are capable of serious system-level work&lt;/li&gt;
&lt;li&gt;WebAssembly unlocks entirely new classes of applications&lt;/li&gt;
&lt;li&gt;Real-time systems demand discipline, not shortcuts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you’re building interview platforms, proctoring tools, or real-time web apps — I’d love to exchange ideas.&lt;/p&gt;




</description>
      <category>architecture</category>
      <category>ai</category>
      <category>nextjs</category>
      <category>interview</category>
    </item>
  </channel>
</rss>
