<commit_before>class Request

  attr_accessor :path_info

end

class Helper

  include ForumUsersHelper
  include ForumThreadsHelper
  include ForumPostsHelper
  include ApplicationHelper
  include RoutesHelper
  # include PathsHelper
  include TitlesHelper
  include TaglinesHelper

  ATTR_ARRAY = [
    :session,
    :user_posts,
    :threads,
    :users,
    :thread_posts,
    :slug,
    :params,
    :request,
    :thread
  ]

  ATTR_ARRAY.each { |attr| attr_accessor attr }

  def initialize
    self.request = Request.new
    self.params = {}<commit_msg>class Helper of the rspec tests now initializes its session as an empty hash<commit_after>class Request

  attr_accessor :path_info

end

class Helper

  include ForumUsersHelper
  include ForumThreadsHelper
  include ForumPostsHelper
  include ApplicationHelper
  include RoutesHelper
  # include PathsHelper
  include TitlesHelper
  include TaglinesHelper

  ATTR_ARRAY = [
    :session,
    :user_posts,
    :threads,
    :users,
    :thread_posts,
    :slug,
    :params,
    :request,
    :thread
  ]

  ATTR_ARRAY.each { |attr| attr_accessor attr }

  def initialize
    self.request = Request.new
    self.params = {}
    self.session = {}
{'fraction_non_alphanumeric': 0.06462303231151616, 'fraction_numerical': 0.0, 'mean_word_length': 3.2535211267605635, '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': '7247616', 'n_tokens_mistral': 384, 'n_tokens_neox': 369, 'n_words': 98}