feat: migrate to unified Parquet format with instant GitHub setup and 4x faster tagging

This commit is contained in:
matt 2025-10-18 21:32:12 -07:00
parent e9e949aae3
commit 8435312c8f
58 changed files with 11921 additions and 3961 deletions

View file

@ -4,7 +4,23 @@ from pathlib import Path
import pytest
from code.headless_runner import resolve_additional_theme_inputs as _resolve_additional_theme_inputs, _parse_theme_list
from code.headless_runner import resolve_additional_theme_inputs as _resolve_additional_theme_inputs
def _parse_theme_list(themes_str: str) -> list[str]:
"""Parse semicolon-separated theme list (helper for tests)."""
if not themes_str:
return []
themes = [t.strip() for t in themes_str.split(';') if t.strip()]
# Deduplicate while preserving order (case-insensitive)
seen = set()
result = []
for theme in themes:
key = theme.lower()
if key not in seen:
seen.add(key)
result.append(theme)
return result
def _write_catalog(path: Path) -> None: