Exploring the verifiability of code generated by github copilot
GitHub's Copilot generates code quickly. We investigate whether it generates good code.
Our approach is to identify a set of problems, ask Copilot to generate solutions, and attempt
to formally verify these solutions with Dafny. Our formal verification is with respect to hand-
crafted specifications. We have carried out this process on 6 problems and succeeded in
formally verifying 4 of the created solutions. We found evidence which corroborates the
current consensus in the literature: Copilot is a powerful tool; however, it should not be" …
Our approach is to identify a set of problems, ask Copilot to generate solutions, and attempt
to formally verify these solutions with Dafny. Our formal verification is with respect to hand-
crafted specifications. We have carried out this process on 6 problems and succeeded in
formally verifying 4 of the created solutions. We found evidence which corroborates the
current consensus in the literature: Copilot is a powerful tool; however, it should not be" …
[CITATION][C] Exploring the verifiability of code generated by github copilot. Preprint (2022)
D Wong, A Kothig, P Lam - arXiv preprint arXiv:2209.01766
Showing the best results for this search. See all results