<commit_before>class AspectsController < ApplicationController
	before_filter :check_visitor
	before_filter :check_role

	def index
		@aspects = Aspect.all
		@quiz_questions = Question.quiz.order('content')
	end

end<commit_msg>Generate 4 random questions for the quiz<commit_after>class AspectsController < ApplicationController
	before_filter :check_visitor
	before_filter :check_role

	def index
		@aspects = Aspect.all
		@quiz_questions = Question.quiz.sample(4)
	end

end
{'fraction_non_alphanumeric': 0.06722689075630252, 'fraction_numerical': 0.004201680672268907, 'mean_word_length': 6.119402985074627, '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': '1065489', 'n_tokens_mistral': 163, 'n_tokens_neox': 152, 'n_words': 35}