File:  [LON-CAPA] / doc / homework / datastorage
Revision 1.10: download - view: text, annotated - select for diffs
Thu Jun 7 21:18:20 2001 UTC (22 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: stable_2001_fall, HEAD
- new resource data added

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

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

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

resource.partid.weight     # points the problem is worth

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

resource.partid.type       # type of problem homework can be:
                           # homework - randomized, graded, stored with 
                           #            requesting user, full feeback
                           # exam - randomized, graded, stored with 
                           #        requesting user, minimal feedback
                           # form - unrandomized, ungraded, stored with 
                           #        specified user, full feedback
                           # survey - unrandomized, ungraded, stored with 
                           #          requesting user, full feedback



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

resource.partid.tol   # lots of possibilities here
                    # percentage, range (inclusive and exclusive),
		    # variable name, etc
                    # 3%
                    # 0.5
                    # .05+
                    # 3%+
                    # 0.5+,.005

resource.partid.sig  # one or two comma sepearted integers, specifying the
                     # number of significatn figures a student must use

resource.partid.feedback   # 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.partid.solved # 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
                # ungraded_attempted == an ungraded answer has been
                                          sumbitted and stored
resource.partid.tries  # positive integer of number of unsuccessful attempts
                # made, malformed answers don't count if feedback is
                # on

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

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

resource.partid.responseid.awarddetail
                     # list of all of the results of grading the submissions
                     # in detailed form of the specific failure
		     #Posible values:
                     # EXACT_ANS, APPROX_ANS : student is correct
                     # NO_RESPONSE : student submitted no response
                     # MISSING_ANSWER : student submitted some but not
                     #                   all parts of a response
                     # WANTED_NUMERIC : expected a numeric answer and
                     #                   didn't get one
		     # SIG_FAIL : incorrect number of Significant Figures
                     # UNIT_FAIL : incorrect unit
                     # UNIT_NOTNEEDED : Submitted a unit when one shouldn't
                     # NO_UNIT : needed a unit but none was submitted
		     # BAD_FORMULA : syntax error in submitted formula
                     # INCORRECT : answer was wrong
                     # SUBMITTED : submission wasn't graded



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