Skip to content

Conversation

@ajeetkartikay
Copy link

This PR adds an explicit validation in the accuracy metric to ensure that
predictions and references have the same length before computing the score.

This provides a clearer error message for users and avoids confusing
tracebacks from downstream libraries.

No change in metric behavior for valid inputs.

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.

1 participant