# Figure Audit Automation
This directory contains `figure_audit.py`, a script designed to automate the visual auditing of figures within the ML Systems textbook.
## What it does
The script orchestrates a multimodal audit of every figure across Volume 1 and Volume 2 of the textbook. It ensures that the prose, the captions (`fig-cap`), and the alt-text (`fig-alt`) precisely match the content of the fully rendered visual images.
1. **Discovery:** It scans the `book/quarto/contents/` directory to identify all `.qmd` chapters containing figures.
2. **Visual Extraction:** It resolves the corresponding published HTML URL for each chapter, parses the HTML, and downloads the exact rendered `` and inline `