ThomasLe/code-grader-agent
0
๐ค Code-Grader-Agent
An AI-powered code review and grading system that analyzes GitHub repositories using advanced language models.
โจ Features
- ๐ Repository Analysis: Clone and analyze any public GitHub repository
- ๐ Multi-Criteria Grading: Evaluate code against custom criteria
- ๐ฏ Project Structure Assessment: Analyze folder organization and architecture
- ๐ Detailed Reports: Get comprehensive feedback on code quality
- โก Fast Processing: Powered by Gemini Flash 1.5 for quick analysis
๐ How to Use
- Enter Repository URL: Paste any public GitHub repository URL
- Select File Extensions: Choose which file types to analyze
- Generate Project Description: AI analyzes the codebase structure
- Set Grading Criteria: Define what aspects to evaluate
- Select Files: Choose specific files or folders to grade
- Run Analysis: Get detailed feedback and scores
๐ง Configuration
You'll need to set your OpenRouter API key in the environment variables to use this application.
๐ ๏ธ Tech Stack
- Frontend: React + TypeScript + Ant Design
- Backend: FastAPI + LangChain
- AI Model: Gemini Flash 1.5 via OpenRouter
- Deployment: Docker on Hugging Face Spaces
๐ Example Use Cases
- Code Reviews: Get AI feedback on pull requests
- Educational Assessment: Grade student programming assignments
- Code Quality Analysis: Evaluate project structure and best practices
- Technical Interviews: Assess coding skills objectively
๐ Privacy
- Repository clones are temporary and automatically cleaned up
- No code or data is stored permanently
- API keys are handled securely through environment variables
