StudentLessonActs Methods | CSAL Mongo Access Library |
The StudentLessonActs type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AdhocCorrectAnswerRate |
Return the correct answer rate (from 0.0 to 1.0 inclusive) for the
lesson recorded by the Turns from index start to index end
| |
CorrectAnswerRate |
Return the correct answer rate (from 0.0 to 1.0 inclusive) for the
last lesson
| |
CurrentLessonPath |
Return a string summarizing the student's latest path through the
lesson. If they stayed in medium the whole time, return empty
string. If their path was (Start/Medium)=>Hard=>Medium=>Easy return
HME
| |
CurrentReadingTime |
Total time spent reading (as calculated by ReadingTime) on last
lesson (as identified by LastAttemptIndex)
| |
CurrentTotalTime |
Total time spent on lesson (as calculated by TotalTime) on last
lesson (as identified by LastAttemptIndex)
| |
Equals | (Inherited from Object.) | |
FixupTimestamps |
Because things can hit the server out of order (or in case of test
data, simultaneously), we insure that the DB timestamps are correct
by using the Duration field. Note that this is a hack to approximate
time in the event we didn't receive the turns with correct ordering/spacing
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LastAttemptIndex |
Index of the beginning of the last attempt
| |
LastCompleted |
Return true if last lesson (as identified by LastAttemptIndex)
has been completed (as identified by SequenceCompleted)
| |
LessonPath |
String representation of the path taken by the lesson attempt
recorded by Turns from index start to index end
| |
ReadingTime |
Return time spent reading (in ms) during lesson described by Turns stored
from index start to index end
| |
SequenceCompleted |
Return true if the lesson described by turns between indexes start
and end is completed.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TotalTime |
Return total time spent (in ms) on the lesson described by Turns stored
from index start to index end
|
See Also