-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Question about AST evaluation for Java #494
Comments
Hi @GeniusYx, All parameters are forced to be From your description, it seems that the Let me know if this solves your issue! |
Thank you very much for your reply! I noticed that the answers in the java test set Thank you very much! |
There are no truly-java-format possible answers. The json format possible answers are loaded as the Python-type values. We use the Java tree-sitter to parse and convert model result into their corresponding Python-type values. And then the accuracy checking part is performed between the two Python-type values. In this way, we can re-use the whole evaluation pipeline for non-Python languages as well. |
Hello, I am testing my own model. The test set is java. There is an example:
The output of my model is
{'invokemethod007_runIt': {'args': ['suspend', 'log'], 'out': 'debugLog'}}
. When I execute the code, it seems that the code forces all the parameter values to be of type string:{'invokemethod007_runIt': {'args': "['suspend', 'log']," 'out']: 'debugLog'}}
, but the real expected answer is{'invokemethod007_runIt': {'args': [['suspend','log']], 'out': ['debugLog']}}
.As a result, the final evaluation result error type is type mismatch. Do you have a solution? Thank you very much!
The text was updated successfully, but these errors were encountered: