Teaser Triage
Rungta Advisors receives decks of cross-border deal teasers, one opportunity per slide. Teaser Triage reads every slide and shortlists the ones where an Indian buyer, seller or investor could fit, and it is built so it never quietly drops a deal an analyst would want.
- Built for
- Rungta Advisors' analyst team
- My role
- Sole builder, from scoping to deployment
- Built with
- Claude Code
- Runs
- Web app with analyst logins, packaged with Docker
132 slides, labelled by analysts: every relevant one was kept.
Shortlist32 of 46 relevant
Clear India angle. Analysts confirm these first.
Quick check5 of 50 relevant
The models couldn't settle these, so an analyst decides. Most likely first.
Skipped0 of 36 relevant
0 relevant slides. Skipped only when a hard rule applied and both models agreed.
The problem
A teaser deck can run to 60 slides, and most opportunities have nothing to do with India. Reading every slide carefully is slow; skimming risks missing the one opportunity that matters, and in M&A advisory a missed deal costs far more than an extra minute of reading.
So the brief was not "find the relevant slides". It was "cut the reading without ever losing a relevant slide".
How it works
Split the deck
The PDF is split into slides. Each slide's text is extracted and an image is rendered, and slides that are mostly pictures are flagged.
Ask narrow questions
A small decision model (TypeSafe's Jev) answers 13 specific questions per slide: deal type, India angle, buyer regions, company region, business type, profitability, sector, revenue band and market.
Route with rules
Plain code turns those answers into a route. A hard rule, such as 'buyer regions listed without India', can skip a slide only when the model is at least 90% sure and the slide shows no Indian angle.
Escalate the unclear ones
Slides the rules can't settle go to Claude Haiku with the slide image, its text and the first model's answers. A skip must name a rule that the first model also backs; otherwise the slide stays with an analyst.
Review and export
Analysts work through three piles with keyboard shortcuts, label slides, and export the relevant ones as a branded PDF or CSV. Their labels feed the evaluation page.
Decisions I made
Recall first, everywhere
Every rule is biased toward keeping a slide. Doubtful slides go to Quick check rather than Skipped, and a skip needs two independent signals to agree.
Switched off the stronger model
A second pass with a larger model looked like an upgrade, but in testing it skipped two deals the analysts wanted. It's off by default.
Measure against analysts, not intuition
An evaluation page reports recall, precision and threshold sweeps against analyst labels. Two decks were labelled blind so improvements couldn't be tuned to the test set. Every prompt or rule change is re-checked to keep recall at 100%.
Treat teasers as confidential
Live model calls refuse to run until zero-data-retention is confirmed with both providers. Logins use argon2 hashing, rate limiting and CSRF protection, and the app stays out of search engines.
Results so far
What I'd do next
- Shrink Quick check. 45 of its 50 slides weren't relevant. Tighter per-sector rules could send more of them to Skipped, as long as recall stays at 100%.
- Label more decks per sector. A sector needs at least two labelled decks before its numbers mean much, and so far each has one.
- Hand the shortlist to a matching step that suggests specific Indian buyers or targets for each relevant opportunity.
Stack
- Python
- FastAPI
- HTMX
- Tailwind CSS
- PyMuPDF
- SQLModel
- TypeSafe Jev
- Claude Haiku
- Docker
- Caddy
- pytest
- Claude Code