File:  [LON-CAPA] / doc / homework / datastorage
Revision 1.6: download - view: text, annotated - select for diffs
Tue Dec 5 16:27:14 2000 UTC (23 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: HEAD
- fix bugs (partid is the last part)
- added award data

<Provided by &EXT() and set external to the resource, required>
resource.opendate.partid   #unix time of when the local machine should let the
                           #student in

resource.duedate.partid    #unix time of when the local machine should stop
                           #accepting answers

resource.answerdate.partid #unix time of when the local machine should
                           #provide the correct answer to the student

resource.weight.partid     # points the problem is worth

resource.maxtries.partid   # maximum number of attempts the student can have



<caparesponse needed: (has a default if nonexistant)>

resource.tol.partid # lots of possibilities here
                    # percentage, range (inclusive and exclusive),
		    # variable name, etc
                    # 3%
                    # 0.5
                    # .05+
                    # 3%+
                    # 0.5+,.005
                    
resource.sig.partid  # one or two comma sepearted integers, specifying the 
                     # number of significatn figures a student must use

resource.feedback.partid   # at least a single bit (yes/no) may go with a
                           # bitmask in the future, controls whether or not
                           # a problem should say "correct" or not


<Problem sets using cstore (required):>
resource.solved.partid # if not set, problem yet to be viewed
                # incorrect_attempted == incorrect and attempted
                # correct_by_student == correct by student work
                # correct_by_override == correct, instructor override
                # incorrect_by_override == incorrect, instructor override
                # excused == excused, problem no longer counts for student
                # '' (empty) == not attempted

resource.tries.partid  # positive integer of number of unsuccessful attempts
                # made, malformed answers don't count if feedback is
                # on

resource.awarded.partid # float between 0 and 1, percentage of
                 # resource.weight that the stundent earned.

resource.submissons.partid.responseid
                    # the student submitted string for the part.response

resource.award.partid
                     # the result that decided the solved attribute
                     # in detailed form of the specific failure

resource.awarddetail.partid.responseid
                     # list of all of the results of grading the submissions
                     # in detailed form of the specific failure






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