Skip to content

Conversation

@anistark
Copy link
Contributor

@anistark anistark commented Oct 6, 2025

Issue Link / Problem Description

Changes Made

  • Changed np.all() back to np.any() to correctly detect when ANY answer is noncommittal
  • Added filtering of empty/whitespace questions before cosine similarity calculation to prevent NaN errors
  • Reordered logic to check noncommittal before empty questions

References

@anistark anistark marked this pull request as ready for review October 6, 2025 15:48
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

why answer_relavancy getting nan and sometime get 0. why is that?

1 participant