<commit_before>class TwitterController < ApplicationController
  include ERB::Util
  include ApplicationHelper
  include FiltersHelper
  # GET /twitter_timelines
  # GET /twitter_timelines.json
  def index
    if !user_signed_in? || ((!current_user.provider != nil) && (!current_user.provider.include? "twitter"))
      flash[:error] = t("twitter.err.notlogged")
      begin
        redirect_to(:back)
      rescue ActionController::RedirectBackError
        redirect_to root_path
      end<commit_msg>fix bug from previous commit for<commit_after>class TwitterController < ApplicationController
  include ERB::Util
  include ApplicationHelper
  include FiltersHelper
  # GET /twitter_timelines
  # GET /twitter_timelines.json
  def index
    if !user_signed_in? || ((current_user.provider != nil) && (!current_user.provider.include? "twitter"))
      flash[:error] = t("twitter.err.notlogged")
      begin
        redirect_to(:back)
      rescue ActionController::RedirectBackError
        redirect_to root_path
      end
{'fraction_non_alphanumeric': 0.09295499021526418, 'fraction_numerical': 0.0, 'mean_word_length': 3.966019417475728, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6524', 'n_tokens_mistral': 281, 'n_tokens_neox': 282, 'n_words': 64}