compass.pipeline.search.persistence.build_search_manifest#
- async build_search_manifest(runtime, jur_results, time_start_utc, failed_targets=None)[source]#
Aggregate jurisdiction search results into a report
- Parameters:
runtime (
compass.pipeline.runtime.PipelineRuntime) – Runtime containing the search settings and technology.jur_results (
listofdictorNone) – Results for each requested jurisdiction. Failed workflows may returnNone.time_start_utc (
datetime.datetime) – UTC timestamp when the search run started.failed_targets (
listofstr, optional) – List of failed target descriptions/specifications, if any. By default,None.
- Returns:
dict– JSON-serializable report containing per-jurisdiction ranked URLs and filtering reasons.