-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create helper to build public widget options for Matcher #2156
base: main
Are you sure you want to change the base?
Conversation
…options And add type definition of the public widget options
…c widget option functions
…rt function to filter out rubric data from widget options for the Matcher widget
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (8266eac) and published it to npm. You Example: yarn add @khanacademy/perseus@PR2156 If you are working in Khan Academy's webapp, you can run: ./dev/tools/bump_perseus_version.sh -t PR2156 |
Size Change: +1.06 kB (+0.07%) Total Size: 1.48 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Please check my comments as one of them (how to remove the order information) should be resolved before landing. Thanks!
…unction And update tests
Removes reference to problemNum as the seed
…pects New shuffles result from the new hashed seed. Add expects to make it clear when and which columns should not be equal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whew, I had a bunch of nitpicky comments. The approach you did her is good though! Thanks for taking this through a few rounds as we all figure out how we want to handle this.
Some is from a stacked PR that I'm also implementing here
Summary:
Adds a function that takes a Matcher widget's full widget options and removes correct order information. Some additional shuffling logic has been added to allow shuffling to occur server-side.
It also adds this function to the widget's widget export and adds a test confirming the function works as expected.
Issue: LEMS-2761
Test plan: