You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: runestone/hparsons/hparsons.py
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,7 @@ class HParsonsDirective(Assessment):
92
92
:textentry: if you will use text entry instead of horizontal parsons
93
93
:hidetests: if the unittests will be hidden from learners
94
94
:nostrictmatch: if the answer is required to match the whole string. if not selected, the tool will add ^ and $ automatically to the answer to force matching the full string. This does not affect the test string area.
95
+
:language: SQL or regex
95
96
96
97
--problem--
97
98
Here is the problem description.
@@ -102,13 +103,13 @@ class HParsonsDirective(Assessment):
102
103
--explanations--
103
104
explanations for block 1
104
105
explanations for block 2
105
-
--positive test string--
106
+
--positive test string-- (this is only for regex)
106
107
this is some positive test string.
107
108
it can be more than one line.
108
109
just ignore this section if you do not want to put anything in there.
0 commit comments