ProFormA Programming Question Type

Maintained by Karin Borm
Quiz question type for automatically graded programming questions. Questions can be created in Moodle or imported as ProFormA tasks (https://github.com/ProFormA/proformaxml). Plugin requires the qbehaviour_adaptiveexternalgrading plugin and ProFormA Praktomat (https://github.com/elearning-ostfalia/Proforma-Praktomat).
Price option: Free

Supports Moodle 3.4-5.1 See all versions
Latest release: 2 months ago
Installations: 77
Downloads (last 90 days): 183

Frankenstyle name: qtype_proforma
Question types

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

This has been fixed in version 3.0.0 of the plugin (does not actually help if you want to install 2.10.0). Please replace the update statement with
$DB->execute('UPDATE {qtype_proforma_options} '.
'SET vcssystem = "2" ' .
'WHERE responseformat = :responseformat', ['responseformat' => 'versioncontrol']);
That should make it work.
Update qtype_proforma 2.9.0 (2022071800) to 2.10.0 (2023011600) on Moodle 3.11.11+ return error:
ERROR: column "versioncontrol" does not exist
LINE 1: ...ptions SET vcssystem = "2" WHERE responseformat = "versionco...
^
UPDATE mdl_qtype_proforma_options SET vcssystem = "2" WHERE responseformat = "versioncontrol"
[array (
)]
Error code: dmlwriteexception
line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
line 338 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->read_slave_query_end()
line 836 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 340 of /question/type/proforma/db/upgrade.php: call to pgsql_native_moodle_database->execute()
line 703 of /lib/upgradelib.php: call to xmldb_qtype_proforma_upgrade()
line 1929 of /lib/upgradelib.php: call to upgrade_plugins()
line 713 of /admin/index.php: call to upgrade_noncore()
Possibly you must get the latest Praktomat version from Github. I just noticed that it did not start correctly (because of incompatibilties with django-tinymce version 3.x).
There is no step-by-step instruction. Do you have more information about 404 (= file not found)? Look at the 'raw response' that is visible for the admin account.
Possible problems:
* The submission URI could be invalid (check for '/api/v2/submissions' in your Moodle plugin settings)
* The task could not be found in Praktomat because of incomplete installation (first submission request is sent before Praktomat is ready). Try and reset Praktomat (1. docker-compose down 2. docker-compose build 3. docler-compose up 4. wait until installation is completed 5. retry submission in Moodle).
* What response format do you use? In case of 'version control system' the VCS URI could also be invalid.
Dear friends, thanks for developing this plugin. Tell me, is there a step-by-step instruction on its use? I changed the port to 80 and now I get 404 errors when trying to send a response. Thanks.
Upps. I changed the Praktomat port from 8001 to 8010 a long time ago and forgot to change the default setting in the Moodle plugin. So, if you have installed Praktomat correctly then change the port in the qtype_proforma settings "URI: Protocol and Server" to 8010 or 80.
Failed to connect to localhost port 8001: Connection refused
What can be done?
Ok, I am waiting...
It is also planned to support moodle 3.8 but I have not yet tested it.
Is this plugin be longer available for moodle 3.8?
Approval issue created: CONTRIB-7791