<commit_before>$:.unshift(File.dirname(File.dirname(__FILE__)))
require 'clipp_test'

class TestBasic < CLIPPTestCase
  def test_trivial
    clipp(input: "echo:foo")
  end

  def test_body_before_header
    clipp(input: "htp:body_before_header.t")
  end
  
  def test_empty_header
    clipp(input: "raw:empty_header.req,empty_header.resp")
  end
  
  def test_http09
    clipp(input: "raw:http09.req,http09.resp")
  end
  
  def test_manyblank
    clipp(input: "raw:manyblank.req,manyblank.resp")
  end
end<commit_msg>tc_regression.rb: Strip trailing whitespace.<commit_after>$:.unshift(File.dirname(File.dirname(__FILE__)))
require 'clipp_test'

class TestBasic < CLIPPTestCase
  def test_trivial
    clipp(input: "echo:foo")
  end

  def test_body_before_header
    clipp(input: "htp:body_before_header.t")
  end

  def test_empty_header
    clipp(input: "raw:empty_header.req,empty_header.resp")
  end

  def test_http09
    clipp(input: "raw:http09.req,http09.resp")
  end

  def test_manyblank
    clipp(input: "raw:manyblank.req,manyblank.resp")
  end
end
{'fraction_non_alphanumeric': 0.11027332704995288, 'fraction_numerical': 0.011310084825636193, 'mean_word_length': 4.709677419354839, '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': '6019701', 'n_tokens_mistral': 411, 'n_tokens_neox': 396, 'n_words': 66}