<commit_before>module Schnitzel
  class Text < Node
    attr_accessor :color

    def initialize(color: 0xffffffff, size: 20, **args)
      super(args)
      @color = color
      @font = Gosu::Font.new($window, Gosu::default_font_name, size)
    end

    def draw
      @font.draw("Woohoo!", position.x, position.y, z, scale.x, scale.y, color)
    end
  end
end
<commit_msg>Make Text render actual text :)<commit_after>module Schnitzel
  class Text < Node
    attr_accessor :color, :text

    def initialize(text: "", color: 0xffffffff, size: 20, **args)
      super(args)
      @text = text
      @color = color
      @font = Gosu::Font.new($window, Gosu::default_font_name, size)
    end

    def draw
      @font.draw(text, position.x, position.y, z, scale.x, scale.y, color)
    end
  end
end

{'fraction_non_alphanumeric': 0.12421580928481807, 'fraction_numerical': 0.0075282308657465494, 'mean_word_length': 2.9504950495049505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3586027', 'n_tokens_mistral': 292, 'n_tokens_neox': 273, 'n_words': 75}