~/talk

Do LLMs dream of Type Inference?

Talkat RubyConf 2024 · 2024-11-13..11-15· [large-language-models, ruby]
links:none on file
slides:none on file

An LLM-based tool called RBS Goose generates RBS type definitions from Ruby code and shows concrete strengths: it generalizes argument types (make_sound becomes Bad class) and recovers methods defined via define_method, while it still makes RBS grammar mistakes in proctype cases. Current evaluation is ad hoc and manual so the plan named TypeEvalRb creates microbenchmarks plus real projects, builds comparison trees and reports a matches count metric comparing inferred versus expected RBS types.

AI-written summary · about

  1. 0:00LLMs and type inference
  2. 5:24Type systems and inference
  3. 10:51RBS Goose with LLMs
  4. 19:19Evaluating type inference
  5. 25:51Ruby type inference benchmark
  6. 30:06Summary and future
~/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.