Inspiration

While reviewing code, I realized that most tools explain what code does, but very few explain what the developer was trying to achieve

What it does

This project uses Gemini 3 to analyze the intent behind code, uncover hidden assumptions, and predict future problems before they happen

How we built it

The core logic is powered by the Gemini 3 API, using structured prompts to reason about design decisions rather than syntax

Challenges we ran into

Designing prompts that consistently extract intent and future risks with limited API calls

Accomplishments that we're proud of

Built a complete, end-to-end application combining a FastAPI backend and a Streamlit frontend in under a week and implemented automatic programming language detection and support for Python, JavaScript, C++, and C#

What we learned

How to design applications that depend on AI services without breaking when those services are unavailable

What's next for What Your Code Was Trying to Do

Add explanations of suggested fixes with example refactored snippets

Built With

Share this project:

Updates