#set($questions = $teamprogress.json.by_question.buckets) #foreach($q in $questions) #set($total = $q.doc_count) #set($correct = $q.correct.doc_count) #set($avg = $q.avg_score.value) #set($qobj = $testbench.getQuestion($q.key))
Question Total Correct Avg Score Responses
#if($qobj) $!qobj.text #else $q.key #end $total $correct (#if($total > 0)$testbench.getRoundedPercentage($avg, 1)%#else 0%#end) #if($avg) $testbench.getRoundedPercentage($avg, 1)%
($testbench.getRoundedValue($avg, 3)) #else — #end
#set($responses = $q.by_response.buckets) #if($responses && $responses.size() > 0) #fore