Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CosmosMongo EuclideanDistance doesn't correctly filter by score threshold (returns all results)

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
databases

Research direction

Start with MEVD/test/CosmosMongoDB.ConformanceTests/CosmosMongoDistanceFunctionTests.cs at lines 21-24 and run the relevant conformance test. Trace the CosmosMongo EuclideanDistance path used there and verify that results beyond the score threshold are excluded. Done means the test no longer returns all results and the threshold behavior is covered by the conformance test.

Written by the indexing model from the issue text.

Description

Dominant language
C#
Stars
7
Forks
4
Avg merge
10m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CommunityToolkit/AI

All issues in CommunityToolkit/AI

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.