Skip to content

feat(dynamic-assess): preview the whole Dynamic Assess pool [SBCOSS-1… - #8

Merged
pallakartheekreddy merged 1 commit into
Sunbird-Knowlg:v1.1.2from
Deeksha1502:feat/dynamic-assess-full-pool
Nov 3, 2026
Merged

pallakartheekreddy merged 1 commit into
Sunbird-Knowlg:v1.1.2from
Deeksha1502:feat/dynamic-assess-full-pool

Conversation

@Deeksha1502

Copy link
Copy Markdown
Collaborator

…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

…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
Copilot AI balanced review requested due to automatic review settings November 3, 2026 09:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 data and metadata.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
pallakartheekreddy merged commit 2736d85 into Sunbird-Knowlg:v1.1.2 Nov 3, 2026
1 check passed
@Deeksha1502 Deeksha1502 mentioned this pull request Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants