<commit_before>class SitesController < ApplicationController
  # GET /sites
  # GET /sites.xml
  def index
    @sites = Site.find(:all)

    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @sites }<commit_msg>[web] disable sites_controller from normal users<commit_after>class SitesController < ApplicationController

  before_filter :admin_authorization

  # GET /sites
  # GET /sites.xml
  def index
    @sites = Site.find(:all)

    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @sites }
{'fraction_non_alphanumeric': 0.1013745704467354, 'fraction_numerical': 0.0, 'mean_word_length': 3.2246376811594204, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4421765', 'n_tokens_mistral': 190, 'n_tokens_neox': 174, 'n_words': 47}