{#each questions as question, i}
{#if question.type !== QuizQuestionType.VOTING} {@const correct_answers = get_number_of_correct_answers(i)}

{$t('result_page.average_score', { average_score: get_average_score(i) })}

{$t('result_page.correct_answer', { count: correct_answers })}

{/if}
{#if question_open === i}
{/if}
{/each}