~/talk

GPT-3-Powered Type Error Debugging: Investigating the Use of Large Language Models...

Talkat SLE 2023 · 2023-10-23..10-24· [ai-assisted-development]
links:none on file
links:none on file
links:none on file
slides:none on file

Uses GPT-3 to generate OCaml repairs by building rich prompts from source-code analysis (candidate locations via a magic function, inlining, and type unification), then applies three repair strategies—Phill, Choose, Instruct—plus an offline try-every-suggestion mode. Validates patches automatically with QuickCheck (10,000 tests) against a public dataset: 1,318 bugs yield 516 fully fixed (39.2%) and 441 partial fixes (33.5%). On 591 common benchmarks Mentat fixes 222 vs 198 and 46 for two prior tools.

AI-written summary · about

  1. 0:00GPT-3 for type error debugging
  2. 1:03Type systems and errors
  3. 4:39Motivation for automated repair
  4. 6:03Building GPT-3 prompts
  5. 8:12Type error location with magic functions
  6. 9:37Inlining and type unification
  7. 11:04Repair strategies with GPT-3
  8. 15:00Offline repair strategy
  9. 16:03Large-scale evaluation results
  10. 20:17Comparison with tools
  11. 21:21Requirements and language-agnostic
  12. 22:24Future work and models
  13. 23:12Q&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.