test-item-procs.tcl

  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
tdom: "dom parse -html" implies the "simple" parser

The flag "-simple" is not needed when parsing with the flag "-html". This meanse

that

dom parse -simple -html ...

is equivalent with

dom parse -html ...

  1. … 3 more files in changeset.
Always use "--" in "dom parse" when document is interpolated

This is a safety measure to make sure that the document parsed is

never confused with an option, when the document starts with a "-". In

the best case, the error message provided by "dom parse" might be

misleading. This might be a problem for user contributed documents

(passed as variables, or return values from functions).

The double dash is supported in tdom since version 0.9.0.

  1. … 18 more files in changeset.
Rely on the system configuration to figure out the right richtext editor and its configuration

improved spelling

  1. … 14 more files in changeset.
Implement a new filter for inclass-exam submissions

When displayed by the print-answers method, allow to filter also for not graded.

  1. … 5 more files in changeset.
Port of downstream modification:

retrieve comment and achieved from the dict separately to improve robustness

Port of downstream feature:

when rendering the exam protocol for teachers, allow to filter and sort questions and provide export buttons to supported formats.

Out of the box, submissions can be exported in csv. Via the optional Tcl package OOXML (https://fossil.sowaswie.de/ooxml) submissions can also be exported in .xls format.

  1. … 3 more files in changeset.
Quote URLs rendered inside of markup

  1. … 1 more file in changeset.
improved support for Bootstrap5 for composite items

Many thanks to Monika Andergassen for the changes

also added missing closing </table>

added missing closing div (many thanks to Markus Moser for the report)

fix typos

Prefer usage of xowiki::bootstrap::card over per-case markup

- Use xowiki::bootstrap::card instead of manual markup per usage case

to increase configuratbility

- Many thanks to Monika Andergasse for the suggestion.

- Bumped xowiki to 5.10.1d42

- Bumped xowf to 5.10.1d54

  1. … 3 more files in changeset.
improve spelling

  1. … 3 more files in changeset.
improved spelling

  1. … 10 more files in changeset.
do not show grading_table if grading is "none"

added a paramter to allow/disallow page transation for exams

Browsers support automatic translation of a page to multiple languages.

Sometimes, this is not desired, especially in certain exams.

The change makes it possible to specify that translation is not wanted.

  1. … 6 more files in changeset.
Fixed achieved points in exam statistics per question

In the listing "Exam Statistics per Question", only the automatically

computed achieved points were listed, but in case the points were

later changed manually, the manual points were ignored. Many thanks to

Markus Moser for the report.

Document public api

Added waiting for for inclass-exam

  1. … 4 more files in changeset.
handle empty string case

skip empty entries in mc2 choices

Many thanks to Monika Andergasse for the suggestion

document public api question_statistics_block

harden policy

Handle the case of user misconfiguration, where no item type is selected for a pool question: the resulting filter clause would be invalid in this case

split up question_info_block method

show the question_count in the title only while filling in the exam

ensure variable results is defined

show composite subquestions in question_overview_block

Added improved support for viewing and downloading of exam results

When results are available, "Points and Grades" can be used.

Results are available,

- for autocorrected questions, when the exam protocol was rendered, or

- for all types of questions, when lecturers have added manual gradings/comments.

Depending on whether a grading scheme was defined for the exam,

it is possible to view/download grades and grade statistics, or to these

just with points. It is also possible to get the total results per student

(including grades) or results per question.

The results are available

- in tabular form, with the ability to sort on the columns,

- as charts, and

- as csv-files (for loading into spreadsheets).

The version number was bumped to 5.10.1d50

  1. … 5 more files in changeset.