<commit_before>module FFaker
  module Church
    extend ModuleUtils
    extend self

    def job_title
      "#{level} #{descriptor} #{job}"
    end

    private
    def level
      LEVELS.sample
    end

    def descriptor
      DESCRIPTORS.sample
    end

    def job
      JOBS.sample
    end

    LEVELS = k %w[Senior Campus Central Internal Associate Executive] unless const_defined? :LEVELS
    DESCRIPTORS = k %w[Administrative Children's Connections Creative Facilities High\ School Middle\ School Ministry Preschool Small\ Groups Spiritual\ Formation Worship Youth] unless const_defined? :DESCRIPTORS
    JOBS = k %w[Assistant Director Intern Minister Pastor] unless const_defined? :JOBS

  end
end<commit_msg>add cases for shorter job titles<commit_after>module FFaker
  module Church
    extend ModuleUtils
    extend self

    def job_title
      case rand(3)
        when 0 then "#{level} #{descriptor} #{job}"
        when 1 then "#{descriptor} #{job}"
        when 2 then "#{level} #{job}"
      end
    end

    private
    def level
      LEVELS.sample
    end

    def descriptor
      DESCRIPTORS.sample
    end

    def job
      JOBS.sample
    end

    LEVELS = k %w[Senior Campus Central Internal Associate Executive] unless const_defined? :LEVELS
    DESCRIPTORS = k %w[Administrative Children's Connections Creative Facilities High\ School Middle\ School Ministry Preschool Small\ Groups Spiritual\ Formation Worship Youth] unless const_defined? :DESCRIPTORS
    JOBS = k %w[Assistant Director Intern Minister Pastor] unless const_defined? :JOBS

  end
end
{'fraction_non_alphanumeric': 0.06198608475648324, 'fraction_numerical': 0.002530044275774826, 'mean_word_length': 3.015228426395939, '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': '6692847', 'n_tokens_mistral': 480, 'n_tokens_neox': 425, 'n_words': 164}