refaelz/legacy-code-challenge-v2
0
๐ Legacy Code Challenge
AI-powered educational tool for debugging legacy code. Students receive buggy code from real GitHub repositories and must fix it with AI assistance.
Features
- ๐ Automated bug injection into real codebases
- ๐ค AI-powered hint system (GPT-4o)
- ๐งช Automated testing and scoring
- ๐ Progress tracking via Google Sheets
- ๐พ Git-based submission backups
How to Use
- Enter your OpenAI API key
- Choose a GitHub repository (or use default: mahmoud/boltons)
- Select difficulty level
- Debug the injected bugs!
Environment Variables Required
Set these in Hugging Face Spaces Settings:
GOOGLE_SHEET_ID- For logging submissionsSUBMISSIONS_REPO_URL- Git repo for backupsSUBMISSIONS_GIT_TOKEN- Git access token
Note: Users provide their own OpenAI API keys via the login page.
