File:  [LON-CAPA] / doc / homework / datastorage
Revision 1.13: download - view: text, annotated - select for diffs
Wed Jun 5 23:49:51 2002 UTC (22 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_0_4, stable_2002_july, STABLE, HEAD
- typos, and marked things that aren't yet supproted

<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



<numerical/formula/response needed: (has a default if nonexistant)>

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

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



<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.award # final detailed award that was applied to the entire
                      # part of the question, check awarddetail below for
                      # possibilities

resource.partid.previous # boolean, is this submission a previous submission

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
		     #Possible 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

		     # ERROR : unable to get a grade

resource.partid.responseid.message (optional) (not yet supported)
		     # a message that should be shown to the student

resource.partid.bonustries (optional) (not yet supported)
                     # if set, added to the maxtries parameter for student 
                     # total number of tries overall

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