feat: complete catalog-driven preprocessing
Publish documentation / publish (push) Successful in 2m12s

This commit is contained in:
Codex
2026-09-06 17:49:35 +02:00
parent 8707ae1d46
commit cffa60772e
141 changed files with 5898 additions and 3015 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ class _FakeSearcher:
metadata={"session_id": "2026-01-01-000000-x", "sql": "SELECT 1",
"tables": ["fact_ablazione"], "question": "quanti pazienti nel 2024?"},
)]
if kinds == ["schema_table", "schema_column"]:
if kinds == ["schema_table", "schema_column", "schema_relationship"]:
return [SimpleNamespace(
kind="schema_table", ref="fact_ablazione", id="t1",
title="Tabella fact_ablazione", similarity=0.88,
@@ -128,7 +128,7 @@ def test_pack_single_embed_and_sections(tmp_path, monkeypatch):
assert res.exit_code == 0, res.output
assert emb.calls == 2 # schema/memory share one; Evidence embeds its own deterministic text
assert [call["kinds"] for call in searcher.calls] == [
["schema_table", "schema_column"],
["schema_table", "schema_column", "schema_relationship"],
["solved_question"],
]
assert "fact_ablazione" in res.output and "Ablazioni" in res.output