<commit_before># Add new locations of the controllers, models & helpers
ActionController::Base.view_paths << File.join(File.dirname(__FILE__), 'app', 'views')
%w( controllers models helpers ).each { |m| Dependencies.load_paths << File.join(File.dirname(__FILE__), 'app', m) }

# Libraries required
Dir[File.join(File.dirname(__FILE__), 'lib', '*.rb')].each { |lib| require lib }<commit_msg>Updated init.rb. Added sha1 requirement<commit_after># Add new locations of the controllers, models & helpers
ActionController::Base.view_paths << File.join(File.dirname(__FILE__), 'app', 'views')
%w( controllers models helpers ).each { |m| Dependencies.load_paths << File.join(File.dirname(__FILE__), 'app', m) }

# Load gems
%w( sha1 ).each { |lib| require lib }

# Libraries required
Dir[File.join(File.dirname(__FILE__), 'lib', '*.rb')].each { |lib| require lib }
{'fraction_non_alphanumeric': 0.16686114352392065, 'fraction_numerical': 0.002333722287047841, 'mean_word_length': 6.15, 'pattern_counts': {'":': 0, '<': 11, '<?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': '5332433', 'n_tokens_mistral': 279, 'n_tokens_neox': 270, 'n_words': 74}