CodeCompass
CodeCompass is an AI-powered LeetCode assistant designed to help users solve coding problems more efficiently. Built using Python and Flask, it provides real-time solutions, detailed explanations, all through a user-friendly web interface.
The CodeCompass application uses Python and Flask for its backend, enabling efficient routing, API handling, and integration with OpenAI's GPT-3.5 for AI-powered coding assistance. The frontend is built with HTML, CSS, and JavaScript, ensuring a responsive and user-friendly interface. Tools like pytest for testing and Flake8 for linting maintain code quality, while python-dotenv manages environment variables securely for seamless deployment.
Made for Nosu Hackathon. What a fun opportunity to practice my skillset.
Using website may take up to 1 minute to load (free tier)!
Features
- AI Assistance: Offers real-time coding assistance tailored to LeetCode problems.
- Problem Explanations: Provides detailed walkthroughs and insights into coding challenges.
- Web-Based Interface: Easily accessible via any browser, no installation required.
Hackathon Objectives
Our primary goal for the hackathon is to deliver a functional prototype of CodeCompass with the following features:
Web-Based MVP
- A Flask-powered backend that serves AI-driven coding solutions.
- Seamless real-time assistance for solving coding problems.
Core Functionalities
- AI-powered problem-solving and detailed explanations.
- A scalable architecture capable of supporting multiple users simultaneously.
Future Improvements
As we continue to enhance CodeCompass, here are some planned improvements (by priority):
LeetCode API Integration:
- Automate fetching all LeetCode questions, including problem details, tags, and difficulty levels.
- Keep the question database up to date with the latest additions and updates from LeetCode.
- 50+ tests per application. Right now, one test case per.
User Progress Tracking:
- Implement user authentication and profiles.
- Track individual progress, including solved questions, success rates, and time spent on problems.
- Provide personalized recommendations based on user performance and history.
Leaderboard and Community Features:
- Add global and friend-specific leaderboards to foster healthy competition.
- Create a community forum for users to discuss solutions, share tips, and collaborate.
Performance Optimizations:
- Improve backend scalability to handle higher user loads seamlessly.
- Optimize response times for real-time AI assistance.
Mobile-Friendly Design:
- Develop a responsive interface to ensure smooth usability on both desktop and mobile devices.
Gamification:
- Introduce badges, achievements, and streaks to keep users motivated and engaged.
These enhancements aim to make CodeCompass an indispensable tool for LeetCode enthusiasts, competitive programmers, and anyone looking to improve their problem-solving skills.
Note: This application is deployed on a free hosting platform, so it may take up to 60 seconds to load. Thank you for your patience! Also, please be mindful of how many tokens you use <3.
Log in or sign up for Devpost to join the conversation.