Stock Verdict AI
A web tool I designed and built to research Indian stocks with AI. Every number on screen traces back to its source.

- Role
- Design and build, end to end
- Users
- Me, weekly
- Time
- 2026
- Stack
- React, Claude API, fixed scoring code
AI models read documents well but are bad at maths. The same scoring question can return different numbers each time.
For a tool that informs real trades, every number had to be repeatable and checkable.
Split reading from scoring
- Problem
- Scores generated by the model changed between runs.
- Design
- The AI only extracts facts from charts, filings, transcripts and news. Fixed code calculates every score, risk to reward and confidence.
- Why
- Same inputs always give the same output, and the AI never touches the numbers.
123- 1Weighted total from fixed weights
- 2Expected move worked out in code, formula on screen
- 3What would prove the call wrong
Sources next to every number
- Problem
- When a verdict looked wrong, there was no way to see why.
- Design
- Each number links to the input that produced it. Confidence sits next to the verdict.
- Why
- I can tell a reading error from a reasoning error and fix the right part.
1234- 1Verdict and score out of 100
- 2Confidence sits next to the verdict
- 3Says when a level is estimated
- 4Tap any score row to see where it came from
12Measured, never claimed. Each verdict is reviewed after the holding period. The page shows direction hits, misses and error, including the wrong calls.
Progress and edit states
- Problem
- A full analysis takes a few minutes. A spinner gives no feedback.
- Design
- A step by step progress view, with results streaming in as they finish. Values read by the AI can be edited and undone.
- Why
- The user always sees what is happening and stays in control of the AI output.
12
345- 1Wrong price? Set it by hand
- 2Each file gets a type you can change
- 3Time elapsed and how long it usually takes
- 4AI step first, then the code step
- 5No fake progress
Failure states that say what happened
- Problem
- Three failures broke whole runs without telling the user.
- Design
- A cut off AI response is repaired and the report says so. Stale prices are replaced by the newest dated price, with manual entry as a fallback. A corrupt PDF is dropped on upload while the other files continue.
- Why
- One bad input should not cost the user all their work, and the tool should never fail silently.



What changed
The pattern applies to any product with AI in it. Decide where the product may be uncertain, keep the AI out of the parts that must be exact, and show that line in the interface.
The whole tool is AI. The design work was deciding what the model is allowed to do, and making that visible.
Not shipped
- Prompting the model to be more careful. It reduced errors but never removed them.
- Letting the model calculate any score.
- Relying on one price source.
What I would change
- Test with other traders.I am the only user so far.
- Log my edits.Saving corrections to AI output would show where it fails most.
A personal tool, not a product. Not investment advice.
Next case studyPaywall and subscription redesign
Paywall, plans, intro offer, checkout, autopay and cancel for Dainik Bhaskar, a Hindi news app with 100M+ downloads.
Read it →