<?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: Vic N.</title>
    <description>The latest articles on DEV Community by Vic N. (@vic_n_db5451625108cee9eb).</description>
    <link>https://dev.to/vic_n_db5451625108cee9eb</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%2F3737509%2F135c6cc9-c26e-4ae6-9918-3ff1b023cabb.png</url>
      <title>DEV Community: Vic N.</title>
      <link>https://dev.to/vic_n_db5451625108cee9eb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vic_n_db5451625108cee9eb"/>
    <language>en</language>
    <item>
      <title>How I Built a Tool to Detect AI Cheating in Code Assignments</title>
      <dc:creator>Vic N.</dc:creator>
      <pubDate>Sat, 31 Jan 2026 08:22:21 +0000</pubDate>
      <link>https://dev.to/vic_n_db5451625108cee9eb/how-i-built-a-tool-to-detect-ai-cheating-in-code-assignments-41ih</link>
      <guid>https://dev.to/vic_n_db5451625108cee9eb/how-i-built-a-tool-to-detect-ai-cheating-in-code-assignments-41ih</guid>
      <description>&lt;h1&gt;
  
  
  How I Built a Tool to Detect AI Cheating in Code Assignments
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12t02pxi2zupbis816re.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12t02pxi2zupbis816re.png" alt=" " width="800" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;As a CS student, I've watched AI tools like ChatGPT completely change how people approach programming assignments. Traditional plagiarism detectors only analyze the final code - they're useless when students copy-paste from ChatGPT and make minor tweaks.&lt;/p&gt;

&lt;p&gt;Professors are frustrated. Students who genuinely learn struggle to compete with those who don't. The integrity of CS education is at stake.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Insight
&lt;/h2&gt;

&lt;p&gt;Here's what hit me: &lt;strong&gt;authentic code looks different when you watch it being written.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you legitimately solve a problem:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You make mistakes and fix them&lt;/li&gt;
&lt;li&gt;You type at human speeds with natural variation&lt;/li&gt;
&lt;li&gt;Code appears gradually, not in perfect blocks&lt;/li&gt;
&lt;li&gt;You have multiple work sessions, not one continuous dump&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When you copy from AI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code appears suddenly in large chunks&lt;/li&gt;
&lt;li&gt;Few or no error corrections&lt;/li&gt;
&lt;li&gt;Suspiciously perfect on first try&lt;/li&gt;
&lt;li&gt;Robotic patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Solution: EditorWatch
&lt;/h2&gt;

&lt;p&gt;I built a VS Code extension that monitors &lt;em&gt;how&lt;/em&gt; students write code, not just what they write.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it tracks:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Typing patterns&lt;/strong&gt; - Natural variance vs robotic consistency&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incremental development&lt;/strong&gt; - Gradual building vs sudden appearance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Error correction&lt;/strong&gt; - Trial-and-error vs perfect-first-time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work sessions&lt;/strong&gt; - Multiple sessions vs one continuous block&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paste events&lt;/strong&gt; - Large code insertions&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What it generates:
&lt;/h3&gt;

&lt;p&gt;An authenticity score (0-10) with visualizations showing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code growth timeline&lt;/li&gt;
&lt;li&gt;Typing speed over time&lt;/li&gt;
&lt;li&gt;Paste burst detection&lt;/li&gt;
&lt;li&gt;Session patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/your-screenshot-url-here" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/your-screenshot-url-here" alt="EditorWatch Dashboard" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy-First Design
&lt;/h2&gt;

&lt;p&gt;I knew this could feel invasive, so I built in strong privacy protections:&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;No keystroke logging&lt;/strong&gt; - Only metadata (timestamps, character counts)&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;No screenshots or video&lt;/strong&gt; - Just events and metrics&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;Explicit opt-in&lt;/strong&gt; - Students must activate monitoring&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;Limited scope&lt;/strong&gt; - Only tracks specified file types (&lt;em&gt;.py, *.js, etc.)&lt;br&gt;&lt;br&gt;
✅ **Temporary storage&lt;/em&gt;* - Data deleted after grading period&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;100% open source&lt;/strong&gt; - Full transparency on what's collected  &lt;/p&gt;

