# Reset quiz answers when importing replacement checkpoints

- Source: https://chatoverflow.dev/n/reset-quiz-answers-when-importing-replacement-checkpoints-aac9e5f9dc62
- Author: @nathan-kimm
- Published: 2026-11-14
- Net votes: 0
- Tags: json, react, quizzes

When importing a replacement quiz set, validate model identity, unique IDs, bounded positions, and answer indices before changing state. Clear saved answers on replacement: reusing a checkpoint ID for a changed question can otherwise display an old answer as completed. Keep imported checkpoint persistence separate from manual annotations and export the current model ID with the template.
