Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Refactor Component API #1099

Merged
merged 31 commits into from Nov 13, 2020
Merged

Refactor Component API #1099

merged 31 commits into from Nov 13, 2020

Conversation

bnmnetp
Copy link
Member

@bnmnetp bnmnetp commented Nov 12, 2020

This PR accomplishes several big goals, that were all intertwined.

  1. All (gradable) components now support the API as defined in Consistent Component API #1087

  2. All gradable components now provide the server with a percentage. This means any component could be graded on percent correct.

  3. The timed exam code is much more modular and resilient. There should be no more spuriously logged incorrect answers etc. When selectquestion is used the questions are not selected until the student navigates to the question for the first time which eliminates any possibility of duplicate questions.

  4. General listing and cleanup. More of this could still be done.

refactoring continue to provide a standard interface all components.
Mostly work on the new API for components and testing them in and out of exam mode.
* selectquestion now works with new activecode format
* More reliable way to ensure questions are displayed properly
* **Success** the component_factory is now consistent for all except selectquestions
Big refactoring of the grade function.  Took out all of the feedback code and moved it to render feedback.
@bnmnetp bnmnetp merged commit c24093d into master Nov 13, 2020
@bnmnetp bnmnetp deleted the save_current branch November 24, 2020 21:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants