microsoft / CodeBERT

CodeBERT
MIT License
2.19k stars 450 forks source link

Question about CodeReviewer:Does the order of input diff-lines can influence the outcome? #307

Open ZZX-11 opened 9 months ago

ZZX-11 commented 9 months ago

Dear Authors: Thank you for your excellent work!I have a question when I deal with my data. Would the outcome be affected if I input all the 'add-lines' before the 'delete-lines' without formatting the diff-lines according to the commit format in your paper? For example: A:[add] line1 [add] line2 [add] line3, [del] line1 [del] line2 [del] line3, B:[add] line1 [del] line1 [add] line2 [del] line2 [add] line3 [del] line3 If I input the data in format A, would the outcome differ from format B? I'm still relatively new to AI, so I truly appreciate your insights. Thank you.