<commit_before>require "spec_helper"

describe "sanity" do
  describe "frozen mirations" do
    it "ensures deployed migrations have not changed" do
      migrations_digests = {
        "001_release_001.rb" => "55d3fa3763a8ebaac18b8c1a9ff7f053",
        "002_release_002.rb" => "983bbaf2307fd7c00f34a2242e5498b2",
        "003_release_003.rb" => "ef70f4e0dd6214f426fdd162d56e88c4",
        "004_release_004.rb" => "152f9acaad9708d938d0d797084c2687"
      }

      migrations_digests.each do |migration, digest|
        contents = File.read(Rails.root.join("db", "migrate", migration))

        Digest::MD5.hexdigest(contents).should == digest
      end
    end
  end
end<commit_msg>change md5 sanity hashes<commit_after>require "spec_helper"

describe "sanity" do
  describe "frozen mirations" do
    it "ensures deployed migrations have not changed" do
      migrations_digests = {
        "001_release_001.rb" => "a893705e0162076ba9416f805b13362e",
        "002_release_002.rb" => "ee6c0915268eca0f8a317c1a7e2048be",
        "003_release_003.rb" => "ef70f4e0dd6214f426fdd162d56e88c4",
        "004_release_004.rb" => "152f9acaad9708d938d0d797084c2687"
      }

      migrations_digests.each do |migration, digest|
        contents = File.read(Rails.root.join("db", "migrate", migration))

        Digest::MD5.hexdigest(contents).should == digest
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10327272727272727, 'fraction_numerical': 0.15636363636363637, 'mean_word_length': 3.6802721088435373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3190250', 'n_tokens_mistral': 635, 'n_tokens_neox': 527, 'n_words': 82}