<commit_before>require 'acts_as_xlsx/ar.rb'
begin
  # The mime type to be used in respond_to |format| style web-services in rails
  Mime::Type.register "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", :xlsx
rescue NameError
  puts "Mime module not defines. Skipping registration of xlsx"
end<commit_msg>only register the mime type if it is undefined<commit_after>require 'acts_as_xlsx/ar.rb'
begin
  # The mime type to be used in respond_to |format| style web-services in rails
  unless defined? Mime::XLSX
    Mime::Type.register "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", :xlsx
  end
rescue NameError
  puts "Mime module not defines. Skipping registration of xlsx"
end
{'fraction_non_alphanumeric': 0.07681564245810056, 'fraction_numerical': 0.0, 'mean_word_length': 5.345132743362832, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3905598', 'n_tokens_mistral': 238, 'n_tokens_neox': 233, 'n_words': 73}