File size: 1,040 Bytes
532e19f
 
 
 
9766d8f
532e19f
90faf44
532e19f
 
88c8f94
532e19f
 
 
 
 
 
 
 
 
 
8b26302
 
532e19f
 
 
 
 
 
 
8b26302
 
532e19f
8b26302
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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.