SessionRegInfo

Source: SessionReg.js:226

This object stores the global results of a SessionReg


Constructor

new SessionRegInfo( sReg: module:report/SessionReg.SessionReg, ): SessionRegInfo

SessionRegInfo constructor

Parameters


Instance Methods

clear()

Clears all data associated with this working session

recalc(): module:report/SessionReg.SessionRegInfo

Computes the value of all global variables based on the data stored in sequences

Returns

Instance Fields

sReg: module:report/SessionReg.SessionReg

The SessionReg linked to this Info object

valid: boolean

When false, this session info needs to be recalculated

numSequences: number

Number of sequences played

nActivities: number

Number of activities played

nActSolved: number

Number of activities solved

nActScore: number

Number of activities with score > 0

ratioSolved: number

Percentage of solved activities

ratioPlayed: number

Percentage of reportable activities played

nActions: number

Number of actions done by the user while in this working session

tScore: number

Sum of the scores of all the activities played

tTime: number

Sum of the playing time reported by each activity (not always equals to the session's total time)