A modern web application for comparing and grading code assignments against template solutions using AI. The app supports both OpenAI and Google Gemini models for generating detailed feedback.
- 📝 Upload and compare template solutions with student submissions
- 🤖 AI-powered code review and feedback generation
- 🔄 Real-time streaming feedback display
- ⚙️ Configurable AI provider (OpenAI/Gemini)
- 🔐 Secure API key management
- 📋 Customizable system prompts for different grading styles
- React with TypeScript
- Tailwind CSS for styling
- OpenAI GPT-4 API integration
- Google Gemini Pro API integration
- Local storage for configuration persistence
- Clone the repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
The app requires configuration of an AI provider and corresponding API key:
- Click the "Settings" button in the top-right corner
- Select your preferred AI provider (OpenAI or Gemini)
- Enter your API key
- (Optional) Customize the system prompt to modify the grading style
- Upload template solution files using the "Template" dropzone
- Upload student submission files using the "Submission" dropzone
- Click "Start Review" to generate AI feedback
- View the generated feedback in real-time with Markdown formatting
API keys are stored locally in the browser and are never sent to any server other than the respective AI provider's API endpoints.
Feel free to open issues and pull requests for any improvements or bug fixes.
MIT License - feel free to use this project for your own purposes.