StudentLessonActs Members | CSAL Mongo Access Library |
The StudentLessonActs type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StudentLessonActs | Initializes a new instance of the StudentLessonActs class |
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
|
Properties
Name | Description | |
---|---|---|
Attempts |
Number of attempts (lesson starts)
| |
Completions |
Number of lesson completions
| |
CorrectAnswers |
Number of correct answers for last (most recent) lesson attempt
| |
Id |
The MongoDB ID (_id) - composed of Lesson ID and User ID
| |
IncorrectAnswers |
Number of incorrect answers for last (most recent) lesson attempt
| |
LastTurnTime |
Date/time of last turn posted
| |
LessonID |
Lesson ID of turns posted
| |
TurnCount |
Number of turns posted
| |
Turns |
Actual list of turns posted (see the CSALMongo.TurnModel
namespace for details)
| |
UserID |
User ID for turns posted
|
See Also