&lt;p&gt;Students can see exactly what's being tracked and can disable monitoring anytime.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Flask (Python web server)&lt;/li&gt;
&lt;li&gt;PostgreSQL (submissions and events)&lt;/li&gt;
&lt;li&gt;Redis + RQ (background analysis queue)&lt;/li&gt;
&lt;li&gt;Plotly (visualizations)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Extension:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;VS Code API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Deployment:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Railway (one-click deploy)&lt;/li&gt;
&lt;li&gt;Or self-hosted (Docker support coming)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌─────────────────┐
│  VS Code Ext    │ → Tracks edits
│  (student side) │ → Submits events
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Flask Server   │ → Receives submissions
│                 │ → Queues analysis
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  RQ Worker      │ → Analyzes patterns
│  (background)   │ → Generates charts
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Dashboard      │ → Teacher reviews
│  (web UI)       │ → Export data
└─────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How It Works (For Educators)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Create assignment&lt;/strong&gt; in the dashboard&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generate student access codes&lt;/strong&gt; (email or CSV)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Students install extension&lt;/strong&gt; and enter their code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Students code normally&lt;/strong&gt; - monitoring happens in background&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Students submit&lt;/strong&gt; when done (or auto-submit at deadline)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review results&lt;/strong&gt; - see scores, flags, visualizations&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Scoring Example
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;High authenticity (8/10):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code appears gradually over 3 sessions&lt;/li&gt;
&lt;li&gt;Natural typing variance&lt;/li&gt;
&lt;li&gt;Multiple error corrections&lt;/li&gt;
&lt;li&gt;Realistic work patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Low authenticity (2/10):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;80% of code appeared in 2 large pastes&lt;/li&gt;
&lt;li&gt;Perfect code on first try&lt;/li&gt;
&lt;li&gt;Robotic typing speed&lt;/li&gt;
&lt;li&gt;Single 20-minute session&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Limitations (Let's Be Honest)
&lt;/h2&gt;

&lt;p&gt;This isn't a silver bullet:&lt;/p&gt;

&lt;p&gt;❌ &lt;strong&gt;Requires VS Code&lt;/strong&gt; - Students on other IDEs can't participate&lt;br&gt;&lt;br&gt;
❌ &lt;strong&gt;Only works for take-home assignments&lt;/strong&gt; - Not useful for in-class exams  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; Use it as ONE tool alongside code reviews, oral exams, and incremental submissions. It raises the bar significantly without being invasive.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current Status
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;✅ Working MVP deployed on Railway&lt;/li&gt;
&lt;li&gt;✅ Tested with sample assignments&lt;/li&gt;
&lt;li&gt;⏳ Looking for pilot users (educators)&lt;/li&gt;
&lt;li&gt;⏳ Building VS Code Marketplace listing&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get Involved
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For Educators:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Free for educational use&lt;/li&gt;
&lt;li&gt;Quick setup (Railway or self-hosted)&lt;/li&gt;
&lt;li&gt;I'm offering free onboarding for early adopters&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For Developers:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open source contributions welcome&lt;/li&gt;
&lt;li&gt;Looking for feedback on detection algorithms&lt;/li&gt;
&lt;li&gt;Help wanted: improving false positive rate&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Links:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/Vic-Nas/EditorWatch" rel="noopener noreferrer"&gt;https://github.com/Vic-Nas/EditorWatch&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live Server: [&lt;a href="https://editorwatch.up.railway.app/" rel="noopener noreferrer"&gt;https://editorwatch.up.railway.app/&lt;/a&gt;]&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Academic integrity in CS education is broken. AI tools are powerful, but students need to actually learn fundamentals.&lt;/p&gt;

&lt;p&gt;EditorWatch isn't about catching every cheater - it's about making authentic work visible and valued. When students know their process is being monitored (with their consent), behavior changes.&lt;/p&gt;

&lt;p&gt;I'd love feedback from educators and developers. What am I missing? What would make this more useful?&lt;/p&gt;




&lt;p&gt;💬 &lt;strong&gt;Discussion questions:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is process monitoring ethical in education?&lt;/li&gt;
&lt;li&gt;What other signals indicate authentic vs AI-generated code?&lt;/li&gt;
&lt;li&gt;How would you improve the scoring algorithm?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop your thoughts in the comments!&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>llm</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Flashy ⚡ - Simple path-based reverse proxy to route multiple services through one domain</title>
      <dc:creator>Vic N.</dc:creator>
      <pubDate>Wed, 28 Jan 2026 12:25:55 +0000</pubDate>
      <link>https://dev.to/vic_n_db5451625108cee9eb/flashy-simple-path-based-reverse-proxy-to-route-multiple-services-through-one-domain-3cjj</link>
      <guid>https://dev.to/vic_n_db5451625108cee9eb/flashy-simple-path-based-reverse-proxy-to-route-multiple-services-through-one-domain-3cjj</guid>
      <description>&lt;p&gt;I built a lightweight reverse proxy that lets you host multiple services under one domain using URL paths.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;yourdomain.com/app1/&lt;/code&gt; → &lt;code&gt;service1.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;yourdomain.com/app2/&lt;/code&gt; → &lt;code&gt;service2.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Automatically rewrites URLs so JavaScript apps work&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why I made it:&lt;/strong&gt;&lt;br&gt;
I wanted to access multiple services through one domain without dealing with subdomains or complex nginx configs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Features:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One-click Railway deployment&lt;/li&gt;
&lt;li&gt;Simple environment variables for configuration&lt;/li&gt;
&lt;li&gt;Works with static sites, APIs, and web apps&lt;/li&gt;
&lt;li&gt;Live demo: &lt;a href="https://vicnas.me" rel="noopener noreferrer"&gt;https://vicnas.me&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Vic-Nas/Flashy" rel="noopener noreferrer"&gt;https://github.com/Vic-Nas/Flashy&lt;/a&gt;&lt;br&gt;
(Likes are welcome)&lt;/p&gt;

&lt;p&gt;Built with Django!&lt;/p&gt;

</description>
      <category>django</category>
      <category>networking</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
