Fubar Folio

For developers

A structured doctrine corpus, ready for RAG.

718 U.S. military manuals as typed JSONL records, with stable IDs, page numbers back to the source PDF, and precomputed vectors. Skip the PDF-parsing weekend.

Known gaps: 7 OCR-layer or low-text manuals need extra care, and 2 single pages that could not be machine-structured are included as raw text.

fubarfolio-manuals-ai-text-2026-11-26/

data/include/ 487 manuals data/flagged/ 231 manuals, flag on records schema.json 7 record types indexes/search_v3.py default search (v3) indexes/ollama/ offline kit + vectors indexes/claude/ MCP server + Markdown indexes/openai/ vectors, your key indexes/d2q/ question index figures/ figures.jsonl + search reports/ test results manifest.json sizes + SHA-256

718

manuals

344,867

structured records

74,053

chunks (279,893 OpenAI search windows)

38,033

captioned figures

8,504

acronyms, source-checked

The record model

One JSONL file per manual. Procedures keep their steps, tables keep their rows and columns, and WARNING, CAUTION, NOTE and DANGER blocks are notice records of their own. schema.json is included.

manualsectionchunkprocedurenoticeparttable

Example IDs, both from the free sample: tc-4-02-3-2015-05#s0001 (section) and tc-4-02-3-2015-05#c0020 (chunk).

On every record

manual_idStable slug, kept across edition updates. The date in the slug is the original edition, not the current one. rights.verdict, rights.audit_reasoninclude or flag, with the reason. In the data on every record; schema.json documents it on manual records only.

Page numbers

pagesection, notice, part, table page_start, page_endchunk, procedure

Editions

edition_dateThe edition shipped. On every manual record and on some other records. replaced_edition_date, replaced_edition_file, official_edition_date, edition_sourceOn the records of the 89 manuals updated to a newer official edition. Not yet in schema.json.

schema.json is a minimum. The data also has extra fields such as packaging_excluded, section_heuristic, ocr_layer and nsn_format_warning.

Three ways to search

Ollama: fully offline

  • Precomputed nomic-embed-text index: 74,053 vectors at 768 dimensions.
  • Hybrid keyword and vector search (search v2 fusion) with acronym-glossary expansion and filters. The question index is not used here.
  • Cited answers from a local chat model (default qwen2.5:7b). About 16 GB RAM recommended.
  • Keyword mode works with no Ollama installed at all.

Claude: no API key

  • Small local MCP server with search_manuals, get_chunk and get_manual tools.
  • Hybrid keyword search by default; raw FTS5 query syntax on request.
  • Search runs locally, but Claude is a cloud service and reads the passages it retrieves.
  • Per-manual Markdown you can upload to a Claude Project.

OpenAI: your own key (search v3, default)

  • text-embedding-3-small vectors over 279,893 windows of about 1,200 characters, plus 360,619 generated-question vectors.
  • Duplicate-edition collapsing, then a re-rank and answer picker, both on by default with a key.
  • Vectors stay on your machine. Your question is embedded in your own account, and the re-rank and answer picker send your question and excerpts of the top passages to OpenAI. Under a cent per search. --pick off (FUBAR_PICK=0) turns off the picker and --no-rerank (FUBAR_RERANK=0) the re-rank. Nothing is uploaded to a hosted vector store.
  • Loads about 1.3 GB of vectors into RAM on the first query. Needs only numpy; the OpenAI calls use the Python standard library.
  • Falls back to keyword search automatically without a key.

Retrieval quality

87.0%

of a 600-question held-out sample had the answer in the first result, with an OpenAI key and the default answer picker. AI-graded, and a second grader agreed. A conservative estimate after a hand audit of partial answers is about 78%.

On the same 600-question sample, the exact source section ranked first 55.0% of the time and in the top 5 83.7%. With no key, local keyword search scored 75.2% top 5 on all 2,695 test questions.

How we tested. 5,389 questions were each written from one section and split into a 2,694-question development set and a 2,695-question held-out set. The answer picker was chosen on 600 development questions, then measured once on a 600-question held-out sample. The grader is the same model as the picker; a Claude Sonnet regrade of 200 questions gave 88.0%. Pack details

Coverage

Army
423
Marine Corps
175
Joint
80
Air Force
33
Navy
6
DoD
1

21 publication series, including ATP, TC, MCRP, JP, MCTP, FM, TM and AFDP. Of 713 dated editions, 696 are from 2000 or later and 378 from 2020 or later; 89 were updated to newer official public editions.

Rights and editions

Every record carries an automated rights-screening result. 487 manuals screened include and 231 are flagged but still shipped, with the flag on each record so you can filter. Automated rights screening is not a legal opinion. These are editions as released, not a live feed: check the current official edition before relying on one.

License

The Terms grant a personal, non-exclusive license for your own reference, research and internal use. Any broader commercial license, if ever offered, would be a separate written agreement. We do not guarantee that every manual, or every part of every manual, is in the public domain. Terms of Sale

The packs

PackWhat it isSize
AI-textJSONL, Markdown, search kits and vectors1.76 GiB
PDFCleaned government PDFs, three archives4.93 GiB
EPUBReflowable EPUB 3, epubcheck-validated, three archives4.08 GiB
FiguresFigure crops at 150 dpi with captions and page references1.51 GiB

Sizes are the Linux .tar files. Windows and Mac get the same files as .zip, slightly smaller. Each pack page lists SHA-256 hashes.

Free for everyone

Same files whether you pay or not. If it saves you time, chip in what you like: $5 suggested, $1 minimum (USD).

Get the library, free

Disclaimer

A reference and research dataset. It is not legal, medical, safety, or tactical advice, and we make no guarantee that it's current, complete, or error-free. You are responsible for how you use it. Ollama, Claude and OpenAI are trademarks of their owners. Full disclaimer