Up to [LON-CAPA] / loncom / homework / templates
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
- Required change omitted from rev. 1.4 commit.
- Bug 2802. - Separate decision on leniency in grading from logic on whether additional new submission is possible for partially correct problem parts. - new parameter: retrypartial set to "yes" if part is to be answerable when partially correct. - custompartial.problem template incorporates retrypartial parameter in place of lenient parameter. - points awarded > 1 no longer considered 'partially correct'. - &grading_is_nonlenient() moved from inputtags.pm back to optionresponse.pm
- Bug 2802. - optionresponse::is_nonlenient() moved to inputtags::grading_is_nonlenient() to facilitate re-use. - where solved is "correct", awarded value < 1 permits new submission, only if lenient grading applies. - add lenient parameter to custompartial.problem template.
Consistent problem templates: - New line after each tag (not for texts in foils) - One empty row after each end tag and before new start tag for second level tags - No indentation for second level tags, e.g. <script> - Four white spaces as indentation for each further sub level Exceptions: -Content (mostly text) in separate line(s): no indentation - Concept groups: same indentation as foilgroup (allows to insert code from problems without concept groups without changing the indentation and vice versa) - No new line at end of template - Removed new lines from within the middle of default texts - Added one blank each after "<m>$" and before "$</m>" to ensure no misinterpretation neither by human nor by machine (e.g. "<m>$x" is not "<m>$ $x") - Replaced deprecated font tag in <instructorcomment> by CSS - Removed dos line endings - dos2unix conversion (ClickImageExample.problem, RandomLabelExample.problem, SimpleMatching.problem)
Bug #2802: partial credit multiple answers