<commit_before>unless CANVAS_RAILS2
  Rails.application.config.to_prepare do
    Switchman::Shard.class_eval do
      class << self
        alias :birth :default unless instance_methods.include?(:birth)<commit_msg>fix rails 3 shard deserialization into rails 2<commit_after>if CANVAS_RAILS2
  module Switchman
    Shard = ::Shard
  end
else
  Rails.application.config.to_prepare do
    Switchman::Shard.class_eval do
      class << self
        alias :birth :default unless instance_methods.include?(:birth)
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.007889546351084813, 'mean_word_length': 4.1313131313131315, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4205935', 'n_tokens_mistral': 166, 'n_tokens_neox': 155, 'n_words': 38}