Inspiration

Inspired by the desire to revolutionize the way programming is taught and learned, we created CodeCompanionAI. Our goal was to build an AI-driven platform that not only presents coding challenges but also guides learners towards crafting efficient solutions, making the journey from novice to adept coder more intuitive and engaging.

What it does

CodeCompanionAI is an innovative web application that brings together the prowess of OpenAI's ChatGPT API and Sphere Engine. It serves up a variety of programming challenges, inviting users to submit their code solutions through a friendly web interface. The core of its functionality lies in verifying the submitted code's correctness and evaluating its efficiency, particularly focusing on time complexity. For solutions that fall short on optimality, the AI provides constructive hints, nudging learners towards better algorithms and practices.

How we built it

The front end of CodeCompanionAI was meticulously developed using React, ensuring a dynamic and user-friendly interface that keeps learners engaged. For the back end, we chose Flask for its simplicity and efficiency, perfectly suited to manage our application's needs, from interacting with the ChatGPT API for challenge generation and feedback to integrating with Sphere Engine for real-time code compilation checks.

Challenges we ran into

One of the main hurdles was ensuring seamless communication between the diverse technologies involved, particularly in syncing the feedback loop between user submissions and AI-generated hints. Achieving a balance between challenging the user and providing enough guidance without overwhelming them was also a significant focus during development.

Accomplishments that we're proud of

We're particularly proud of creating an environment that not only challenges users with real-world coding problems but also supports them in understanding and improving their solutions. The integration of ChatGPT for intelligent feedback and Sphere Engine for code verification stands out as a testament to the innovative use of technology in education.

What we learned

Throughout this project, we delved deep into the intricacies of AI in education, learning how to effectively leverage AI to enhance the learning experience. The process illuminated the potential of combining NLP with code analysis tools to create a rich, interactive educational platform.

What's next for CodeCompanionAI

Looking ahead, we aim to expand CodeCompanionAI's repository of challenges, covering more languages and complex algorithms. We're also exploring adaptive learning paths that adjust difficulty based on the user's progress, making CodeCompanionAI a truly personalized learning companion. Further integration with AI to provide more nuanced feedback and incorporating collaborative coding sessions are also on the horizon.

Share this project:

Updates