Team Ai
Apppublic

refaelz/legacy-code-challenge-v2

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

๐Ÿ› 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

  1. 1.Enter your OpenAI API key
  2. 2.Choose a GitHub repository (or use default: mahmoud/boltons)
  3. 3.Select difficulty level
  4. 4.Debug the injected bugs!

Environment Variables Required

Set these in Hugging Face Spaces Settings:

  • โ€”GOOGLE_SHEET_ID - For logging submissions
  • โ€”SUBMISSIONS_REPO_URL - Git repo for backups
  • โ€”SUBMISSIONS_GIT_TOKEN - Git access token

Note: Users provide their own OpenAI API keys via the login page.