May I ask if the data in "before" is used at "①", but all the data in "before" is vulnerable, i.e. Vul=1. However, when the part with "Vul=0" is selected in "②", the result is "len (nonvul)=0".
And the following error occurs, it means the "nonvul" is empty~
May I ask if there is a problem with my understanding? Or please tell me how to handle it.🥹
Hi @davidhin,
I was trying to reproduce your work (without using singularity) but when i tried to execute prepare.py, i got this error:
ValueError: Cannot set a DataFrame with multiple columns to the single column mod_prop
In line 202: dfv["mod_prop"] = dfv.apply( lambda x: len(x.added + x.removed) / len(x["diff"].splitlines()), axis=1 )
It seems correct and i can't figure out what the error is.
Hope to reply and appreciate your work!
Hi @davidhin ,
Thank you for sharing your code!
I was trying to reproduce your work and strictly follow the commands in README.md, but the following error occurred while executing singularity exec main.sif python sastvd/scripts/getgraphs.py. I guess the problem may be caused by some parameters error? I don't known how to solve it.
Hope to reply and appreciate your help!
Hello, I'm running ivdetect using the code under "linevd-main\sastvd\ivdetect". And the gnnexplainer part reports an error, and here are the code and error:
The error is no "_FEAT"
And I check the BigVulDatasetIVDetect class in "linevd-main\sastvd\ivdetect\helpers.py",
I found that "_FEAT" does not exist in the getitem function.