Files
Timmy-time-dashboard/tests
Kimi Agent 415938c9a3
All checks were successful
Tests / lint (pull_request) Successful in 5s
Tests / test (pull_request) Successful in 45s
test: add 86 tests for semantic_memory.py (#54)
Comprehensive test coverage for the semantic memory module:
- _simple_hash_embedding determinism and normalization
- cosine_similarity including zero vectors
- SemanticMemory: init, index_file, index_vault, search, stats
- _split_into_chunks with various sizes
- memory_search, memory_read, memory_write, memory_forget tools
- MemorySearcher class
- Edge cases: empty DB, unicode, very long text, special chars
- All tests use tmp_path for isolation, no sentence-transformers needed

86 tests, all passing. 1393 total tests passing.
2026-03-14 19:15:55 -04:00
..
2026-03-11 16:55:27 -04:00
2026-03-11 16:55:27 -04:00
2026-03-11 12:23:35 -04:00
2026-03-11 12:23:35 -04:00
2026-03-11 12:23:35 -04:00