Buckets:

download
raw
992 Bytes
"""SEMCONTRACT docs contract tests."""
from pathlib import Path
REPO = Path(__file__).resolve().parents[2]
SEMANTIC_ONBOARDING = REPO / "docs" / "guides" / "semantic-onboarding.md"
SUPPORT_MATRIX = REPO / "docs" / "SUPPORT_MATRIX.md"
def _read(path: Path) -> str:
return path.read_text(encoding="utf-8").lower()
def test_semantic_onboarding_distinguishes_lexical_and_semantic_readiness():
text = _read(SEMANTIC_ONBOARDING)
assert "lexical readiness" in text
assert "semantic readiness" in text
assert "does not imply semantic readiness" in text
assert "summaries_missing" in text
assert "vectors_missing" in text
assert "semantic_stale" in text
def test_support_matrix_keeps_semantic_search_experimental_and_readiness_gated():
text = _read(SUPPORT_MATRIX)
assert (
"semantic search (`uv sync --locked --extra semantic` plus provider config) | experimental"
in text
)
assert "requires semantic readiness `ready`" in text

Xet Storage Details

Size:
992 Bytes
·
Xet hash:
58cc02713875698212b7b8a4e172e21cb4edc36f36ab200af9231530f331e9a3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.