<commit_before>require "set"
require "active_support/core_ext/module/attribute_accessors"
require "active_support/core_ext/regexp"

module ActiveRecord
  class MigrationError < ActiveRecordError#:nodoc:
    def initialize(message = nil)
      message = "\n\n#{message}\n\n" if message
      super
    end
  end

  # Exception that can be raised to stop migrations from being rolled back.<commit_msg>Add missing require for zlib<commit_after>require "set"
require "zlib"
require "active_support/core_ext/module/attribute_accessors"
require "active_support/core_ext/regexp"

module ActiveRecord
  class MigrationError < ActiveRecordError#:nodoc:
    def initialize(message = nil)
      message = "\n\n#{message}\n\n" if message
      super
    end
  end

  # Exception that can be raised to stop migrations from being rolled back.
{'fraction_non_alphanumeric': 0.0821256038647343, 'fraction_numerical': 0.0, 'mean_word_length': 4.348387096774194, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1549985', 'n_tokens_mistral': 243, 'n_tokens_neox': 240, 'n_words': 71}