brainy/tests
dpsifr 201b7acf6d **feat(tests, docs): add test coverage for database operations and vector dimension standardization**
- **Tests**:
  - Introduced `database-operations.test.ts` to validate core database functionalities, including initialization, CRUD operations, statistics retrieval, and search capabilities.
  - Added `dimension-standardization.test.ts` to ensure vector dimension consistency (fixed at 512) throughout operations like embedding, configuration, and validation.
  - Enhanced test cases to include scenarios for adding, retrieving, and handling errors for incorrect vector dimensions.

- **Documentation**:
  - Created `VECTOR_DIMENSION_STANDARDIZATION.md` to detail the transition to standardizing vectors to 512 dimensions, rationale for the change, potential impacts, and migration steps.
  - Includes best practices for handling vectors and utilizing the built-in embedding functions.

**Purpose**: Improve system robustness with comprehensive test coverage focusing on critical database and vector operations while providing clear documentation for developers to adapt to the standardized vector dimensions.
2025-07-25 13:45:44 -07:00
..
mocks feat(tests): add robust mock implementations and expand test coverage for S3 and OPFS storage 2025-07-21 13:42:10 -07:00
core.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00
database-operations.test.ts **feat(tests, docs): add test coverage for database operations and vector dimension standardization** 2025-07-25 13:45:44 -07:00
dimension-standardization.test.ts **feat(tests, docs): add test coverage for database operations and vector dimension standardization** 2025-07-25 13:45:44 -07:00
environment.browser.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00
environment.node.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00
opfs-storage.test.ts **feat(core, storage, tests): enhance verb construction with timestamps and metadata** 2025-07-25 09:44:10 -07:00
package-size-breakdown.test.ts feat(tests): replace old test scripts with updated test suite for storage and reporting 2025-07-21 12:47:20 -07:00
package-size-limit.test.ts **feat(tests, docs, storage): add statistics storage tests and enhance documentation** 2025-07-24 16:24:02 -07:00
s3-storage.test.ts **feat(core, storage, tests): enhance verb construction with timestamps and metadata** 2025-07-25 09:44:10 -07:00
setup.ts **feat(core): enhance logging, storage options, and testing coverage** 2025-07-17 10:00:28 -07:00
statistics-storage.test.ts **feat(tests, docs, storage): add statistics storage tests and enhance documentation** 2025-07-24 16:24:02 -07:00
statistics.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00
storage-adapters.test.ts feat(tests): replace old test scripts with updated test suite for storage and reporting 2025-07-21 12:47:20 -07:00
tensorflow-patch.test.ts **test(tests): add comprehensive test suite for Brainy functionality** 2025-07-15 11:56:16 -07:00
vector-operations.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00