Extension for template-based practice problems#575
Open
gdancik wants to merge 17 commits intoswirldev:masterfrom
Open
Extension for template-based practice problems#575gdancik wants to merge 17 commits intoswirldev:masterfrom
gdancik wants to merge 17 commits intoswirldev:masterfrom
Conversation
…tion in parse_content.yaml
…cally save the answer in a variable, and type submit() when finished
…on-script problems
…en and may be tailored to the user's response
Member
|
Hi Garrett, I sincerely like all of these ideas but I honestly won't have the time to review your code with the required level of detail necessary until after New Years. Sorry for the delay. Sean |
Author
|
Hi Sean, No problem... I understand how busy things can get, especially this time of year. When you do have a chance to look at the code, don't hesitate to contact me if you have any questions. I've started using this extension in one of my courses this semester and hope to do a lot more with it in the same class next Fall.
|
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.
This pull request includes three changes:
Addition of template-based practice problems (currently described at https://github.com/gdancik/swirl-tbp), which allows instructors to specify question templates where values and other components are dynamically generated when the lesson is run.
Addition of a rpt() function that allows a user to repeat the previous question or a similar question if values are dynamically generated.
For each question, a HintFunction can be specified, which is the name of a function (provided in initLesson.R) that will be called when the user's response is not correct. This allows for more advanced hints (such as those including graphics) and hints that can be tailored based on the user's response.
An example lesson can be found here: https://github.com/gdancik/swirl-tbp/tree/swirl-tbp_example
From within R, install the lesson by typing
install_course_github("gdancik", "swirl-tbp", "swirl-tbp_example")