<commit_before>class GameController < ApplicationController
	def game_run
		
	end
end<commit_msg>game_run action logic<commit_after>class GameController < ApplicationController
  def game_run
    
    #this redirect below needs a route

    redirect '/game_over' unless Quap.choices
    @metrics = Quap.metrics
    @current_user = User.find_by(id: session[:user_id])
    @answer_options = Quap.choices
    @correct_answer = @answer_options[0]
    @answer_options.shuffle!
  end
end
{'fraction_non_alphanumeric': 0.07484407484407485, 'fraction_numerical': 0.002079002079002079, 'mean_word_length': 4.355555555555555, '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': '6265563', 'n_tokens_mistral': 150, 'n_tokens_neox': 146, 'n_words': 35}