brainy/tests/unit
David Snelling b3edd4b60a feat: automatic temporal bucketing for metadata indexes
Fixes critical metadata index file pollution bug that created 358k garbage files.

Changes:
- Remove timestamps from excludeFields to enable indexing and range queries
- Auto-detect temporal fields by name (time/date/accessed/modified/created/updated)
- Bucket temporal values to 1-minute intervals to prevent pollution
- Fix all normalizeValue() calls to pass field parameter for bucketing

Results:
- File reduction: 360k → 4.6k files (98.7% reduction)
- Range queries now work: modified >= yesterday
- Zero configuration required
- Backward compatible with existing code

Test coverage:
- 10 comprehensive tests for automatic bucketing
- All tests passing with bucket-aligned timestamps
- Covers file pollution prevention, range queries, field detection
2025-10-13 13:16:07 -07:00
..
augmentations feat: add distributed architecture with sharding and coordination 2025-09-22 15:45:35 -07:00
brainy test: skip flaky delete cache invalidation test (see 8476047, c64967d) 2025-10-10 14:26:56 -07:00
neural test: adjust type-matching tests for real embeddings (v3.33.0) 2025-10-09 18:32:14 -07:00
utils feat: automatic temporal bucketing for metadata indexes 2025-10-13 13:16:07 -07:00
brainy-core.unit.test.ts feat: Brainy 3.0 - Production-ready Triple Intelligence database 2025-09-11 16:23:32 -07:00
type-matching.unit.test.ts test: adjust type-matching tests for real embeddings (v3.33.0) 2025-10-09 18:32:14 -07:00