YAML-based help catalog with topic search
Expand parser tests: empty input, frontmatter-only, malformed YAML, deeply nested headings (H4-H6), Unicode (CJK, emoji, diacritics, mixed scripts), very long documents (10K+ lines), edge cases. Expand search tests: empty/invalid queries, no results, case sensitivity, multi-word queries, special characters (@, dots, underscores), overlapping matches, scoring boundaries (title vs body), tag matching, section title boost, tokenize/highlight edge cases, catalog integration. Add search benchmarks: single word, multi-word, no results, partial match, 500-topic catalog, 1000-topic catalog, Add indexing, tokenize. Uses b.Loop() (Go 1.25+) and b.ReportAllocs(). Coverage: 92.1% → 94.0% | Tests: 39 → 124 | go vet: clean | race: clean Co-Authored-By: Virgil <virgil@lethean.io> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| catalog.go | ||
| catalog_test.go | ||
| CLAUDE.md | ||
| FINDINGS.md | ||
| go.mod | ||
| go.sum | ||
| parser.go | ||
| parser_test.go | ||
| search.go | ||
| search_bench_test.go | ||
| search_test.go | ||
| TODO.md | ||
| topic.go | ||