<commit_before>require File.expand_path('auxiliary', File.dirname(__FILE__))
require File.expand_path('log', File.dirname(__FILE__))
require File.expand_path('hash_object', File.dirname(__FILE__))
module DtkCommon
  module DSL    

    #TODO: just putting in hooks for errors and logs
    #need to figure out how to hook calling library's errors
    class Error < NameError
      def initialize(msg,name=nil)
        super(msg,name)
      end
    end
    class ErrorUsage < Error
    end<commit_msg>Another double defintion of the clasS<commit_after>require File.expand_path('auxiliary', File.dirname(__FILE__))
require File.expand_path('log', File.dirname(__FILE__))
require File.expand_path('hash_object', File.dirname(__FILE__))
module DtkCommon
  module DSL    

    #TODO: just putting in hooks for errors and logs
    #need to figure out how to hook calling library's errors
    class Error < NameError
      def initialize(msg,name=nil)
        super(msg,name)
      end
    end

{'fraction_non_alphanumeric': 0.08620689655172414, 'fraction_numerical': 0.0, 'mean_word_length': 3.984848484848485, 'pattern_counts': {'":': 0, '<': 6, '<?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': '7334925', 'n_tokens_mistral': 289, 'n_tokens_neox': 282, 'n_words': 88}