Annotation of doc/homework/datastorage, revision 1.2

1.1       albertel    1: <Provided by &EXT() and set external to the resource, required>
                      2: resource.opendate   #unix time of when the local machine should let the
                      3:                     #student in
                      4: 
                      5: resource.duedate    #unix time of when the local machine should stop
                      6:                     #accepting answers
                      7: 
                      8: resource.answerdate #unix time of when the local machine should
                      9:                     #provide the correct answer to the student
                     10: 
                     11: resource.weight     # points the problem is worth
                     12: 
                     13: resource.maxtries   # maximum number of attempts the student can have
                     14: 
                     15: 
                     16: 
                     17: <caparesponse needed: (has a default if nonexistant)>
                     18: 
                     19: resource.tolerance  # lots of possibilities here
                     20:                     # percentage, range (inclusive and exclusive),
                     21: 		    # variable name, etc
                     22: 
                     23: resource.significantfigures  # one or two integers
                     24: 
                     25: resource.feedback   # at least a single bit (yes/no) may go with a
                     26:                     # bitmask in the future
                     27: 
                     28: 
                     29: <Problem sets using cstore (required):>
1.2     ! albertel   30: resource.partid.solved # if not set, problem yet to be viewed
1.1       albertel   31:                 # 0 == incorrect and attempted
                     32:                 # 1 == correct by student work
                     33:                 # 2 == correct, instructor override
                     34:                 # -1 == incorrect, instructor override
                     35:                 # E == excused, problem no longer counts for student
                     36: 
1.2     ! albertel   37: resource.partid.tries  # positive integer of number of unsuccessful attempts
1.1       albertel   38:                 # made, malformed answers don't count if feedback is
                     39:                 # on
                     40: 
1.2     ! albertel   41: resource.partid.awarded # float between 0 and 1, percentage of
1.1       albertel   42:                  # resource.weight that the stundent earned.
                     43: 
1.2     ! albertel   44: resource.partid.submissons 
        !            45:                     # list of all of the student submitted strings for all of
1.1       albertel   46:                     # answers in the part
                     47: 
1.2     ! albertel   48: resource.partid.awarddetail 
        !            49:                      # list of all of the results of grading the submissions
1.1       albertel   50:                      # in detailed form of the specific failure
1.2     ! albertel   51: 
        !            52: All of these attributes can appear as
        !            53: resource.attribute.partid for multipart problems
        !            54: 
1.1       albertel   55: 
                     56: 
                     57: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>