Marathi Code Diagnostics (त्रुटी निवारक) — Dhī Labs
Marathi Code Diagnostics is an offline, real-time developer extension for Visual Studio Code that explains Python compiler and runtime errors in natural Marathi with actionable before-and-after code examples.
Developed by Ameya Deshpande (Dhī Labs), this tool is engineered specifically for students, educators, and engineers in Maharashtra to eliminate the fear of cryptic English stack traces and accelerate learning.
🚀 Key Features
Complete CPython Standard Library Coverage: Exhaustive support for all 67 built-in exceptions, abstract base classes, OS errors, and runtime warnings in Python 3.
Pedagogical Code Examples: Every single error tooltip displays concrete ❌ चुकीचा कोड (Crashing Code) alongside the idiomatic ✅ सुधारित कोड (Fixed Code).
100% Offline & Zero-Latency: Runs completely locally inside your editor. Zero internet connection required, zero API keys, and zero telemetry—designed to work seamlessly in rural college computer labs.
Hybrid Functional Standard: Preserves global developer primitives (इंडेक्स, सिंटॅक्स, व्हेरिएबल, डिक्शनरी) while delivering clear, encouraging explanations in natural Marathi grammar.
Sub-Message Pattern Matching: Accurately explains specific runtime message variations (e.g., distinguishing between string concatenation errors vs. indexing out of bounds).
💡 How It Works
Open any Python (.py) file in Visual Studio Code.
Whenever you make a mistake, a native red squiggly line will appear under your code.
Hover your mouse over the red line.
A clean Marathi card will instantly pop up with:
शीर्षक (Title): The error name with transliteration.
अर्थ (Summary): Plain Marathi explanation of what went wrong.
कारण (Cause): The exact conceptual reason for the crash.
उदाहरणे (Examples): Visual before-and-after code snippets showing how to fix it.
उपाय (Fix): Actionable step-by-step guidance.
🎓 Built for Maharashtra's Engineering & K-12 Ecosystem
Aligned with the Python curricula of CBSE/State Board (Class 11 & 12), MSBTE Polytechnics, and First-Year Engineering (SPPU, Mumbai University, DBATU).
Bridges the gap for over 1 Crore+ students educated in Marathi-medium schools entering higher technical education.