~/talk

Exploring the Verifiability of Code Generated by GitHub Copilot

Talkat HATRA 2022 · on Monday, 2022-12-05· [ai-assisted-development]
links:none on file
links:none on file
links:none on file
slides:none on file

Authors feed six algorithmic problems to GitHub Copilot, add hand‑crafted pre/postconditions and loop invariants, translate generated Python into Dafny, and attempt formal proofs. Four of six solutions verify; binary search and two‑sum verify after writing predicates, variants and seven invariants for nested loops. Prime‑factors times out during proof attempts and requires extra library lemmas; the max‑subarray solution is O(n^2), resists a correctness proof and cannot be discharged automatically.

AI-written summary · about

  1. 0:00Verifying Copilot-generated code
  2. 1:05What GitHub Copilot does
  3. 2:35Prior research on correctness
  4. 7:58Verifying Copilot's Python code
  5. 9:03Problem selection approach
  6. 12:19Binary search verification
  7. 14:27Two sums verification
  8. 15:34Prime factors failure case
  9. 17:41Max heap issues
  10. 19:25Course project context
  11. 20:07Key findings
  12. 21:30Challenges and future work
  13. 22:31Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.