<commit_before>class NeighborhoodsController < ApplicationController
  def index

  end
  
  def initial
    session[:neighborhood] = params[:neighborhood_id]
    respond_to do |format|
    	format.html { redirect_to root_url }
    	format.js
    end
  end

  def show
    @neighborhood = Neighborhood.find(params[:id])
    @frugle_count = Frugle.find :all, :include => :business, :conditions => ["businesses.neighborhood_id = ?", @neighborhood.id ]
    @business_count = Business.find :all, :conditions => ["neighborhood_id = ?", @neighborhood.id ]
    if user_signed_in?<commit_msg>initial again<commit_after>class NeighborhoodsController < ApplicationController
  def index

  end
  
  def initial
    session[:neighborhood] = params[:neighborhood_id]
    respond_to do |format|
    	format.js
    end
  end

  def show
    @neighborhood = Neighborhood.find(params[:id])
    @frugle_count = Frugle.find :all, :include => :business, :conditions => ["businesses.neighborhood_id = ?", @neighborhood.id ]
    @business_count = Business.find :all, :conditions => ["neighborhood_id = ?", @neighborhood.id ]
    if user_signed_in?
{'fraction_non_alphanumeric': 0.11456483126110124, 'fraction_numerical': 0.0, 'mean_word_length': 4.099547511312217, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7309672', 'n_tokens_mistral': 370, 'n_tokens_neox': 347, 'n_words': 75}