Closed arghavanMor closed 2 years ago
Hi! Thank you for your feedback :)
The number of paths per tree exponentially increases with tree size. To handle this, we restrict the total number of paths by maxPathContextsPerEntity
parameter in config. You can set it to null or remove to save all paths from the tree.
Thank you for your quick response. I remove maxPathContextsPerEntity
from config and now all paths are the same for both files :)
Thank you.
Hi, Thank you for the tool :)
When I apply astminer (in code2vec setup) on two different files but with the same content, the model returns different path-contexts for each file (only few numbers of common path). However, the AST tree and following all the paths are the same in both files.
Here is the code:
I attached path_context, node_types and paths files. i changed the path_context format into text to be able to upload it here.
node_types.csv paths.csv tokens.csv path_contexts.txt