MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / filenames

Function filenames

pages/instructorQuestion/instructorQuestion.js:19–24  ·  view source on GitHub ↗
(locals)

Source from the content-addressed store, hash-verified

17const sql = sqlLoader.loadSqlEquiv(__filename);
18
19const filenames = function(locals) {
20 const prefix = sanitizeName.questionFilenamePrefix(locals.question, locals.course);
21 return {
22 questionStatsCsvFilename: prefix + 'stats.csv',
23 };
24};
25
26function processSubmission(req, res, callback) {
27 let variant_id, submitted_answer;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected