<commit_before>module Gubbara
  module ApplicationHelper
    def list_notice
      session[:hidden_notices] ? @notices = Gubbara::Notice.where("gubbara_notices.id not in (?)", session[:hidden_notices]) : @notices = Gubbara::Notice.all
      concat(render(:partial => 'gubbara/application/fetch_notices', locale: {notices: @notices}))
    end
  end
end<commit_msg>removed the issue of two elements coming while listing notice<commit_after>module Gubbara
  module ApplicationHelper
    def list_notice
      session[:hidden_notices] ? @notices = Gubbara::Notice.where("gubbara_notices.id not in (?)", session[:hidden_notices]) : @notices = Gubbara::Notice.all
      render(:partial => 'gubbara/application/fetch_notices', locale: {notices: @notices})
    end
  end
end
{'fraction_non_alphanumeric': 0.12010443864229765, 'fraction_numerical': 0.0, 'mean_word_length': 5.286885245901639, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '239096', 'n_tokens_mistral': 243, 'n_tokens_neox': 238, 'n_words': 52}