Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text2sql metrics fixes #1702

Merged
merged 8 commits into from
Apr 4, 2025
Merged

Text2sql metrics fixes #1702

merged 8 commits into from
Apr 4, 2025

Conversation

oktie
Copy link
Member

@oktie oktie commented Mar 28, 2025

This PR fixes a bug with the text2sql metric execution accuracy scores, making the comparison of DataFrames column-order independent again. It also modifies the subset score calculation, returning true if either DataFrame is a subset of the other, while optionally considering row order if the ground truth (gt) includes an ORDER BY clause.

oktie added 3 commits March 21, 2025 20:20
Signed-off-by: Oktie Hassanzadeh <hassanzadeh@us.ibm.com>
Signed-off-by: Oktie Hassanzadeh <hassanzadeh@us.ibm.com>
Signed-off-by: Oktie Hassanzadeh <hassanzadeh@us.ibm.com>
oktie added 2 commits March 28, 2025 10:52
Signed-off-by: Oktie Hassanzadeh <hassanzadeh@us.ibm.com>
@oktie oktie requested a review from perlitz April 3, 2025 13:20
Copy link
Collaborator

@perlitz perlitz left a comment

Choose a reason for hiding this comment

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

Looks good, results also makes sense

@perlitz perlitz enabled auto-merge (squash) April 4, 2025 10:11
@perlitz perlitz merged commit 5198d89 into main Apr 4, 2025
18 checks passed
@perlitz perlitz deleted the text2sql-metrics-fixes branch April 4, 2025 10:34
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