# PaperTrail

- **Event:** [The Harness Engineering & Model Wrangling #SFTechWeek Hackathon](https://cerebralvalley.ai/e/mongodb-sftw-hackathon)
- **When:** Sun, Oct 11 at 9:00 AM – 10:00 PM (PDT)
- **Where:** San Francisco, CA
- **Team:** [Xavier Huang](https://cerebralvalley.ai/u/xavierhuang), [Bruce Beckley](https://cerebralvalley.ai/u/Michspirit99), [Pranav Lende](https://cerebralvalley.ai/u/nullforce), [Arjun Prasad](https://cerebralvalley.ai/u/arjpras04)
- **GitHub:** https://github.com/ALLENDE123X/mongodb-memory-hackathon/
- **Demo video:** https://youtu.be/4INYMvjCl3o
- **Gallery:** https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/55

Insurers deny medical claims over payer rules nobody writes down. We built a self-improving harness that learns those rules from the denials. A scrubber agent (Claude Sonnet) predicts whether each claim will be denied. A watcher agent (Claude Opus) reads the insurer’s denial codes and writes new executable rules. A code gate replays every proposed rule against all past outcomes and promotes it only if it fixes a real miss with zero regressions, so no model grades its own work. Rules are versioned in MongoDB Atlas, and the harness also merges its own rules into more general ones. On 22 held-out claims it never trained on, denials caught went from 5 of 11 to 10 of 11 (balanced accuracy 0.636 to 0.818) over 3 learning rounds. The gate rejected 10 of 26 proposed rules.

## More from The Harness Engineering & Model Wrangling #SFTechWeek Hackathon

- [Vivy](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/52)
- [SREvolve](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/53)
- [By my self](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/54)
- [Long Horizon Quant Research](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/56)
- [LLM deployment agent](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/57)
- [LabRat](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/58)

---

Markdown version of https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/55. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
