<commit_before>class Admin::DashboardController < Admin::BaseController
  require 'open-uri'
  require 'time'
  require 'rexml/document'
  
  def index
    comments
    lastposts
    popular
    statistics
    inbound_links
    typo_dev
  end
  
  private
  <commit_msg>Forgot something with the dashboard<commit_after>class Admin::DashboardController < Admin::BaseController
  require 'open-uri'
  require 'time'
  require 'rexml/document'
  
  def index
    @newposts = Article.count(:all, :conditions => ['published = ? and published_at > ?', true, current_user.last_venue])
    @newcomments = Feedback.count(:all, :conditions =>['state in (?,?) and published_at > ?', 'presumed_ham', 'ham', current_user.last_venue])
    comments
    lastposts
    popular
    statistics
    inbound_links
    typo_dev
  end
  
  private
  
{'fraction_non_alphanumeric': 0.09915356711003627, 'fraction_numerical': 0.0, 'mean_word_length': 3.6779661016949152, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '243922', 'n_tokens_mistral': 257, 'n_tokens_neox': 257, 'n_words': 60}