<commit_before>begin
  # Require the preresolved locked set of gems.
  require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
  # Fallback on doing the resolve at runtime.
  require "rubygems"
  require "bundler"
  Bundler.setup
end

require 'sinatra/base'
require 'haml'
require 'rack-flash'
require 'active_support'

require 'dm-core'
require 'dm-types'
require 'dm-aggregates'
require 'dm-timestamps'
require 'dm-validations'
require 'dm-is-list'
require 'dm-is-tree'

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate', 'finders', 'data_mapper'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate', 'view_helpers', 'base'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate', 'view_helpers', 'link_renderer'))

WillPaginate::ViewHelpers::LinkRenderer.class_eval do
  protected<commit_msg>Don't require main will_paginate file<commit_after>begin
  # Require the preresolved locked set of gems.
  require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
  # Fallback on doing the resolve at runtime.
  require "rubygems"
  require "bundler"
  Bundler.setup
end

require 'sinatra/base'
require 'haml'
require 'rack-flash'
require 'active_support'

require 'dm-core'
require 'dm-types'
require 'dm-aggregates'
require 'dm-timestamps'
require 'dm-validations'
require 'dm-is-list'
require 'dm-is-tree'

# require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate', 'finders', 'data_mapper'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate', 'view_helpers', 'base'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'will_paginate', 'lib', 'will_paginate', 'view_helpers', 'link_renderer'))

WillPaginate::ViewHelpers::LinkRenderer.class_eval do
  protected
{'fraction_non_alphanumeric': 0.15679124886052873, 'fraction_numerical': 0.0, 'mean_word_length': 6.621527777777778, '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': '601727', 'n_tokens_mistral': 745, 'n_tokens_neox': 745, 'n_words': 157}