Variable numeric set

A calculated numeric question type with variable and expression evaluation. All values are precalculated although a question can have several variants with different variable values for each variant.
Price option: Free

Supports Moodle 2.1-5.0 See all versions
Latest release: 1 year ago
Installations: 803
Downloads (last 90 days): 142

Frankenstyle name: qtype_varnumericset
Question types
Open University

Comments

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


The table name was wrong lms_mdl_qtype_varnumeric_answers -> lms_mdl_qtype_varnumericset_answers
Thanks!!
Thank you very much for your quick response.
The the table name and structure, which I assume is correct is lms_mdl_qtype_varnumeric_answers.
However it is empty.
The plugin installation is in a loop due to the error.
I've already added the new version of the plugin to the folder, but the problem persists.
Thank you.
Hi Moodle Aeovar,
I'm told by one of our developers that the qtype_varnumericset_answers table has existed for over 14 years, since the first version of the plugin. As it's working on our test servers and TTs, it's therefore /sounding/ to us like it's an issue with your database setup (renamed tables maybe?).
Hi,
Can you help me?
Moodle version: 5.0.2+
Updating to new version
qtype_varnumericset
Table "qtype_varnumericset_answers" does not exist
More information about this error
Debug information:
Error code: ddltablenotexistIgnorar esta notificação
Stack trace:
line 146 of \lib\ddl\database_manager.php: ddl_table_missing_exception thrown
line 43 of \question\type\varnumericset\db\upgrade.php: call to database_manager->field_exists()
line 764 of \lib\upgradelib.php: call to xmldb_qtype_varnumericset_upgrade()
line 1943 of \lib\upgradelib.php: call to upgrade_plugins()
line 719 of \admin\index.php: call to upgrade_noncore()
Thanks
Hi @Terry Aulenbach, we have a release for M4.5 in the pipeline, hopefully out in a few weeks.
Hey, folks. Is there any plan to do any updates to the plugin? We are using Moodle 4.5 and PHP 8.3.20 and we have started getting deprecation messages:
PHP Deprecated: Creation of dynamic property qtype_varnumericset_question::$randomseed is deprecated in /usr/local/www/moodle.4.5.4-20250424/question/type/questiontypebase.php on line 1022
Me too on 3.4 as 3.3 version will not install
Will there be a 3.4 Version of this Plugin?
Best regards
Sebastian
Thanks, Charles. Compatibility information updated.
I tested the plugin on moodle 3.3 and it works.
Almost certainly yes, although I have not tested it. If you have a test server, you could try it and let us know.
Hello!
Is this plugin compatbile with moodle 3.3 ?
Thanks,
Kzou
The documenation is here: http://www.open.edu/openlearnworks/mod/oucontent/view.php?id=52747&section=2.1.2 The list of supported functions is given just after figure 2.9. There is no log10 function. Both log and ln are natural logarithm. You will have to use the equivalence
log10(x) = log(x)/log(10)
varnumeric uses the same calculator library as the gradebook. In principle it might be possible to add a log10 function, or just a log(x, base) function of two arguemnts, but this would be a core change so you would need to open a feature request at https://tracker.moodle.org/ if there is not on there already.
Hello,
I want to make a question with answer 20*log10(a) where a is a variable.
I cannot save the question with that answer but I can save the equation with answer 20*log(a). The validator for the answer field seems not to recognize log10 function.
Thanks.
JD Park