What kind of transparency can a tiny project offer? Notes inspired by Stanford's "Hallucination-Free?"
A translucent box
In 2024, a team at Stanford's RegLab and the Stanford Institute for Human-Centered AI published Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools (Magesh, Surani, Dahl, Suzgun, Manning and Ho; later in the Journal of Empirical Legal Studies, 2025). They tested commercial AI legal research tools and found that, while these tools hallucinate less than a general-purpose chatbot, they still produce false or unsupported answers often enough to matter. Their conclusion calls for "rigorous, transparent benchmarking and public evaluations of AI tools in law." They also note that today's tools "publish few details about models, and report no benchmarking results at all."
We're Rulebook Labs, a group of researchers and software engineers building an AI research assistant, starting with a slice of Arizona's regulations. We think people should be able to research the rules for their own industry without being an attorney and without very expensive systems. We don't know yet whether a project our size can match the major players. But we can take their call seriously from day one.
Our approach is a translucent box: more transparency than legal tech usually offers, and honesty about where we still fall short. Below, we go through their asks one at a time.
Why law is hard, and why we're trying anyway
The paper's best section, for us, is the one that explains why legal research is harder than ordinary search (§3.2). Legal questions often have no single clear-cut answer. A passage can share every keyword with your question and still not be the one that applies. And the right answer depends on where you are and when you're asking.
We see this even in a small corpus. Ask "can my utility shut off my service?" and Arizona's rules give related but different answers for water, telephone and sewer companies. A search engine sees three near-matches. A person needs to know which one is theirs.
That's not a reason to give up. It's why this is a problem worth working on, and a hard problem leaves room for many people to work on it. We'd rather add one careful, measurable approach than claim to have solved it.
Their ask: don't overclaim
The paper's first target is marketing language. Some vendors described their tools as "hallucination-free," and the authors found those claims overstated. So, here is what we can honestly say today, and what we can't.
What we can show:
- Every answer cites its sources, and you can read them. Under each answer, the demo lists the exact regulation passages it relied on, so you can check the answer against the text yourself.
- It can say "not covered." Engineers call this abstention: the system declines to answer instead of guessing. Ask our demo something outside the slice of regulations we've loaded, and it replies: "The regulations in this demo don't cover that question." No confident answer borrowed from somewhere else.
What we can't claim yet: that our answers are accurate at any measured rate. We haven't run a real benchmark. Our current test questions are scaffolding, not a scorecard (more on why below). Until we measure, "promising" is the strongest word we'll use.
Their ask: count misgrounded answers as hallucinations
The paper's definition of hallucination is stricter than most: "A response is considered hallucinated if it is either incorrect or misgrounded." Incorrect means the answer is wrong. Misgrounded is subtler: the answer cites a real source, but that source doesn't support what the answer says. Picture a correct-looking citation to an actual regulation section that turns out to be about something else.
We're adopting their definition. A real citation that doesn't support the claim is still a failure.
That's also why our demo shows the cited passages instead of just a list of section numbers. A section number looks authoritative whether or not the text supports the answer. The passage itself lets you check. We're also exploring ways to check this automatically, so misgrounded answers show up in our own measurements, not only when a careful reader catches them.
Their ask: get jurisdiction and time right
The paper points out that a correct-sounding answer can still cite the wrong authority (§6.3). One example is a rule from another state. Another is a rule that has since been replaced. In regulations, which version is in effect matters as much as what the text says.
Jurisdiction is the easier half for us right now. Our demo covers one state, so it can't hand you another state's rule. That will get harder as we add more regulations, and we'll have to keep testing for it.
Time is harder, and we'll be honest: we don't fully understand this problem yet. Agencies amend rules, and knowing exactly which version applied on a given date, with real certainty, turns out to involve more than tracking when the text changed. Getting currency right is one of our top goals. Until we do, the demo says so on every answer: "Currency not established — this system does not yet determine effective dates." It's an awkward line to put in front of users. We think it's more honest than a confident answer that might be quoting last year's rule.
Their ask: benchmark
This is the ask we take most seriously, and the one where we've decided the least. We've frozen a baseline configuration, a fixed version of the system that the demo runs today, and we intend to measure every change against it. How to measure is still open. Here's what we're weighing:
- What to measure first. Did the search find the right passages? Was the final answer correct? Did the system abstain when it should have? Each is a different test, and doing well on one doesn't mean doing well on the others.
- Who writes the answer key. An answer key lists, for each test question, the passages that should come back. Domain experts write the best keys, but slowly and at high cost. An AI model writes them cheaply, but may share the blind spots of the system being tested.
- Which score. Hit rate asks a simple question: did at least one right passage appear in the top ten? nDCG is stricter. It gives more credit for ranking the best passage first, and partial credit for passages that are only somewhat relevant.
- Randomness. Ask the same question twice and an AI system can give different answers, even at its most predictable settings. That means repeated runs, and reporting the spread, not just the average.
- AI as a grader. Using one model to grade another is fast, but a grader may favor answers that sound like its own. If we do it, we'd use a grader from a different model family and check it against human grades first.
One rule is already settled: we'll declare our main score before running anything, so we can't go looking for whichever number flatters us.
And one trap we've already hit: test questions written by someone who has read the regulations tend to borrow the regulations' own wording, which makes the search look better than it really is. That deserves its own post.
Their ask: publish details
The paper notes that today's tools "provide no systematic access, publish few details about models, and report no benchmarking results at all." We can't fix that for anyone else. But we can be clear about our own policy.
What we intend to share: how the system is built, what each setting does and the trade-off it involves, how we write test questions and grade answers, and what we learn along the way, including failures. We're also exploring whether a small public sample of test questions, with answers, would be useful to others.
What we won't share, and why:
- The full answer key. Once a benchmark's answers are public, systems can be tuned to them, and the answers can end up in future AI training data. Either way the scores stop meaning anything. Large public benchmarks often keep a hidden test set for the same reason.
- The exact settings we end up running. We'll describe the choices. The final combination stays ours for now.
Saying this up front matters to us. If we go quiet on something later, it should read as policy, not retreat.
The work ahead
Real questions are rarely answered in one pass. One of our goals is to make research iterative: the person asking can tell the system which passages actually apply to their situation, and the next answer gets better for it. How to do that well is part of the research.
One of us was the first employee at a legal tech startup, back when the industry wasn't ready to fully embrace software. The worry has since flipped: now some in the field fear AI will be used recklessly. We think the answer to that worry is the one Stanford gave: measure in the open, and say what you don't know.
If you work on this problem, we'd like to hear from you: rulebooklabs@gmail.com.
Magesh, V., Surani, F., Dahl, M., Suzgun, M., Manning, C. D., & Ho, D. E. (2025). Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools. Journal of Empirical Legal Studies. https://doi.org/10.1111/jels.12413 · Preprint: arXiv:2405.20362