Assessments (as_assessments) are the highest-level
container in the hierarchical structure. They define the key by which
all other entities are assembled into meaningful order during display,
processing, retrieval and display of Assessment information.
The primary key assessment_id is a revision_id inherited from
cr_revisions. Note, the CR provides two main types of entities --
cr_items and cr_revisions. The latter are where sequential versions of
the former go, while cr_items is where the "current" version of an
entity can be stored, where unchanging elements of an entity are kept,
or where data can be cached. This is particularly useful if the system
needs a single "live" version, but it isn't appropriate in situations
where all versions potentially are equally-important siblings. In the
case of the Assessment package, it seems likely that in some
applications, users would indeed want to designate a single "live"
version, while in many others, they wouldn't.
Attributes of Assessments will include those previously included
in Surveys plus some others:
- assessment_id
- cr:name - a curt name appropriate for URLs
- cr:title - a formal title to use in page layouts etc
- creator_id - Who is the "main" author and creator of this
assessment
- cr:description - text that can appear in introductory web
pages
- instructions - text that explains any specific steps the
subject needs to follow
- mode - whether this is a standalone assessment (like current
surveys), or if it provides an "assessment service" to another OpenACS
app, or a "web service" via SOAP etc
- editable_p - whether the response to the assessment is
editable once an item has been responded to by the user.
- anonymous_p - This
shows whether the creator of the accessment will have
the possibility to see the personal details of the respondee or not. In
particular this will exclude the user_id from the CSV files. It shall
still be possible to see the user that have not finished the survey
though.
- secure_access_p - The
assessment can only be taken if a secure connection (https) is used.
- reuse_responses_p -
If
yes, the system will look for previous responses to the questions and prefill the last answer the respondee has given in
the assessment form of the respondee
- show_item_name_p - If
yes, the respondee will see the name of the item in
addition to the item itself when taking the survey.
- entry_page - The customizable entry page that will be
displayed before the first response.
- exit_page - Customizable exit / thank you page that will be
displayed once the assessment has been responded.
- consent_page -
- return_url - URL the respondee will be redirected to
after finishing the assessment. Should be redirected directly if no
Thank you page is there. Otherwise the return_url should be set in the
thank you page context, so we can have a "continue" URL.
- start_time - At what time shall the assessment become
available to the users (remark: It will only become available to the
users who have at least the "respond" privilege.
- end_time - At what time the assessment becomes unavailable.
This is a hard date, any response given after this time will be
discarded.
- number_tries - Number of times a respondee can answer the
assessment
- wait_between_tries - Number of minutes a respondee has to
wait before he can retake the assessment.
- time_for_response - How many minutes has the respondee to
finish the assessment (taken from the start_time in as_sessions).
- show_feedback - Which feedback_text stored with the item_type
shall be displayed to the respondee (All, none, correct, incorrect).
Correct and Incorrect will only show the feedback_text if the response
was correct or incorrect.
- section_navigation
- How shall the navigation happen
- default
path - Order given by the relationship between assessment and section
(the order value in cr_rels, if this is used).
- randomized
- Sections will be displayed randomly
- rule-based
branching - Sections will be displayed according to inter-item-checks.
This should be default.