Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
test: make chunk_rag CLI search test order-robust
yifanfeng977b93b7413812
diff --git a/tests/methods/test_chunk_rag.py b/tests/methods/test_chunk_rag.pyindex 025d2b3..ea0ae54 100644--- a/tests/methods/test_chunk_rag.py+++ b/tests/methods/test_chunk_rag.py@@ -96,8 +96,10 @@ class TestCliOnDiskKA:patch("hyperextract.cli.cli.validate_config"),_patch_create(llm_client, embedder),):+ # Fetch all 3 chunks: hash-based mock embeddings give no semantic+ # ranking, so asserting on a top-2 slice would be order-fragile.result = runner.invoke(- app, ["search", str(ka_dir), "gamma document", "-n", "2"]+ app, ["search", str(ka_dir), "gamma document", "-n", "3"])assert result.exit_code == 0, result.output