<commit_before>LIB_PATH = File.join(
    File.expand_path( File.dirname __FILE__ ), 'lib'
  )

require File.join( LIB_PATH, 'migration_helper' )

ActiveRecord::ConnectionAdapters::AbstractAdapter.
  send :include, MigrationConstraintHelpers<commit_msg>extend migration instead of require module in the adapter, because this one now declares primary_key method<commit_after>LIB_PATH = File.join(
    File.expand_path( File.dirname __FILE__ ), 'lib'
  )

require File.join( LIB_PATH, 'migration_helper' )

ActiveRecord::Migration.extend MigrationConstraintHelpers
{'fraction_non_alphanumeric': 0.09090909090909091, 'fraction_numerical': 0.0, 'mean_word_length': 6.394736842105263, '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': '3323533', 'n_tokens_mistral': 167, 'n_tokens_neox': 163, 'n_words': 40}