<commit_before>module Skellington
  class Generator
    attr_accessor :config, :path, :camelname, :files

    def initialize path
      @path = path
      @camelname = Skellington.camelise(@path)
      @config = YAML.load File.read File.join File.dirname(__FILE__), '..', '..', 'config/config.yaml'
      @files = @config['files']
    end

    def config
      @config ||= YAML.load File.read File.join File.dirname(__FILE__), '..', '..', 'config/config.yaml'
    end

    def run
      generate
      git_init
      post_run
    end<commit_msg>Explicitly set and expose these 4 things<commit_after>module Skellington
  class Generator
    attr_reader :wormname, :camelname, :files, :gems

    def initialize wormname
      @wormname = wormname
      @camelname = Skellington.camelise(@wormname)
      @gems = config['gems']
      @files = config['files']
    end

    def config
      @config ||= YAML.load File.read File.join File.dirname(__FILE__), '..', '..', 'config/config.yaml'
    end

    def run
      generate
      git_init
      post_run
    end
{'fraction_non_alphanumeric': 0.12098298676748583, 'fraction_numerical': 0.000945179584120983, 'mean_word_length': 2.6391752577319587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '2824544', 'n_tokens_mistral': 352, 'n_tokens_neox': 331, 'n_words': 81}