← Về thư mục
tests/autoskill/test_match_skills.py
- _write_skill · function · L15-L18 — def _write_skill(root: Path, name: str, description: str) -> None
- test_load_skill_descriptions_reads_frontmatter · function · L21-L29 — def test_load_skill_descriptions_reads_frontmatter(tmp_path: Path)
- test_load_skill_descriptions_skips_directories_without_skill_md · function · L32-L37 — def test_load_skill_descriptions_skips_directories_without_skill_md(tmp_path: Path)
- _keyword_embedder · function · L40-L43 — def _keyword_embedder(text: str): # deterministic, tiny vector indexed by known keywords
- test_top_k_matches_ranks_by_cosine_similarity · function · L46-L58 — def test_top_k_matches_ranks_by_cosine_similarity()
- test_top_k_matches_returns_all_when_k_exceeds_skills · function · L61-L67 — def test_top_k_matches_returns_all_when_k_exceeds_skills()
- test_top_k_matches_handles_zero_vectors_without_crashing · function · L70-L75 — def test_top_k_matches_handles_zero_vectors_without_crashing()