Repository navigation
feat(dynamic-assess): preview the whole Dynamic Assess pool [SBCOSS-1… - #8
Merged
pallakartheekreddy merged 1 commit intoNov 3, 2026
Conversation
…190] - The ECML preview renders the full generated body, so the creator and reviewer see every question; learners get their own draw in the portal - Remove the now-unused per-user draw (ecmlBodyForUser, pickForLearner, seed helpers) and its tests
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the change to show the full generated question pool in the editor preview.
No open issues 🎉
What changed in this PR
This PR changes the editor’s Dynamic Assess preview to show the full generated question pool to creators and reviewers, while leaving learner-specific draws to the portal.
Changes:
- Pass the full generated body to the renderer through both
dataandmetadata.body. - Remove unused per-user draw and seed helpers, along with their tests.
- Update preview tests to verify that the full pool is preserved.
| File | Description |
|---|---|
src/dynamicAssessDraw.ts |
Removes learner-draw helpers while retaining pool settings and generation checks. |
src/dynamicAssessDraw.test.ts |
Removes tests for the deleted draw functionality. |
src/components/EditorPreview.tsx |
Sends the full Dynamic Assess body to the preview renderer. |
src/components/EditorPreview.test.tsx |
Verifies full-pool preview data and unchanged metadata body. |
Review effort: Balanced
pallakartheekreddy
approved these changes
Nov 3, 2026
Merged
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.
…190]