Formulas question type icon

Formulas question type

This is a question type plugin for Moodle with random values and multiple answer fields.
Price option: Free

Supports Moodle 2.6-5.2 See all versions
Latest release: 2 weeks ago
Installations: 2215
Downloads (last 90 days): 756

Frankenstyle name: qtype_formulas
Question types

Comments

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

We have just released version 5.1.2 of the Formulas Question plugin, a release containing a fix for the map() function.
We are pleased to inform you that we have just released version 5.1.1 of the Formulas Question plugin, a bugfix release that fixes issues with the sort() and fmod() function as well as some minor problem with the instantiation check.
Thanks for the positive feedback. The update for 5.0.0 unfortunately introduced a bug that stopped the custom functions defined by Formulas Question (= functions that are not already available in PHP, like ncr or sigfig) from working. And, to make things worse, unit tests did not fail, due to some other issue. Dominique discovered the flaw just a few hours after the release, so we could yank 5.0.0, fix the bug and roll out 5.0.1 less than 24 hours later. I guess no "user" really encountered the problem.
The release notes for version 5.0.1 state a bugfix for custom functions. As I could not find anything in the reference, could you briefly say, what custom functions are or point me to an explanation?
Philipp, I just learned from the documentation website that you have recently joined forces with Dominique to maintain and further develop Formulas. I would like to thank you, and Dominique, for your work on this great tool, which for me (and probably many others) is among the most important and relied upon in Moodle. – Thanks a lot, guys!
Moodle 4.1 is about to be released tomorrow. We are pleased to inform you that the Formulas Question plugin has just been updated to version 5.1.0. It is fully compatible with Moodle 4.1.
Are you tired of hitting "Save" a hundred times just to debug your variable definitions? Well, we've got something for you then: among the new features, we have introduced quick validation of the definition of random, global and local variables. Have fun!
Thanks for spotting this. While the source code contains references to functions bindec(), decbin(), decoct() and octdec(), these are AFAICS not documented anywhere. I have also never seen them working, at least not in 4.91. A quick check in the repository makes me believe, they have never been recognized as functions. (This explains the error message: they are being treated as variables.)
I opened an issue in the bug tracker: https://github.com/FormulasQuestion/moodle-qtype_formulas/issues/43 and will add them (or bring them back) with the next update. Can you please confirm you have had them working and tell me what version that was? (Preferably in the bug tracker)
Does anyone know why formulas no longer recognizes the decbin or decoct function?
Hi - does anyone know what has happened to the moodleformulas dot org website? It was a great resource and had all the documentation.
This plugin is still maintained by Prof. Dominique Bauer. There will be an update in a few weeks, hopefully with full support for Moodle 4.0.
Hi ...
is there a Chance that Support is continued? And an Update für moodle 4.X?
Birgit from Germany
As a rule of thumb, whenever you think you found a trivial way of cheating a well-established, extensively tested and highly used system, you should always double check, because you're probably wrong.
Students have no way to access what you call the "source code" of the question. Otherwise, virtually ALL of Moodle's question types (except e.g. essay questions and the like) would become obsolete, because the answer is always stored somewhere, no?
I may be wrong here, and please correct me if I am, but could the students just click on the page that these type questions are displayed and look at the source code to get the answer?
Not an ideal situation when testing students if that is the case.
Hey folks, short question: is there a chance that this wonderful plugin gets an update for the next longtime release 4.1 ? Do you know anything? Kind regards David
I created a pull request on github for Moodle mobile support. It would be nice to have it merged.