soarsmu / attack-pretrain-models-of-code

Replication Package for "Natural Attack for Pre-trained Models of Code", ICSE 2022
MIT License
41 stars 9 forks source link

Statistics of VCR #75

Open 126pikaqiu opened 2 years ago

126pikaqiu commented 2 years ago

In GA-Attack, when counting the number of variables that need to be changed for a successful mutation, old_word == mutant[old_word] is used, is there a problem?

yangzhou6666 commented 1 year ago

Hi @126pikaqiu, thanks for raising the issue and sorry for the late response. Could you please point out the file and line of the problem? Thanks!