AlgoLens
AlgoLens: Stop Guessing. Start Seeing.
The problem AlgoLens solves
🧠 1. The "Mental RAM" Crash
The Pain: A human brain can only track 5-7 variables at a time. When an algorithm hits 50+ iterations across 3 different files, your mental model collapses.
The Result: Developers spend 70% of their time just trying to "keep the logic in their head" rather than actually building.
📑 2. The "Trace Table" Tax
The Pain: Students and engineers are still forced to use pen and paper to "dry run" a repository's flow. It is slow, manual, and one small human error in your drawing ruins the entire logic.
The Result: We are using 19th-century tools (paper) to understand 21st-century systems (distributed code).
📂 3. The "Tab-Hopping" Fatigue
The Pain: Modern codebases are fragmented. You see a function call in Auth.js, but you have to jump to User.ts, then to Database.py, then back to Config.json.
The Result: You lose the "Execution Thread." By the time you find the third file, you’ve forgotten why the first file called it.
🌑 4. The "Static Code" Gap
The Pain: Code is written as static text, but it lives as a dynamic web. Reading a script is like reading a movie script—it’s nowhere near as clear as actually watching the movie.
The Result: Developers "guess" how a change in File A will affect File Z because they can't see the invisible bridge between them.
Challenges we ran into
🤖 1. The "Gemini Context Wall" (API Issues)
The Hurdle: Sending the entire execution history to Gemini for the "Why-Panel" caused massive latency and hit token limits instantly.
The Fix: Switched to "Delta-Prompts." We now only send the Current Line + The Change instead of the whole history. This reduced API latency by 80%.
🧠 2. The "State Explosion" (Memory Bloat)
The Hurdle: Storing full snapshots of every variable for 10,000+ iterations crashed the browser's "Mental RAM."
The Fix: Implemented a "Keyframe & Delta" architecture (similar to video compression). We store one full state every 50 steps and only tiny "changes" in between, cutting memory usage by 90%.
📁 3. The "Ghost Thread" (Cross-File Mapping)
The Hurdle: Visualizing the execution "jumping" from Auth.js to Database.py felt disconnected and broken.
The Fix: Built a Global Dependency Map using AST parsing. We pre-link all imports/exports so the "execution pulse" moves smoothly across the entire file tree.
Tracks Applied (4)
AI/ML
Open Innovation
Algorand
Algorand

