<commit_before>require File.expand_path('../../test_helper', __FILE__)

class Ec2Test < Test::Unit::TestCase
  context "In production mode" do
    setup do
      Ec2.mode = :production<commit_msg>clear test mode calls during setup to fix breaking test<commit_after>require File.expand_path('../../test_helper', __FILE__)

class Ec2Test < Test::Unit::TestCase
  def setup
    Ec2.test_mode_calls = {}
  end

  context "In production mode" do
    setup do
      Ec2.mode = :production
{'fraction_non_alphanumeric': 0.11203319502074689, 'fraction_numerical': 0.01037344398340249, 'mean_word_length': 3.83, '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': '772737', 'n_tokens_mistral': 144, 'n_tokens_neox': 143, 'n_words': 42}