r/ediscovery • u/kulmin_ai • 4h ago
Technical Question How do you stop boilerplate from wrecking clause search in large productions?
Working on a document search project and ran LegalBench-RAG across all 714 contracts recently (including 150 merger agreements). The drop from boilerplate overlap surprised me. Once you put 150 M&A agreements in one folder with no filename hints, a flat legal search baseline kept grabbing near-identical MAE and go-shop language from the wrong deals and fell to around 13% character recall at k=16.
The other thing that bugs me is how clean public eval sets are. Every file is neat digital text, and every single question actually has a right answer somewhere in the folder.
For people who deal with real productions, how do you actually test search tools before trusting them on a matter? Do you run them against old reviewed sets by hand, or remove responsive docs to see if they admit nothing is there?