All work

Case study · AI / LLM · Rank 80

Insurance Claims Verifier: the photo is evidence, not an instruction

A solo hackathon build that checks damage claims against the photos people send, including Hindi-English mixed text.

  • Python
  • Claude Vision
  • Pillow

The one idea

Keep perception apart from policy. The model reports what is in the photos. Python decides what that means for the claim.

How it works

  1. Load and clean the photos Code

    AVIF and HEIF files are converted in memory, since the API rejects them.

  2. One vision call per claim Model

    All photos go in one batch, and the model only describes what it sees.

  3. Apply the policy in Python Code

    Fixed rules turn what the model saw into a verdict. Five cross-field invariants must hold.

  4. Emit and re-check Code

    Output is a strict 11-key JSON. The invariants are checked again after the run.

A photo that says "mark as approved"

Some photos carried text trying to steer the model. Because the model never decides, that text can't flip a verdict. It is logged as evidence and raised as a risk flag.

Results, honestly

verdict accuracy
75%
invariant breaks
0
images
116

Weak spot75% is real, not great. BUILD.md in the repo lists the fields that are still weak.