<?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: VarshiniNamrathamopuri</title>
    <description>The latest articles on DEV Community by VarshiniNamrathamopuri (@varshininamrathamopuri_51).</description>
    <link>https://dev.to/varshininamrathamopuri_51</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4154741%2F002b3838-3561-4255-8d4a-22a2f4ada92a.png</url>
      <title>DEV Community: VarshiniNamrathamopuri</title>
      <link>https://dev.to/varshininamrathamopuri_51</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/varshininamrathamopuri_51"/>
    <language>en</language>
    <item>
      <title>LabCode Fixer &amp; Viva Coach</title>
      <dc:creator>VarshiniNamrathamopuri</dc:creator>
      <pubDate>Sat, 03 Oct 2026 09:29:59 +0000</pubDate>
      <link>https://dev.to/varshininamrathamopuri_51/labcode-fixer-viva-coach-4ac0</link>
      <guid>https://dev.to/varshininamrathamopuri_51/labcode-fixer-viva-coach-4ac0</guid>
      <description>&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;h3&gt;
  
  
  LabCode Fixer &amp;amp; Viva Coach
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Don't just fix the bug. Learn how to defend the code.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;LabCode Fixer &amp;amp; Viva Coach is an AI-powered debugging and viva preparation tool built for me and a fellow college student who work with programming assignments and laboratory exercises.&lt;/p&gt;

&lt;p&gt;While debugging a program, fixing the error is only one part of the problem. During a laboratory viva, a student may also be asked:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why did this error occur?&lt;/li&gt;
&lt;li&gt;Which line caused the error?&lt;/li&gt;
&lt;li&gt;What exactly went wrong?&lt;/li&gt;
&lt;li&gt;Why was this particular fix used?&lt;/li&gt;
&lt;li&gt;What programming concept is involved?&lt;/li&gt;
&lt;li&gt;What would happen if the input changed?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to build something that helps with more than just getting code to run.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debug → Understand → Correct → Defend&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The student provides:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Programming language&lt;/li&gt;
&lt;li&gt;Broken code&lt;/li&gt;
&lt;li&gt;Compiler or runtime error&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The application then provides:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Why It Broke&lt;/strong&gt; — an explanation of the actual error and the programming concept involved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Corrected Code&lt;/strong&gt; — a corrected version while preserving the original purpose and structure wherever possible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3 Viva Questions&lt;/strong&gt; — technical questions generated specifically from the student's code and error.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The current version supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Java&lt;/li&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;C&lt;/li&gt;
&lt;li&gt;C++&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is not just to help students fix errors, but to help them understand the fix and prepare to explain their code during a viva.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;The demo shows the complete workflow:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enter code → Enter error → Analyze → Understand the error → See corrected code → Practice viva questions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Demo video:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://screenapp.io/app/share/wNz51KRtxbt9nvpbb_WIlAUz" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;screenapp.io&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The demo is approximately 1 minute and 31 seconds long and focuses on the working application.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The complete source code is available on GitHub:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Namratha600" rel="noopener noreferrer"&gt;
        Namratha600
      &lt;/a&gt; / &lt;a href="https://github.com/Namratha600/labcode-viva-coach." rel="noopener noreferrer"&gt;
        labcode-viva-coach.
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      AI-powered debugging and viva preparation tool that explains programming errors, provides corrected code, and generates code-specific viva questions.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;LabCode Fixer &amp;amp; Viva Coach&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Don't just fix the bug. Learn how to defend the code.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;LabCode Fixer &amp;amp; Viva Coach is a student-focused AI debugging and viva preparation tool.&lt;/p&gt;
&lt;p&gt;It helps students understand programming errors instead of simply copying a solution. The application explains why the code failed, provides a corrected version, and generates three technical viva questions based on the student's actual code.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Problem&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Students often use AI tools to fix compiler or runtime errors, but they may still struggle to explain the solution during a laboratory viva.&lt;/p&gt;
&lt;p&gt;A professor may ask:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Why did this error occur?&lt;/li&gt;
&lt;li&gt;Which line caused the error?&lt;/li&gt;
&lt;li&gt;What value caused the problem?&lt;/li&gt;
&lt;li&gt;Why did you use this particular fix?&lt;/li&gt;
&lt;li&gt;What happens if the input changes?&lt;/li&gt;
&lt;li&gt;What programming concept is involved?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;LabCode Fixer &amp;amp; Viva Coach is designed to help students understand their errors and prepare for these questions.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How It Works&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The application…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Namratha600/labcode-viva-coach." rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The repository contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;backend/main.py&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;backend/requirements.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;frontend/app.py&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;README.md&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;LICENSE&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.gitignore&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Python virtual environment and downloaded AI model files are not included in the repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The project uses a simple architecture where each component has a clear responsibility.&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
Student
   |
   v
Streamlit Frontend
   |
   v
FastAPI Backend
   |
   v
Ollama
   |
   v
Gemma 2B
   |
   v
AI Analysis
   |
   v
Streamlit Frontend
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
