GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Shashank-VK/debugdost: DebugDost — paste a Python traceback, get the root cause and fix in English, Hindi, or Kannada. Built on BharatCode's model API (Qwen) for the BharatCode Build League.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.builder-os
.builder-os
 
 
static
static
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
BharatCode.txt
BharatCode.txt
 
 
README.md
README.md
 
 
app.py
app.py
 
 
requirements.txt
requirements.txt
 
 
specs.md
specs.md
 
 

Repository files navigation

🐛 DebugDost

Paste a Python traceback. Get the root cause, a plain-language explanation, and concrete fix steps — in English, Hindi, or Kannada.

Built for the BharatCode Build League on BharatCode's model API (Qwen).

Live demo

https://huggingface.co/spaces/shashankvkaramudi/debugdost

How it works

  • FastAPI backend (app.py) + one-page HTML UI (static/index.html).
  • POST /api/explain {"traceback": str, "language": "en"|"hi"|"kn"} → {"root_cause": str, "explanation": str, "fix_steps": [str]}.
  • The model is called through BharatCode's OpenAI-compatible API (https://bharatcode.ai/api/model/v1, model qwen-3.8-27b) with the OpenAI Python SDK.
  • The API key comes from the BHARATCODE_API_KEY environment variable. It is never committed to this repo. Without a key the API answers 503 with a clear message.

Run locally

pip install -r requirements.txt
BHARATCODE_API_KEY=your_key_here uvicorn app:app --port 8000

Then open http://localhost:8000.

Tests

python -m pytest tests/ -q

5 tests, mocked model client — no API key needed.

What it deliberately does not do

  • No generic code generation: it explains only the pasted error.
  • When the traceback is not enough to tell, it says so instead of guessing.
  • No diagnosis beyond the pasted error, no invented library behaviour.

Architecture

flowchart LR
    Trace[Python traceback] --> API[FastAPI + one-page UI]
    API --> Model[Model API]
    Model --> Out[Root cause + plain explanation<br/>English / Hindi / Kannada + fix steps]
Loading

About

DebugDost — paste a Python traceback, get the root cause and fix in English, Hindi, or Kannada. Built on BharatCode's model API (Qwen) for the BharatCode Build League.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.