amazon-science / cceval

CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completion (NeurIPS 2023)
https://crosscodeeval.github.io/
Apache License 2.0
114 stars 17 forks source link

Where is the code for static analysis? #22

Open ramsey-coding opened 3 months ago

ramsey-coding commented 3 months ago

I have looked through the repository but cannot find the code for static analysis. Could you please help me locate it?

zijwang commented 2 months ago

Can you elaborate which part of static analysis you are looking for?

czq99972 commented 1 month ago

作者您好,我对python代码使用静态分析方法获取光标位置。发现大多是项目中,如果直接注释掉from import , “E1101”的错误捕捉特别少,一个项目少则0-10,多则<30。是不是必须把import的类都置为空呢?这样的话能否实现自动化呢?请问是否能开源一下这方面的相关代码呢?