Updated templates
Updating responsetype tests.
Updating other tests for PC
Putting OptionInput back the way it was.
Acceptance tests for partial credit
Testing tools
pep8
scss name fix
Missing }
icon fix
icon fix
The old line:
from path import path
produced pylint errors because of the baroque way that path.py defined
"path". We tried to get them to change how they defined it, but they
deleted the name instead: https://github.com/jaraco/path.py/issues/102
(Jason then changed his mind, but this is a better way to use path.py,
it avoids the pylint error at least.)
There's a move afoot to put assets inside individual Django apps,
instead of in upper-level "templates" directories. These i18n
configuration files have to take this into account.
.underscore files are easy to find by their unique file extension, so
the rule can be simple. Mako files are .html, so we have to be more
nuanced about it. We don't want to get pure HTML files, and we don't
want to get .html files for tests, even if they are Mako templates.
Squashed commit of the following:
commit 0f7c2af5f7b8caed575dd253a45299293b2729d7
Author: Colin-Fredericks <colin.fredericks@gmail.com>
Date: Tue Jun 30 12:04:43 2015 -0400
Forgot icon
commit b48970392741130f774709c54eb6e5ab0089812c
Author: Colin-Fredericks <colin.fredericks@gmail.com>
Date: Tue Jun 30 11:49:57 2015 -0400
OSPR-535 Partial Credit
Squashed commit of the following:
commit 6dd34f58f994e32d0d54bf1d67bffd04e0f8ef08
Author: Colin-Fredericks <cof945@dhcp-140-247-184-176.fas.harvard.edu>
Date: Tue Jun 30 11:44:01 2015 -0400
Fixing accidental overwrite.
commit 1ff8fc4b0e83b90356e8e8dce1022f49bfd162cf
Author: Colin-Fredericks <cof945@dhcp-140-247-184-176.fas.harvard.edu>
Date: Tue Jun 30 11:18:36 2015 -0400
OSPR-535 Partial Credit
Revised after first pull discussion.
Fixing scss typos
Fixing check/x display problem
Empty set is not []
Shuffling empty answer code to grade properly.
I don't think I ever wrote this in the first place...
Adding tests for MC and Checkbox
including proper partial-credit marking and scoring
Numerical and OptionResponse tests
Also a few improvements to NumericalResponse problem type and
exception-raising.
CustomResponse tests and more numerical tests
Increasing coverage and fixing typos
Exception added for pylint false positive
Hopefully fixing coverage issue
Retabulating line continuation
Bok Choy test for partial credit
Copypasta fix
Adding tooltip for partial credit
Improving and expanding comments
Minor fixes
Squashed commit of the following:
commit 0f7c2af5f7b8caed575dd253a45299293b2729d7
Author: Colin-Fredericks <colin.fredericks@gmail.com>
Date: Tue Jun 30 12:04:43 2015 -0400
Forgot icon
commit b48970392741130f774709c54eb6e5ab0089812c
Author: Colin-Fredericks <colin.fredericks@gmail.com>
Date: Tue Jun 30 11:49:57 2015 -0400
OSPR-535 Partial Credit
Squashed commit of the following:
commit 6dd34f58f994e32d0d54bf1d67bffd04e0f8ef08
Author: Colin-Fredericks <cof945@dhcp-140-247-184-176.fas.harvard.edu>
Date: Tue Jun 30 11:44:01 2015 -0400
Fixing accidental overwrite.
commit 1ff8fc4b0e83b90356e8e8dce1022f49bfd162cf
Author: Colin-Fredericks <cof945@dhcp-140-247-184-176.fas.harvard.edu>
Date: Tue Jun 30 11:18:36 2015 -0400
OSPR-535 Partial Credit
Revised after first pull discussion.
Fixing scss typos
Fixing check/x display problem
Empty set is not []
Shuffling empty answer code to grade properly.
I don't think I ever wrote this in the first place...
Adding tests for MC and Checkbox
including proper partial-credit marking and scoring
Numerical and OptionResponse tests
Also a few improvements to NumericalResponse problem type and
exception-raising.
CustomResponse tests and more numerical tests
Increasing coverage and fixing typos
Exception added for pylint false positive
Hopefully fixing coverage issue
Retabulating line continuation
Bok Choy test for partial credit
Copypasta fix
Adding tooltip for partial credit
Improving and expanding comments
Minor fixes
'distribute' is the ancestor of 'setuptools', and many packages require
setuptools to be installed.
Upgrade of MySQL-python from 1.2.4 to 1.2.5 is required because of an
incompatibility with setuptools>0.7.
Extends the common capa response types (string, numeric, multiple
choice, checkbox, dropdown) with feedback and hint
capabilities. "Feedback" refers to feedback shown to the student when
they check the problem, looking at their specific answer. "Hints"
refers to a Hint button in LMS which the student can click at any time
to see hints for that problem. The implementation extends the markdown
syntax to include feedback and hints. There are new Feedback-and-Hint
specific templates in Studio when the author clicks to add a new
problem.
when user try to update a problem the fieldset and legend solution for that
problem is lost because legend and fieldset are not added in the markdownToXml.
So added new markups where fieldset is to be added and used ```>><<``` markup for
legend.
AC-103