How we research the law library
Each page in our law library explains the rules behind one kind of demand letter in one place: a state, federal law, or the general law of contracts. Here is where the information comes from and how it is checked.
Official sources only
- State statutes come from the state's official code, read from the legislature's or code reviser's own website. For California we use the California Legislature's official bulk download of the codes, and link each rule to the section on the Legislature's website. States whose official code can't be read automatically don't get their own pages yet; their pages show the federal or general rules and say so.
- Federal statutes come from the official United States Code published by the U.S. Government Publishing Office (govinfo), and regulations from the official electronic Code of Federal Regulations.
- Official resources (court self-help, small claims, attorney general, labor and bar pages) link only to government, court or state bar websites.
- We never use law firm blogs, summaries or unofficial copies, and we never get around a website's protections. If an official source can't be read, the page waits.
How each page is built
- Choosing the laws. An AI model (Anthropic's Claude) reads only the official table of contents and section titles, never the law itself, and picks the sections that belong on the page. For federal law we use the table of contents of the U.S. Code from the Office of the Law Revision Counsel and of the eCFR.
- Showing the law. Each picked section is fetched from the official website and shown word for word, with its official title, the date we read it and a link to the official page. We don't summarize or rewrite it.
- Checking the pick. Our code checks that every picked section actually uses the topic's key terms (for example "security deposit" for a deposit page). If any section doesn't, the whole page is held and not published.
- Everything else on the page (documents to gather, where disputes go, official resources) is our own general content for that kind of letter, the same in every state.
- New pages are published a few dozen at a time. A few of our earliest pages were built differently: an AI wrote a short plain-English summary from the official text, and our code checked every quote and number against the source.
Court cases: CourtListener
Court cases come from CourtListener (opens in a new tab), a free legal research website run by the non-profit Free Law Project (opens in a new tab). We thank them for making court opinions freely available.
- "Court cases that mention this topic" are picked by our code, not by AI: published opinions from the state's appellate courts (or federal courts) where two or more of the topic's key terms appear together in several paragraphs, most cited first. Criminal prosecutions are left out.
- We show the case name, court, year, how many later cases cite it, and a link, all from CourtListener's own data.
- Summaries are written by an AI model (Anthropic's Claude Haiku) that reads the full opinion: who sued whom, what it was about, who won, whether it was sent back to a lower court, and why. Our code checks that the short quote shown with it appears word for word in the opinion; if it doesn't, the case is shown without a summary. The same model is asked whether the case is mainly about the page's topic; a case that isn't is replaced by the next one on the list. When a page still has fewer than three summarized cases, the same model reads the first page of up to ten more opinions on the topic from those courts and picks the most relevant; each pick then gets the same full reading and checks. If the quote isn't word for word but closely matches a passage, we show the court's own words from that passage instead. Always read the opinion itself before relying on a case.
- "Recent rulings" are updated daily: new opinions on CourtListener are matched by the same rules.
Keeping it current
- Every page shows the date it was last verified. Each section is read again from the official site every quarter. If its text hasn't changed, only the date moves; if it changed, the new official text replaces the old once it passes the same key-term check.
- Official resource links are checked every month.
- Found a mistake? Use the "Report an error" link on any page, or email support@demandletterhub.com.
The law library is general information, not legal advice. Laws change and every situation is different: check the official source, and talk to a lawyer about your own situation.