Skip to content

Conversation

@justin-cechmanek
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes flakiness in the test_text_query_word_weights test by making the test results more deterministic. The test now uses smaller weights that don't affect result ordering and adds explicit sorting to ensure consistent ordering.

  • Uses smaller weight values (1.1 and 1.15 instead of 3.4 and 5) to avoid changing result order
  • Adds sort_by="description" parameter to both queries for deterministic ordering
  • Simplifies assertions to compare descriptions directly and check score changes when weighted terms are present

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@abrookins abrookins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@justin-cechmanek justin-cechmanek merged commit 3080562 into main Oct 28, 2025
38 checks passed
@justin-cechmanek justin-cechmanek deleted the bugfix/flaky-text-scoring branch October 28, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants