refaelz's picture
Store full submissions in Supabase
8b26302
|
Raw History Blame Contribute Delete
1.04 kB
---
title: Legacy Code Challenge
emoji: πŸ›
colorFrom: red
colorTo: pink
sdk: gradio
python_version: 3.11
app_file: app.py
pinned: false
hf_oauth: true
---
# πŸ› 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
- πŸ“Š Optional Google Sheets summaries
- πŸ’Ύ Complete submission storage in Supabase
## How to Use
1. Enter your OpenAI API key
2. Choose a GitHub repository (or use default: mahmoud/boltons)
3. Select difficulty level
4. Debug the injected bugs!
## Submission Storage
Create a free Supabase project and configure `SUPABASE_URL` and `SUPABASE_SECRET_KEY` in Hugging Face Spaces Settings. Follow [SUPABASE_SETUP.md](SUPABASE_SETUP.md) for the SQL schema and setup steps.
Google Sheets summaries remain optional. New submissions are no longer uploaded to Git.