Fix missing evaluation dependencies (exec_eval.py, parse.py) from test-suite-sql-eval#2
Open
ewerthonk wants to merge 2 commits intoemorynlp:mainfrom
Open
Fix missing evaluation dependencies (exec_eval.py, parse.py) from test-suite-sql-eval#2ewerthonk wants to merge 2 commits intoemorynlp:mainfrom
ewerthonk wants to merge 2 commits intoemorynlp:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Hello team! I am currently reading through your paper and am looking to use ETM as the evaluation metric for my master's degree research on Text-to-SQL tasks.
While testing the repository locally to evaluate some sets, I encountered a missing dependencies issue with the evaluation script, specifically failing to locate [exec_eval.py] and
parse.pylogic which seemed to be missing fromETM_utils.After some research, I found that these files originated from the
taoyds/test-suite-sql-evalrepository. This pull request adds the missing evaluation scripts directly intoETM_utils/and updates the internal imports in my fork to ensure the [treeMatch.py] evaluator works successfully out of the box when ran locally.I've tested the changes locally and confirmed that it executes and returns the scores successfully.
Changes Included
ETM_utils/parse.pyfrom thetest-suite-sql-evalsuite.Thank you for providing the repo to the community, hoping this helps anyone else trying to run the evaluations locally.