{"slug": "labcode-fixer-viva-coach", "title": "LabCode Fixer & Viva Coach", "summary": "A college student developer built LabCode Fixer & Viva Coach, an AI-powered tool that debugs programming assignments and generates viva questions so students can explain their fixes rather than just copy solutions. The application runs a Streamlit frontend against a FastAPI backend that calls the Gemma 2B model through Ollama, returning an error explanation, corrected code, and three technical viva questions based on the student's actual code. The source code is published on GitHub, with the virtual environment and downloaded model files excluded from the repository.", "body_md": "**Don't just fix the bug. Learn how to defend the code.**\n\nLabCode Fixer & 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.\n\nWhile debugging a program, fixing the error is only one part of the problem. During a laboratory viva, a student may also be asked:\n\nI wanted to build something that helps with more than just getting code to run.\n\nThe idea is simple:\n\n**Debug → Understand → Correct → Defend**\n\nThe student provides:\n\nThe application then provides:\n\nThe current version supports:\n\nThe 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.\n\nThe demo shows the complete workflow:\n\n**Enter code → Enter error → Analyze → Understand the error → See corrected code → Practice viva questions**\n\n**Demo video:**\n\nThe demo is approximately 1 minute and 31 seconds long and focuses on the working application.\n\nThe complete source code is available on GitHub:\n\nLabCode Fixer & Viva Coach is a student-focused AI debugging and viva preparation tool.\n\nIt 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.\n\nStudents often use AI tools to fix compiler or runtime errors, but they may still struggle to explain the solution during a laboratory viva.\n\nA professor may ask:\n\nLabCode Fixer & Viva Coach is designed to help students understand their errors and prepare for these questions.\n\nThe application…\n\nThe repository contains:\n\n`backend/main.py`` backend/requirements.txt``frontend/app.py`` README.md``LICENSE``.gitignore`\nThe Python virtual environment and downloaded AI model files are not included in the repository.\n\nThe project uses a simple architecture where each component has a clear responsibility.\n\n```\ntext\nStudent\n   |\n   v\nStreamlit Frontend\n   |\n   v\nFastAPI Backend\n   |\n   v\nOllama\n   |\n   v\nGemma 2B\n   |\n   v\nAI Analysis\n   |\n   v\nStreamlit Frontend\n```\n\n", "url": "https://wpnews.pro/news/labcode-fixer-viva-coach", "canonical_source": "https://dev.to/varshininamrathamopuri_51/labcode-fixer-viva-coach-4ac0", "published_at": "2026-10-03 09:29:59+00:00", "updated_at": "2026-10-03 09:38:29.192092+00:00", "lang": "en", "topics": ["ai-tools", "ai-products", "large-language-models", "developer-tools", "artificial-intelligence"], "entities": ["LabCode Fixer & Viva Coach", "Streamlit", "FastAPI", "Ollama", "Gemma 2B", "GitHub"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/labcode-fixer-viva-coach", "markdown": "https://wpnews.pro/news/labcode-fixer-viva-coach.md", "text": "https://wpnews.pro/news/labcode-fixer-viva-coach.txt", "jsonld": "https://wpnews.pro/news/labcode-fixer-viva-coach.jsonld"}}