<commit_before>class Dev::MainController < Dev::BaseController
  include Dev::DashboardHelper
  include Dev::NintiesMoviesHelper
  include PrettyUrlHelper

  # before_filter :cleanup_database, except: [:last_email, :use_last_login_token, :index, :accept_last_invitation]

  def index
    @routes = self.class.action_methods.select do |action|
      action.starts_with?('setup') || action.starts_with?('view')
    end
    render layout: false
  end

  def setup_thread_mailer_new_discussion_email
    @group = FormalGroup.create!(name: 'Dirty Dancing Shoes')
    @group.add_admin!  patrick
    @group.add_member! jennifer

    @discussion = Discussion.create(title: 'What star sign are you?',
                                     group: @group,
                                     description: "Wow, what a __great__ day.",
                                     make_announcement: true,<commit_msg>whooops, need this for tests<commit_after>class Dev::MainController < Dev::BaseController
  include Dev::DashboardHelper
  include Dev::NintiesMoviesHelper
  include PrettyUrlHelper

  before_filter :cleanup_database, except: [:last_email, :use_last_login_token, :index, :accept_last_invitation]

  def index
    @routes = self.class.action_methods.select do |action|
      action.starts_with?('setup') || action.starts_with?('view')
    end
    render layout: false
  end

  def setup_thread_mailer_new_discussion_email
    @group = FormalGroup.create!(name: 'Dirty Dancing Shoes')
    @group.add_admin!  patrick
    @group.add_member! jennifer

    @discussion = Discussion.create(title: 'What star sign are you?',
                                     group: @group,
                                     description: "Wow, what a __great__ day.",
                                     make_announcement: true,
{'fraction_non_alphanumeric': 0.09075816270060874, 'fraction_numerical': 0.0, 'mean_word_length': 2.7983193277310923, 'pattern_counts': {'":': 0, '<': 5, '<?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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5201338', 'n_tokens_mistral': 537, 'n_tokens_neox': 512, 'n_words': 117}