StudentLessonActs Members

CSAL Mongo

StudentLessonActs Members CSAL Mongo Access Library
The StudentLessonActs type exposes the following members.
Constructors

  NameDescription
Public methodStudentLessonActs
Initializes a new instance of the StudentLessonActs class
Back to Top
Methods

  NameDescription
Public methodAdhocCorrectAnswerRate
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
Public methodCorrectAnswerRate
Return the correct answer rate (from 0.0 to 1.0 inclusive) for the last lesson
Public methodCurrentLessonPath
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
Public methodCurrentReadingTime
Total time spent reading (as calculated by ReadingTime) on last lesson (as identified by LastAttemptIndex)
Public methodCurrentTotalTime
Total time spent on lesson (as calculated by TotalTime) on last lesson (as identified by LastAttemptIndex)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodFixupTimestamps
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
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLastAttemptIndex
Index of the beginning of the last attempt
Public methodLastCompleted
Return true if last lesson (as identified by LastAttemptIndex) has been completed (as identified by SequenceCompleted)
Public methodLessonPath
String representation of the path taken by the lesson attempt recorded by Turns from index start to index end
Public methodReadingTime
Return time spent reading (in ms) during lesson described by Turns stored from index start to index end
Public methodSequenceCompleted
Return true if the lesson described by turns between indexes start and end is completed.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTotalTime
Return total time spent (in ms) on the lesson described by Turns stored from index start to index end
Back to Top
Properties

  NameDescription
Public propertyAttempts
Number of attempts (lesson starts)
Public propertyCompletions
Number of lesson completions
Public propertyCorrectAnswers
Number of correct answers for last (most recent) lesson attempt
Public propertyId
The MongoDB ID (_id) - composed of Lesson ID and User ID
Public propertyIncorrectAnswers
Number of incorrect answers for last (most recent) lesson attempt
Public propertyLastTurnTime
Date/time of last turn posted
Public propertyLessonID
Lesson ID of turns posted
Public propertyTurnCount
Number of turns posted
Public propertyTurns
Actual list of turns posted (see the CSALMongo.TurnModel namespace for details)
Public propertyUserID
User ID for turns posted
Back to Top
See Also