All work06Case study

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.

Personal project2026WebReact, Claude API
Solodesigned and built it end to end
The verdict report, in front of a giant 100%
Role
Design and build, end to end
Users
Me, weekly
Time
2026
Stack
React, Claude API, fixed scoring code
The problem

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.

One analysis, start to end. Pick a stock, add charts and filings, watch each step, read the verdict, then check it against what happened.

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.
AI
ChartsFilingsConcallNews→Facts only
Reads
Code
Facts→ScoresScenariosRisk to rewardConfidence
Calculates
The maths, shown. Weights, scenarios and the expected move123
The maths, shown. Weights, scenarios and the expected move
  1. 1Weighted total from fixed weights
  2. 2Expected move worked out in code, formula on screen
  3. 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.
The verdict. Score, confidence and levels, each with a source1234
The verdict. Score, confidence and levels, each with a source
  1. 1Verdict and score out of 100
  2. 2Confidence sits next to the verdict
  3. 3Says when a level is estimated
  4. 4Tap any score row to see where it came from
Checked later
Every past call next to what really happened12
Every past call next to what really happened

Measured, 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.
Inputs, checked. Price with its date, files sorted by type12
Inputs, checked. Price with its date, files sorted by type
Real progress. Each tick is a finished step345
Real progress. Each tick is a finished step
  1. 1Wrong price? Set it by hand
  2. 2Each file gets a type you can change
  3. 3Time elapsed and how long it usually takes
  4. 4AI step first, then the code step
  5. 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.
From the real screens
Stale price
Stale priceThe price shows its date. If it looks wrong, set it by hand.
Bad file
Bad fileEach PDF is checked on upload. A broken one is dropped, the rest carry on.
Unsure value
Unsure valueLevels read off a chart image are flagged as approximate.
Result

What changed

100%numbers traceableto the input that produced them
3failure statesdesigned after real failures
Weeklyin usefor my own trading

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.

Where AI helped

The whole tool is AI. The design work was deciding what the model is allowed to do, and making that visible.

What I cut

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.
Next time

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.