test-item-procs.tcl

  • last updated 50 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add item shuffling for test item procs and do some minor refactoring

  1. … 7 more files in changeset.
revert incorrect change from some downstream code

Change message key notation (many thanks to Monika Andergassen)

switch back to previous version (change of Antonio was due to some local changes)

Use www- prefix for web callable methods to avoid warnings

add minutes string to exam protocol

add support for multi-line entries in short_text answers

minor refactoring to general handling of printing minutes per question

  1. … 2 more files in changeset.
make sure to initialize variables (necessary for inclass-quiz)

VS: ----------------------------------------------------------------------

use item_id in raw listing of submissions (since it is shorter)

verworked test-item procs:

- new teacher-paced inclass quiz

- support for different shuffling options (never, always, per-user)

- support for subsections (single and multiple choice, short text questsion)

- support for answer hints for short text questions (single word, multiple words, ...)

- new API for question and answers for student-paced and

teacher-paced scenarios using on the following objects

* renaming_form_loader

- answer_attributes

- answer_for_form

- answers_for_form

- form_name_based_attribute_stem

- get_form_object

- rename_attributes

* question_manager

- goto_page

- more_ahead

- current_question_form

- current_question_obj

- current_question_name

- current_question_title

- nth_question_obj

- nth_question_form

- combined_question_form

- question_objs

- question_names

- question_property

* answer_manager

- create_workflow

- delete_all_answer_data

- get_answer_wf

- get_wf_instances

- get_answers

- marked_results

- answers_panel

- special policies for workflows, defined as per-workflow policies.

- improved i18n

- improved styling

  1. … 9 more files in changeset.
add method to select answer attributes in a predictable order

increase symmetry: create always property "form" in all interaction types, when it does not exist

- form-generator.css: based on former myform.css, substantially revamped

(to be used together with form field classes in test-item-procs)

- test-item classes:

* feedback_level extended to "full", "single", or "none"

middle is new for a single feedback per item

* shuffling support with 3 modes ("none", "peruser", "always").

can be used for shuffling MC questions and text_entry questions (short-text),

and in future for all "enumeration" based question types.

* new question type "mc2", shuffling multiple choice question,

fully stylable via CSS (old question type "mc" can still be used for the

time being)

* ease styling for all test-item types by added explicit wrappers

* factor out "renaming_form_loader" from online-exam*.wf (including

support methods)

- online-exam*.wf:

* fix broken behavior with shared workflow definitions when closing/opening

exams and student tried interactions. Previous code did dynamic changes in

the shared definition (probably more to come).

* used factored out renaming_form_loader

* cleanup of old code

- removed low-level rewriting of <textarea>, <input> fields, etc.

- removed dead code

- removed hard-coded stylings

- bumb version number to 5.10.0d10

  1. … 6 more files in changeset.
reduce verbosity

use new form-field type "correct_when"

  1. … 1 more file in changeset.
- new interaction type text_entry_interaction (abbreviated as "te" in test_item question_type)

create multipe text interactions

- added autocorrection via "correct_when" to text interaction and text_entry_interaction

- improved source code documentation

- break overlong lines

- removed usages of :instvar

- still TODO: base mc question on complex formfile types rather than HTML primitives,

since this allows better adoption to different rendering styles and better feedback modes

modernize code: use resolver variables rather than method calls

  1. … 14 more files in changeset.
added an addtional interaction type for uploading files upload_interaction

the basic interaction types are now:

- text_interaction

- upload_interaction

- mc_interaction (supporting as well single choice)

- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 33 more files in changeset.
make spelling more uniform

improve code documentation

  1. … 10 more files in changeset.
prefer XOTcl2 idioms

  1. … 2 more files in changeset.
fix typos

  1. … 6 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- make alternatives clickable in mc-questions

  1. … 1 more file in changeset.
Fix spelling errors

  1. … 75 more files in changeset.
Improve robustness of "file delete" operations

  1. … 25 more files in changeset.
ensure HTML quoted content

remove hard-coded max-value

- reduce dependencies on xinha

- use repeat form field specs for mc exercises

- provide a more decent feedback on correct/incorrect answers

  1. … 2 more files in changeset.
- use explicit create statments

  1. … 2 more files in changeset.