MCPcopy Create free account
hub / github.com/codecombat/codecombat / submitToRank

Function submitToRank

app/core/api/level-sessions.js:12–17  ·  view source on GitHub ↗
({ session, courseInstanceId }, options)

Source from the content-addressed store, hash-verified

10
11module.exports = {
12 submitToRank ({ session, courseInstanceId }, options) {
13 return fetchJson('/queue/scoring', _.merge({}, options, {
14 method: 'POST',
15 json: { session, courseInstanceId }
16 }))
17 },
18
19 getByStudentsAndLevels ({ earliestCreated, studentIds, levelOriginals, project }, options) {
20 return fetchJson('/db/level.session/-/levels-and-students', _.merge({}, options, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected