Commit 88c98250 by Pavel Yushchenko

try edx openended

parent a4289de9
......@@ -238,7 +238,7 @@ Write a persuasive essay to a newspaper reflecting your vies on censorship in li
if(options[i].length > 0) {
var value = options[i].replace(/^\s+|\s+$/g,'');
var lower_option = value.toLowerCase();
type = lower_option.match(/(peer|self|ai)/gmi)
type = lower_option.match(/(peer|self|ai|edx)/gmi)
if(type != null) {
type = type[0]
var min_max = value.match(/\{\n?([^\]]*)\}/gmi);
......@@ -256,6 +256,9 @@ Write a persuasive essay to a newspaper reflecting your vies on censorship in li
} else if (type=="peer") {
config = "peer_grading.conf"
groupString += template(open_ended_template,{min_max_string: min_max_string, grading_config: config});
} else if (type=="edx") {
config = "edX"
groupString += template(open_ended_template,{min_max_string: min_max_string, grading_config: config});
} else if (type=="ai") {
config = "ml_grading.conf"
groupString += template(open_ended_template,{min_max_string: min_max_string, grading_config: config});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment