forked from Khan/khan-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize message for unanswered custom problems.
When a custom problem is not answered the validator is expected to return an empty string result. The score is then marked as empty. The special empty string is now converted to null right away, rather than being passed as a message further into the framework. This makes custom exercises display "more parts to answer" when a user just clicks "Check Answer" without doing anything.
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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