This section of the documentation provides information on testing questions and maintaining question banks for the long term. Many functions related to maintaining STACK questions are available from the question setting page or from the "adminui" page
This section of the documentation provides information on testing questions and maintaining question banks for the long term. Access to functions related to maintaining STACK questions is through the "adminui" page
[...]/question/type/stack/adminui/index.php
To make use of these tools (in Moodle) users require the capability `qtype/stack:usediagnostictools` via Moodle's capability system. If your institution restricts site admin status, then this capability will allow a subset of users to access these functions. If that is also not possible, you might be able to convince your site administrators to run the tests themselves and give you the results.
(or available from the qtype_stack plugin setting page). To make use of these tools (in Moodle) users require the capability `qtype/stack:usediagnostictools` via Moodle's capability system. We stronly recommend anyone who regularly writes STACK questions across more than one Moodle course be given this capability. It enables the following:
* Bulk testing of questions.
* Identifying STACK questions using particular blocks, e.g. the "todo" block, or includes.
* Bulk change of the default settings.
If your institution restricts site admin status, then this capability will allow a subset of users to access these functions. If it is not possible to get this capability, then Moodle site administrators will need to run the tests themselves and give you the results.
When you upgrade, or before you upgrade, please check the [release notes](../Developer/Development_history.md) carefully.
...
...
@@ -26,13 +32,13 @@ You can bulk test all question tests on all variants of all question by using th
STACK questions store the version of the STACK plug-in _last used_ to edit the question. The bulk tester runs all question tests, and also checks for changes with the current STACK plug-in version.
It is possible to [bulk test materials on other sites](Running_question_tests_other_site.md).
It is possible to [bulk test materials on other sites](Running_question_tests_other_site.md). (Site admins will have the option to bulk test all materials, and there is also a command line bulk test option.)
## Identifying STACK questions using particular blocks
It is possible to identify questions for dependencies, such as use of JSXGraph or inclusion of external maxima code.
It is possible to identify questions for dependencies, such as use of JSXGraph, inclusion of external maxima code, or "todo" blocks.
This is available from the question setting page or from the "adminui" page
The dependency checker is available from the question setting page or from the "adminui" page
[...]/question/type/stack/adminui/index.php
...
...
@@ -42,4 +48,6 @@ See also the notes on [local usage](Local_Usage.md) of STACK questions on your s
You may need to [upgrade question defaults](UpgradeDefaults.md) over a range of questions.
## Import and replace questions
The STACK community developed an [import question as new version](https://github.com/maths/moodle-qbank_importasversion) plugin for Moodle. This plugin allows you to import a question from a Moodle XML file as a new version of an existing question. This is useful when a question is fixed/updated on an external site.
$string['bulktestindexintro_desc']='The <a href="{$a->link}">run the question tests in bulk script</a> lets you easily run all the STACK questions in a given context. Not only does this test the questions. It is also a good way to re-populate the CAS cache after it has been cleared.';
$string['bulktestindexintro_desc']='The <a href="{$a->link}">bulk test script</a> lets you easily run all the STACK question tests in a given context. Not only does this test the questions. It is also a good way to re-populate the CAS cache after it has been cleared.';
$string['dependenciesintro_desc']='The <a href="{$a->link}">dependencies</a>, checker finds questions with dependencies such as JSXGraph or inclusion of external maxima code.';
$string['checkanswertype']='Check the type of the response';
$string['checkanswertype_help']='If yes, answers which are of a different "type" (e.g. expression, equation, matrix, list, set) are rejected as invalid.';
...
...
@@ -1107,7 +1107,7 @@ $string['Interval_illegal_entries'] = 'The following should not appe
// Documentation strings.
$string['stackDoc_404']='Error 404';
$string['stackDoc_docs']='STACK Documentation';
$string['stackDoc_docs_desc']='<a href="{$a->link}">Documentation for STACK</a>: a local static wiki documenting the code you actually have running on your server.';
$string['stackDoc_docs_desc']='The <a href="{$a->link}">documentation for STACK</a>: a local static wiki documenting the code you actually have running on your server.';