{#each templates as template (template.id)}
{my_tpls[template.id] = !my_tpls[template.id]; autoCorrection(response.id_user, my_tpls).then((r) => my_correction = r); }} checked={my_tpls[template.id]} >
{/each}
{#if my_correction} {/if} /100
{#if my_correction}
100} class:alert-success={my_correction.score >= 95 && my_correction.score <= 100} class:alert-info={my_correction.score < 95 && my_correction.score >= 70} class:alert-warning={my_correction.score < 70 && my_correction.score >= 45} class:alert-danger={my_correction.score < 45} > {my_correction.score} %
{my_correction.score_explaination}
{/if}