Homework 3: Benchmarking RAG with SEC Filings

Homework 3: Benchmarking RAG with SEC Filings#

To get started with this homework, accept the GitHub Classroom assignment and clone the repository found above. All detailed instructions, deliverables, and grading criteria are in the homework repository README.

You will build a Retrieval-Augmented Generation (RAG) pipeline against SEC 10-K filings and measure how much retrieval is worth โ€” comparing a bare-question baseline against three RAG variants on Compustat ground truth (revenue, net income, total assets).

Prerequisites#

  • WRDS account with SEC Analytics Suite + Compustat access

  • OpenAI API key

  • Python 3.12+

See the homework README for setup, pipeline commands, and the autograded test details.


Solution Notebooks#