<commit_before>class PartyController < ApplicationController
  include YouTubeHelper
  respond_to :json

  def show
    @party = Party.find(session[:party_id])
    @comments = @party.comments
  end

  def new
    @party = Party.new
    @user = User.new
    @song = Song.new
  end

  def create
    @party = Party.new(party_params)
    @user = User.new(user_params)
    if @party.save && @user.save
      session[:party_id] = @party.id
      first = find(first_song[:name])<commit_msg>added model names to pages<commit_after>class PartyController < ApplicationController
  include YouTubeHelper
  respond_to :json

  def index
    @party = Party.new
    @user = User.new
    @song = Song.new
  end

  def show
    @party = Party.find(session[:party_id])
    @comments = @party.comments
  end

  def new
    @party = Party.new
    @user = User.new
    @song = Song.new
  end

  def create
    @party = Party.new(party_params)
    @user = User.new(user_params)
    if @party.save && @user.save
      session[:party_id] = @party.id
      first = find(first_song[:name])
{'fraction_non_alphanumeric': 0.10985915492957747, 'fraction_numerical': 0.0, 'mean_word_length': 2.933579335793358, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '6521411', 'n_tokens_mistral': 358, 'n_tokens_neox': 345, 'n_words': 84}