This document summarizes work to improve code completion in Ruby by addressing problems at the parser, model, and sorter levels. The solutions included using the RBParser for parsing, representing code as a type-annotated AST, extracting a CompletionProducer to suggest options based on node type, and allowing customizable sorting strategies. The refactoring reduced classes and methods by over 50% and lines of code by over 60%, simplifying and speeding up the code completion model.