<commit_before>class PeopleController < ApplicationController
  before_action :set_person, only: [:show, :edit, :update, :destroy]

  skip_before_filter :authenticate_user!, if: :should_skip_janky_auth?
  skip_before_action :verify_authenticity_token, only: [:create]
  
  # GET /people
  # GET /people.json
  def index
    @people = Person.paginate(:page => params[:page]).order('signup_at DESC')
  end

  # GET /people/1
  # GET /people/1.json
  def show
    @comment = Comment.new commentable: @person
    @reservation = Reservation.new person: @person
    @tagging = Tagging.new taggable: @person
  end

  # GET /people/new
  def new
    @person = Person.new
  end

  # GET /people/1/edit
  def edit
  end

  # POST /people
  # POST /people.json
  def create
    from_wufoo = false
    uatest = request.headers["User-Agent"]
    if uatest = "Wufoo.com"
      if params['HandshakeKey'].present?
        if Logan::Application.config.wufoo_handshake_key != params['HandshakeKey']<commit_msg>fix tyo<commit_after>class PeopleController < ApplicationController
  before_action :set_person, only: [:show, :edit, :update, :destroy]

  skip_before_filter :authenticate_user!, if: :should_skip_janky_auth?
  skip_before_action :verify_authenticity_token, only: [:create]
  
  # GET /people
  # GET /people.json
  def index
    @people = Person.paginate(:page => params[:page]).order('signup_at DESC')
  end

  # GET /people/1
  # GET /people/1.json
  def show
    @comment = Comment.new commentable: @person
    @reservation = Reservation.new person: @person
    @tagging = Tagging.new taggable: @person
  end

  # GET /people/new
  def new
    @person = Person.new
  end

  # GET /people/1/edit
  def edit
  end

  # POST /people
  # POST /people.json
  def create
    from_wufoo = false
    uatest = request.headers["User-Agent"]
    if uatest == "Wufoo.com"
      if params['HandshakeKey'].present?
        if Logan::Application.config.wufoo_handshake_key != params['HandshakeKey']
{'fraction_non_alphanumeric': 0.11571500757958565, 'fraction_numerical': 0.003031834259727135, 'mean_word_length': 3.5205479452054793, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4106282', 'n_tokens_mistral': 687, 'n_tokens_neox': 666, 'n_words': 156}