ASSERT-KTH / SelfAPR

repo of "SelfAPR: Self-supervised Program Repair with Test Execution Diagnostics" (ASE 22) https://oadoi.org/10.1145/3551349.3556926
22 stars 7 forks source link

some issues about evaluate_patch #7

Open lemon1-ui opened 4 weeks ago

lemon1-ui commented 4 weeks ago

Hi Dr. Ye, sorry to bother you again. When I ran the python3 6_evaluate_patch.py,I encountered this error as follows, how can I solve it? I would be very grateful if you can reply. Thanks a lot in advance! image

SophieHYe commented 3 weeks ago

Hello,

In 6_evaluate_patch.py, sometimes it is normal and expected to have compilation error because of the problem of generated patches. If you can share the patches with us, we can help investigate further.

lemon1-ui commented 3 weeks ago

@SophieHYe Hi,Dr.Ye. When I ran the python3 6_evaluate_patch.py,the errors said the Math-96b had not be repairred.How can I solved it? image

SophieHYe commented 3 weeks ago

Our work did not repair Math-96 and unfortunately I have no idea how you apply your patch and your configuration.

lemon1-ui commented 3 weeks ago

@SophieHYe I reproduced it according to the source code you disclosed. The previous Settings were the same as those in your source code. I checked the contents in the raw_results file as follows. Did I make mistakes in the previous steps? image

lemon1-ui commented 3 weeks ago

@SophieHYe I ran the test.py file again and different data was generated in raw_results.csv. Then I ran 6_evaluate_patch.py and got another error saying Jsoup_45 could not compile, how can I resolved it?