milestone(SNNBot): 48% hit rate, grid accumulator with warm-start + frozen DECIDE snapshot — pausing for BNNBot exploration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 22:13:35 +02:00
parent 8289488e13
commit 85005c1c27
9 changed files with 754 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
// Minimal quiz widget — shared across lessons
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('.quiz').forEach(quiz => {
const radios = quiz.querySelectorAll('input[type="radio"]');
const feedbackCorrect = quiz.querySelector('.feedback.correct');
const feedbackWrong = quiz.querySelector('.feedback.wrong');
radios.forEach(radio => {
radio.addEventListener('change', () => {
if (feedbackCorrect) feedbackCorrect.style.display = 'none';
if (feedbackWrong) feedbackWrong.style.display = 'none';
if (radio.dataset.correct === 'true') {
if (feedbackCorrect) feedbackCorrect.style.display = 'block';
} else {
if (feedbackWrong) feedbackWrong.style.display = 'block';
}
});
});
});
});