mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-21 13:31:55 -05:00
[PR #1035] [MERGED] fix(quizzes): correct MCQ answer explanations and add validation #1079
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1035
Author: @profvjreddi
Created: 11/5/2025
Status: ✅ Merged
Merged: 11/5/2025
Merged by: @profvjreddi
Base:
dev← Head:issue-1034-fix-mcq-answer-references📝 Commits (1)
5b73a40fix(quizzes): correct MCQ answer explanations and add validation📊 Changes
22 files changed (+399 additions, -51 deletions)
View changed files
📝
quarto/contents/core/ai_for_good/ai_for_good_quizzes.json(+1 -1)📝
quarto/contents/core/benchmarking/footnote_context_quizzes.json(+4 -4)📝
quarto/contents/core/conclusion/footnote_context_quizzes.json(+1 -1)📝
quarto/contents/core/data_engineering/data_engineering_quizzes.json(+1 -1)📝
quarto/contents/core/dl_primer/dl_primer_quizzes.json(+2 -2)📝
quarto/contents/core/dnn_architectures/dnn_architectures_quizzes.json(+2 -2)📝
quarto/contents/core/efficient_ai/efficient_ai_quizzes.json(+3 -3)📝
quarto/contents/core/frameworks/footnote_context_quizzes.json(+1 -1)📝
quarto/contents/core/frameworks/frontiers_quizzes.json(+2 -2)📝
quarto/contents/core/frontiers/frontiers_quizzes.json(+2 -2)📝
quarto/contents/core/hw_acceleration/hw_acceleration_quizzes.json(+5 -5)📝
quarto/contents/core/introduction/introduction_quizzes.json(+1 -1)📝
quarto/contents/core/ml_systems/footnote_context_quizzes.json(+1 -1)📝
quarto/contents/core/ondevice_learning/ondevice_learning_quizzes.json(+3 -3)📝
quarto/contents/core/ops/ops_quizzes.json(+4 -4)📝
quarto/contents/core/optimizations/optimizations_quizzes.json(+1 -1)📝
quarto/contents/core/privacy_security/privacy_security_quizzes.json(+2 -2)📝
quarto/contents/core/responsible_ai/responsible_ai_quizzes.json(+2 -2)📝
quarto/contents/core/robust_ai/footnote_context_quizzes.json(+5 -5)📝
quarto/contents/core/robust_ai/robust_ai_quizzes.json(+4 -4)...and 2 more files
📄 Description
Addresses #1034
Summary
Fixed 47 instances across 20 quiz files where MCQ answer explanations incorrectly referenced the correct option as one of the incorrect options.
Changes
Fixed all quiz JSON files with incorrect option references
Created fix_mcq_answer_explanations.py script
Enhanced quizzes.py with validation and opt-in redistribution
Validation
Closes #1034
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.