<commit_before>require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
#puts $LOAD_PATH.join("\n")
require 'tmpdir'

describe DruidTools::Druid do
  before (:all) do
    @fixture_dir = File.expand_path("../fixtures", __FILE__)
    FileUtils.rm_rf(File.join(@fixture_dir, 'cd'))
    @druid_1 = 'druid:cd456ef7890'
    @tree_1 = File.join(@fixture_dir, 'cd/456/ef/7890/cd456ef7890')
    @druid_2 = 'druid:cd456gh1234'
    @tree_2 = File.join(@fixture_dir, 'cd/456/gh/1234/cd456gh1234')<commit_msg>druid_spec: remove unnec require statements<commit_after>describe DruidTools::Druid do
  before (:all) do
    @fixture_dir = File.expand_path("../fixtures", __FILE__)
    FileUtils.rm_rf(File.join(@fixture_dir, 'cd'))
    @druid_1 = 'druid:cd456ef7890'
    @tree_1 = File.join(@fixture_dir, 'cd/456/ef/7890/cd456ef7890')
    @druid_2 = 'druid:cd456gh1234'
    @tree_2 = File.join(@fixture_dir, 'cd/456/gh/1234/cd456gh1234')
{'fraction_non_alphanumeric': 0.1627155172413793, 'fraction_numerical': 0.09913793103448276, 'mean_word_length': 5.071895424836601, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4075276', 'n_tokens_mistral': 435, 'n_tokens_neox': 384, 'n_words': 52}