test-item-procs.tcl

  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
bugfix: don't call get_non_empty_file_formfields in render_answers when in export mode

added composite question per default to the "New" pull-down menu, added message keys for German

  1. … 4 more files in changeset.
reinstantiate accidentially deleted code

add comments with class names to ease navigation in the source file

Initial support for composite questions

A composite question is a test-item containing other regular test

items. This makes it possible to define a larger test item case for

which arbitrary other questions can be associated (e.g. short text

question plus an MC and ordering question etc.). The randomization

features (shuffling, x out of N, etc.) of the included test-items are

preserved such that it is possible to present the student e.g. a sub

question where only 2 out of 5 possible alternatives are displayed.

The provided implementation builds for a composite question consisting

of a constant exam intro text and the selected sub items including

points, minutes etc. The points and minutes of the composite question

are computed as the sum of the points and minutes of the

sub-items. The actual sub-items are constructed at runtime such that

per-user randomization can be applied.

Current shortcoming: question with percent-substitutions are not

supported (since the exam intro text is placed at composite form

creation time already into the form, therefore, it is the same for all

students). Furthermore, the substitution semantics are not clear

concerning the included content.

  1. … 1 more file in changeset.
Added optional layout for question types, where question text and

answer interactions are displayed in two columns

The implementation supports responsive design and switches for small

width display again to single column display.

Supported question types:

- Text Interaction

- ShortText Interaction

- MC Interaction

- SC Interaction

- Reorder Interaction

- Upload Interaction

  1. … 3 more files in changeset.
xowf.info catalog/xowf.en_US.ISO-8859-1.xml tcl/test-item-procs.tcl www/resources/test-item.css

  1. … 3 more files in changeset.
allow sorting of submissions via query parameter

  1. … 1 more file in changeset.
Fix typo. Fixes 'files__tcl_file_common_errors' test case

factor out render_full_submission_form

fixed undefined parent_obj for stronly synchronous exams

set default grading scheme to "wi1p" instead of "wi1"

- fixed display of total points in exam protocol: base calculations on total points rather than the points achievable based on progress

- fixed typo in message key

  1. … 5 more files in changeset.
Improved handling of autosaved revisions

- reject autosave attempts when time for a student is up

(works for synchronized and non-synchronized exams)

- include submissions with autosaved content in exam protocol (even when state is "initial")

  1. … 3 more files in changeset.
show personal bulk-notification link only if at least one user can receive the notification

Maintain revision date for "update_attribute_from_slot"

This is not a full-featured version, since it does not update the

modifying user and the modifying IP (since this data is not

always available). But this version is at least good enough

for experimenting and checking for unwanted side-effects.

xotcl-core: upadated version number to 5.10.0d40

xowf: upadated version number to 5.10.0d39

  1. … 4 more files in changeset.
fix editing bug

add bulk-notification functionality to participants_table

  1. … 1 more file in changeset.
Handling of mutual overwrites in answer workflows

Mutual overwrites occur in answer workflows when a user manages to

open multiple browswer instances/or tabs on the same exam.

In case there was an mutual overwrite, the position as provided by the

instance attributes might deviate from the position, based on which

the actual form data was generated. So, for validating and updating

one has to change the position to the one from the form data (when

this differs). Note that the randomizer depends on property

"position" as well.

The new version avoids that the user might accidencially overwrite his

data and closes on mutual overwrite automatically the older instance

window.

Bumped version number to 5.10.0d38

  1. … 2 more files in changeset.
Added warning, when (not all) requested forms could not be loaded.

Reduced verbosity.

add question_info_block to documentation block

add explicit return to be more human readable

split out question_info_block

bugfix: pass "-revisions" to "render_proctor_images" since it is needed there

added attachments for text_interaction

whitespace changes

Refactored exam protocol renderers

The new code reduces the sinze of inclass-exam.wf significantly by

moving the exam protocol into test-item-procs.tcl. In the same step,

the largish function was split up, the rendering functions of

submissions are now named consistently, and there are now different

functions for rendering single items vs. many items, making the

single-item rendering reusable. Additionally, the answer manager is

documented in a more eye-friendly and modular way.

  1. … 1 more file in changeset.
provide an analysis method for cleared input (callable for swas via method blank-inputs)

  1. … 1 more file in changeset.
provide means to show submissions of students per test item

  1. … 2 more files in changeset.
added type per question to exam overview