StaffCoder
RAG
2 modules · 12 challengesSign up
Modules2 modules · 12 challenges
Module 2 of 2 · 6 challenges

Retrieval-Augmented Generation (RAG) Document Ingestion & Parsing

Learn how to turn messy real-world files into a clean, searchable corpus - extract ordered text from PDFs and HTML, keep tables meaningful, strip boilerplate, collapse duplicates, capture metadata, and OCR scanned pages into one trustworthy pipeline.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

6 challenges

PDF And HTML Extraction

Sign up to unlock
—No data yetmedium
About this challenge

Extract clean, ordered text from PDFs and HTML into LangChain Documents - columns in reading order, scripts and styles gone.

Solved in a browser IDE and graded by tests. Sign up to solve

Table Handling

Sign up to unlock
—No data yetmedium
About this challenge

Turn HTML tables into text that keeps every value attached to its header - merged cells, spans, and boundaries intact.

Solved in a browser IDE and graded by tests. Sign up to solve

Boilerplate And Dedup

Sign up to unlock
—No data yetmedium
About this challenge

Strip the cookie banners and collapse the nine copies of the same press release - without ever merging two real documents.

Solved in a browser IDE and graded by tests. Sign up to solve

Metadata Extraction

Sign up to unlock
—No data yetmedium
About this challenge

Pull titles, dates, and sections into Document.metadata - canonical formats, correct spans, and honest nulls.

Solved in a browser IDE and graded by tests. Sign up to solve

Scanned Page Extraction

Sign up to unlock
—No data yetmedium
About this challenge

Route scans to OCR and born-digital pages past it - recover upside-down pages by confidence and record the provenance.

Solved in a browser IDE and graded by tests. Sign up to solve

Junk Drawer Corpus

STAR
Solving it completes the module
—No data yetmedium
About this challenge

Run the whole ingestion pipeline on one messy dump - every stage measured, cross-format duplicates collapsed, and search over the result just works.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.