Skip to content

Add higher-fidelity clustering integration tests that exercise real similarity behavior #64

Description

@masa-57

Summary

Current clustering integration tests validate database effects, but much of the clustering behavior is still mocked or driven by synthetic vectors.

Evidence

  • patches , , and representative selection in core integration cases.
  • and related tests seed deterministic random vectors rather than fixtures designed to stress near-duplicate and semantic-cluster boundaries.

Why this matters

The current tests provide limited assurance that the full clustering pipeline behaves correctly with realistic embedding distributions.

Suggested direction

  • Add integration fixtures that represent clear L1 and L2 clustering boundaries
  • Reduce mocking in at least one end-to-end clustering path
  • Keep runtime manageable by using a small but behaviorally meaningful dataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:mediumUseful improvement with moderate urgencytestingTest coverage or test fidelity work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions