Harden worker contract and transport

This commit is contained in:
Emil
2026-07-23 20:49:50 +03:00
parent abfda35170
commit e0ee95cbab
15 changed files with 546 additions and 106 deletions
+1
View File
@@ -135,6 +135,7 @@ def search_similar(
def write_search_results(output_path: Path, matches: list[SimilarityMatch]) -> None:
"""Write ranked matches to a deterministic CSV file."""
output_path.parent.mkdir(parents=True, exist_ok=True)
with output_path.open("w", encoding="utf-8", newline="") as destination:
writer = csv.DictWriter(
destination,