feat(quiz): add matching, ordering, coding, and essay question types#59
Open
nymulinfoinlet wants to merge 1 commit intomainfrom
Open
feat(quiz): add matching, ordering, coding, and essay question types#59nymulinfoinlet wants to merge 1 commit intomainfrom
nymulinfoinlet wants to merge 1 commit intomainfrom
Conversation
Expand the quiz system from 4 to 8 question types to support deeper assessments. New types include partial credit scoring (matching, ordering), auto-graded code execution via code-sandbox service (coding), and AI-evaluated long-form answers with rubric-based feedback (essay). Closes #46 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
matching,ordering,coding,essay) to the quiz system, expanding from 4 to 8 supported typesFREE_QUIZ_TYPESgate unchanged)Changes
quiz-generator.service.ts— ExtendedQuestionTypeunion, added metadata interfaces (MatchingPair,CodingTestCase), updated AI generation prompts with new type schemasquiz.service.ts— AddedCodeSandboxServiceandAiServicedependencies,metadatafield onQuizQuestion,score/feedbackfields onQuizAttemptAnswer, new grading methods (checkMatchingAnswer,checkOrderingAnswer,checkCodingAnswer,checkEssayAnswer) with partial creditquiz.module.ts— ImportedCodeSandboxModuleTest plan
npx tsc --noEmitpasses with 0 errorsCloses #46
🤖 Generated with Claude Code