<commit_before># encoding: utf-8

module Faker
  module CompanyIT
    extend ModuleUtils
    extend self

    def name
      case rand(2)
      when 0 then "#{NameIT.last_name} #{suffix}"
      when 1 then "#{NameIT.last_name} e #{NameIT.last_name} #{suffix}"
      when 2 then "#{prefix} #{NameIT.last_name}"
      end
    end

    def suffix
      SUFFIXES.rand
    end
    
    def prefix
      PREFIXES.sample
    end
    
    PREFIXES = k ["Studio Legale", "Studio Tecnico", "Laboratorio"]
    SUFFIXES = k %w(S.p.a. s.r.l. s.n.c. Avvocati Architetti Ingegneri)

  end
end<commit_msg>fix for 1.8<commit_after># encoding: utf-8

module Faker
  module CompanyIT
    extend ModuleUtils
    extend self

    def name
      case rand(2)
      when 0 then "#{NameIT.last_name} #{suffix}"
      when 1 then "#{NameIT.last_name} e #{NameIT.last_name} #{suffix}"
      when 2 then "#{prefix} #{NameIT.last_name}"
      end
    end

    def suffix
      SUFFIXES.rand
    end

    def prefix
      PREFIXES.rand
    end

    PREFIXES = k ["Studio Legale", "Studio Tecnico", "Laboratorio"]
    SUFFIXES = k %w(S.p.a. s.r.l. s.n.c. Avvocati Architetti Ingegneri)

  end
end
{'fraction_non_alphanumeric': 0.11234991423670669, 'fraction_numerical': 0.010291595197255575, 'mean_word_length': 2.353448275862069, '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': '7214760', 'n_tokens_mistral': 456, 'n_tokens_neox': 424, 'n_words': 119}