Bug
app/sem4/os/components/ChapterQuizInline.tsx:31 advertises Math.min(5, quiz.questions.length) questions, but the quiz it launches runs up to 10 questions (app/quiz/[slug]/QuizClient.tsx:63 sets const total = Math.min(10, quiz.questions.length)).
Impact
Every chapter inline quiz (OS, DSC, COA, C, OOPS, EM, etc.) shows "5 questions" on its start card but delivers 10 questions once started. Users who budget for a 5-question module quiz are surprised by a full 10-question quiz, and the advertised length is simply wrong.
Expected
The start-card question count should match the actual quiz length. Either show Math.min(10, quiz.questions.length) on the card, or pass a limit of 5 to the quiz.
Files
app/sem4/os/components/ChapterQuizInline.tsx:31
app/quiz/[slug]/QuizClient.tsx:63
Bug
app/sem4/os/components/ChapterQuizInline.tsx:31advertisesMath.min(5, quiz.questions.length)questions, but the quiz it launches runs up to 10 questions (app/quiz/[slug]/QuizClient.tsx:63setsconst total = Math.min(10, quiz.questions.length)).Impact
Every chapter inline quiz (OS, DSC, COA, C, OOPS, EM, etc.) shows "5 questions" on its start card but delivers 10 questions once started. Users who budget for a 5-question module quiz are surprised by a full 10-question quiz, and the advertised length is simply wrong.
Expected
The start-card question count should match the actual quiz length. Either show
Math.min(10, quiz.questions.length)on the card, or pass alimitof 5 to the quiz.Files
app/sem4/os/components/ChapterQuizInline.tsx:31app/quiz/[slug]/QuizClient.tsx:63