app/helpers/review_mapping_helper.rb
def num_suggestions_reviewer(responses)
	if responses
		comments=""
		responses.each_pair do |k,v|
		  comments+=v[:comment]
		end
		num_suggestions_for_responses_by_a_reviewer(comments)
	else
		return 0;
	end
  end
#gives number of suggestion per team per student
gives number of suggestion per team per student
gives number of suggestion per team per student
def num_suggestions_reviewer(responses)
	if responses
		comments=""
		responses.each_pair do |k,v|
		  comments+=v[:comment]
		end
		num_suggestions_for_responses_by_a_reviewer(comments)
	else
		return 0;
	end
  end
def num_suggestions_reviewer ( responses ) if responses comments = "" responses . each_pair do | k , v | comments += v [ :comment ] end num_suggestions_for_responses_by_a_reviewer ( comments ) else return 0 ; end end
gives number of suggestion per team per student
gives number of suggestion per team per student
responses