~/talk

SimTyper: Sound Type Inference for Ruby using Type Equality Prediction

Talkat OOPSLA 2021 · 2021-10-17..10-22· [ruby, typescript]
links:none on file
links:none on file
name:Bonan Min
links:none on file
slides:none on file

SimTyper infers usable Ruby types by combining constraint solving, InferDL-style heuristics, and a learned type equality prediction model. It builds DeepSim (a Siamese network that uses CodeBERT token embeddings) to score whether two positions share a type, then replaces overly general solutions when the guess is constraint-consistent. Trained on 100k pairs from 371 programs, CHD (constraints+heuristics+DeepSim) yields 69% more matches and higher precision/recall than constraints alone.

AI-written summary · about

  1. 0:00Intro
  2. 1:01Type Annotation Inference
  3. 2:21Sim Typer: Sound, Usable Type Inference
  4. 3:16Example Ruby Method • Start with standard, constraint-based inference
  5. 3:35Generate constraints
  6. 5:03Constraint resolution
  7. 5:19Solution extraction
  8. 6:09InferDL (DLS '20)
  9. 6:40Applying Struct-to-Nominal
  10. 7:16Building on Heuristics
  11. 7:54Using Type Equality Prediction
  12. 8:30Using the Deep Sim Network
  13. 10:12Putting it All Together
  14. 10:22Evaluation
  15. 11:03Key Results
  16. 11:51Results: By Benchmark Group
  17. 12:36Precision, Recall
~/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.