compass.scripts.search#

Search-only orchestration for COMPASS

Runs the web-search portion of the COMPASS pipeline (no download, filtering, validation, or extraction) and emits a JSON report of the ranked URLs returned by each configured search engine for each jurisdiction. The output is intended to help diagnose retrieval quality before invoking the full pipeline.

Functions

run_search(request[, config_path])

Run search-engine queries for every jurisdiction in a config

summary(report)

Format search-only output as readable plain text

write_search_report(report, out_path)

Write a search-only report as JSON