<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: Formulas question type: Comments</title>
    <link>https://moodle.org</link>
    <description>This is a question type plugin for Moodle with random values and multiple answer fields.</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>(c) 2026 Moodle - Open-source learning platform | Moodle.org</copyright>
    <image>
      <url>https://moodle.org/theme/image.php/moodleorg/core/1776241734/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Tuesday, 9 December 2025, 4:57 PM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-89081</link>
      <pubDate>Tue, 09 Dec 2025 08:57:32 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Ivan and thanks for reaching out.&lt;br&gt;
&lt;br&gt;
I'm afraid this is not a bug, but the intended (although debatable) behaviour. I'll give you four examples. Say the model answer is 1 m.&lt;br&gt;
&lt;br&gt;
- If the student enters 1 m or 100 cm, they get full marks, no deduction.&lt;br&gt;
- If the student enters 1, they get the unit penalty deducted, so 0.9 points.&lt;br&gt;
- If the student enters 1 kg, they get the unit penalty deducted, so 0.9 points.&lt;br&gt;
- If the student enters 1 cm, their answer is considered wrong and they get no points at all.&lt;br&gt;
&lt;br&gt;
The unit penalty is only used if the student completely omits the unit or if they use an incompatible unit.&lt;br&gt;
&lt;br&gt;
As I said above, this is debatable. Some people might argue that a student typing 1 cm instead of 1 m only made a unit error or that their error is less important than if they had written 1 kg. Other people would then probably say that if a bridge only supports 100 kg instead of 100 tons, that's more than just a unit error.&lt;br&gt;
&lt;br&gt;
Best regards&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-89081</guid>
    </item>
    <item>
      <title>Tuesday, 9 December 2025, 7:01 AM - Ivan Muñoz</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-89077</link>
      <pubDate>Mon, 08 Dec 2025 23:01:32 GMT</pubDate>
      <description>by Ivan Muñoz. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Subject: Possible bug in unit penalty behaviour (Moodle 4.5.2)&lt;br&gt;
&lt;br&gt;
Hello Dominique,&lt;br&gt;
&lt;br&gt;
I have been using the Formulas question type for many years. In the past I managed my own Moodle site, but now everything is handled by my educational institution. I believe I have found an issue related to scoring.&lt;br&gt;
&lt;br&gt;
In my questions, students must include the correct units. When they do not, I apply a unit penalty of 0.1, which I configure in the question settings. However, I have noticed that Moodle is not subtracting 10% of the grade as expected. Instead, it seems to subtract 100%, marking the response as completely wrong instead of giving partial credit.&lt;br&gt;
&lt;br&gt;
My institution is currently using Moodle 4.5.2, updated yearly. This issue did not occur last academic year under the previous Moodle version.&lt;br&gt;
&lt;br&gt;
Could you let me know if this is a known bug in the plugin? If so, I could request that my institution update the plugin to a newer version to resolve the problem.&lt;br&gt;
&lt;br&gt;
Thank you very much for your work and your time.&lt;br&gt;
&lt;br&gt;
Best regards,&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-89077</guid>
    </item>
    <item>
      <title>Monday, 20 October 2025, 2:54 PM - Bruno Dogančić</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88657</link>
      <pubDate>Mon, 20 Oct 2025 06:54:19 GMT</pubDate>
      <description>by Bruno Dogančić. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Dear Dominique and Philipp,&lt;br&gt;
&lt;br&gt;
Thank you so much!&lt;br&gt;
&lt;br&gt;
Cheers!&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88657</guid>
    </item>
    <item>
      <title>Thursday, 16 October 2025, 2:06 AM - Dominique Bauer</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88621</link>
      <pubDate>Wed, 15 Oct 2025 18:06:16 GMT</pubDate>
      <description>by Dominique Bauer. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;The automatic login has been re-enabled. You don’t need the login credentials, but just in case, here they are:&lt;br&gt;
&lt;br&gt;
Username: student&lt;br&gt;
Password: Formulas.1&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88621</guid>
    </item>
    <item>
      <title>Wednesday, 15 October 2025, 10:58 PM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88620</link>
      <pubDate>Wed, 15 Oct 2025 14:58:49 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Bruno and Eric. The documentation page is managed by my colleague Prof. Dominique Bauer. I have sent him a message and I am sure that he will soon find out what is happening. Best regards&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88620</guid>
    </item>
    <item>
      <title>Wednesday, 15 October 2025, 10:55 PM - Eric Anderson</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88619</link>
      <pubDate>Wed, 15 Oct 2025 14:55:49 GMT</pubDate>
      <description>by Eric Anderson. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi,&lt;br&gt;
I'm trying to access the documentation website, and anytime I click on any part, it wants me to login, but I see no place to register for your Moodle.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88619</guid>
    </item>
    <item>
      <title>Saturday, 11 October 2025, 1:09 PM - Bruno Dogančić</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88585</link>
      <pubDate>Sat, 11 Oct 2025 05:09:20 GMT</pubDate>
      <description>by Bruno Dogančić. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hey there! First, I want to express my heartfelt gratitude for such a great plugin; it helped me keep some of my hair intact while I struggled with calculated multiple choice questions using LaTeX and the frustrating Moodle database.&lt;br&gt;
&lt;br&gt;
A few days ago I was enjoying creating content and studying documentation at &lt;a href=&quot;https://dynamiccourseware.org/&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://dynamiccourseware.org/&lt;/a&gt;, but today I am unable to reach content --- it prompts me for a username and password (I have tried different browsers, but there is no &quot;automatic login for guests&quot;, which I think worked for the last few days).&lt;br&gt;
&lt;br&gt;
Help would be super appreciated, as I need to keep the ongoing semester.  🙏&lt;br&gt;
&lt;br&gt;
Kind regards,&lt;br&gt;
Bruno&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88585</guid>
    </item>
    <item>
      <title>Monday, 15 September 2025, 5:59 PM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88347</link>
      <pubDate>Mon, 15 Sep 2025 09:59:44 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Nikola&lt;br&gt;
&lt;br&gt;
Thanks for your message. I can see what is happening. Would you mind opening an issue on GitHub for the problem?&lt;br&gt;
&lt;br&gt;
I have a fix in mind for the problems Ω and µ. I am afraid that % will be a bit more complicated, because that symbol is used as the modulo operator and % is not a unit. However, as the modulo operator is not allowed for students, I am sure that a solution is possible for that as well.&lt;br&gt;
&lt;br&gt;
Best regards&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88347</guid>
    </item>
    <item>
      <title>Monday, 15 September 2025, 4:39 PM - Nikola Bogosavljevic</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88343</link>
      <pubDate>Mon, 15 Sep 2025 08:39:31 GMT</pubDate>
      <description>by Nikola Bogosavljevic. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Dear Philipp,&lt;br&gt;
&lt;br&gt;
I'm not sure if this issue is already known, but as we are currently facing it and have no solution, I will try to post it here.&lt;br&gt;
&lt;br&gt;
After upgrading to Moodle version 4.5.5, we have had issues with the units &quot;Ω&quot;, &quot;µ&quot; and &quot;%&quot;. &lt;br&gt;
&lt;br&gt;
For example: &lt;br&gt;
Unit settings: Ω&lt;br&gt;
Other rules settings: 1 ohm = 1 Ω  ; 1 kohm = 1 kΩ ; 1 Mohm = 1 MΩ; 1 mohm = 1 mΩ&lt;br&gt;
&lt;br&gt;
If a student answers with 1 Ω, it will be marked as a wrong answer. Only 'ohm' will be accepted.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Other example with µ:&lt;br&gt;
Unit settings: µ&lt;br&gt;
Other rules settings: 1 uA = 1 µA&lt;br&gt;
&lt;br&gt;
Only &quot;u&quot; will be accepted, not &quot;µ&quot;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
We don't have any other rule settings with &quot;%&quot;; it is only for the unit setting &quot;%&quot;. This will always be marked as wrong. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Hope you can help here! &lt;br&gt;
&lt;br&gt;
Thank you a lot! &lt;br&gt;
&lt;br&gt;
BR&lt;br&gt;
Nikola&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88343</guid>
    </item>
    <item>
      <title>Wednesday, 10 September 2025, 5:18 PM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88303</link>
      <pubDate>Wed, 10 Sep 2025 09:18:15 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Thanks Kevin. The issue is actually already fixed in the main branch. I have just not released a new version yet.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88303</guid>
    </item>
    <item>
      <title>Wednesday, 10 September 2025, 5:11 PM - Kevin Hipwell</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88302</link>
      <pubDate>Wed, 10 Sep 2025 09:11:58 GMT</pubDate>
      <description>by Kevin Hipwell. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Victoria Shimanovich,&lt;br&gt;
&lt;br&gt;
I created this patch to fix the issue you are having.&lt;br&gt;
&lt;br&gt;
--- question/type/formulas/backup/moodle2/restore_qtype_formulas_plugin.class.php	2025-09-05 15:43:37.857758954 +0100&lt;br&gt;
+++ question/type/formulas/backup/moodle2/restore_qtype_formulas_plugin.class.php	2025-09-05 15:45:00.742738212 +0100&lt;br&gt;
@@ -203,10 +203,12 @@&lt;br&gt;
 &lt;br&gt;
         // Also, we must make sure that the specific options like varsrandom etc. are added to&lt;br&gt;
         // the questiondata object.&lt;br&gt;
-        $questiondata-&amp;gt;options = (object) array_merge(&lt;br&gt;
-            (array) $questiondata-&amp;gt;options,&lt;br&gt;
-            $backupdata['plugin_qtype_formulas_question']['formulas'][0],&lt;br&gt;
-        );&lt;br&gt;
+        if (isset($backupdata[&quot;plugin_qtype_formulas_question&quot;]['formulas'])) {&lt;br&gt;
+            $questiondata-&amp;gt;options = (object)array_merge(&lt;br&gt;
+                (array)$questiondata-&amp;gt;options,&lt;br&gt;
+                $backupdata['plugin_qtype_formulas_question']['formulas'][0],&lt;br&gt;
+            );&lt;br&gt;
+        }&lt;br&gt;
 &lt;br&gt;
         return $questiondata;&lt;br&gt;
     }&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88302</guid>
    </item>
    <item>
      <title>Saturday, 30 August 2025, 6:21 AM - Victoria Shimanovich</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-88156</link>
      <pubDate>Fri, 29 Aug 2025 22:21:51 GMT</pubDate>
      <description>by Victoria Shimanovich. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;I am experiencing issues with copying/restoring quizzes and courses. The debugging output consistently points to formulas qtype even when a quiz/course I am copying/restoring does not use this question type.&lt;br&gt;
I have Moodle 4.5.5, formulas qtype plugin 6.1.2 (installed today and attempt to restore a course was made after the plugin was updated)&lt;br&gt;
Here is the debugging output after the latest attempt  (Developer debugging is turned on) after I tried to restore a course from backup to a new course. The debugging output is identical when I tried to copy a course or a quiz before. It doesn't matter if there are formulas type questions in a course or quiz I try to copy. Also, the result (and debugging output) is identical when I try to copy a course from Site Administration -&amp;gt; Courses -&amp;gt; Copy course or when I try to restore a course from already existing backup (no issues creating a backup), or when I try to copy a quiz. (Developer debugging is turned on) after I tried to restore a course from backup to a new course&lt;br&gt;
&lt;br&gt;
Exception - array_merge(): Argument #2 must be of type array, null given&lt;br&gt;
&lt;br&gt;
More information about this error&lt;br&gt;
Debug info:&lt;br&gt;
Error code: generalexceptionmessage&lt;br&gt;
Stack trace:&lt;br&gt;
&lt;br&gt;
line 206 of /question/type/formulas/backup/moodle2/restore_qtype_formulas_plugin.class.php: TypeError thrown&lt;br&gt;
line 206 of /question/type/formulas/backup/moodle2/restore_qtype_formulas_plugin.class.php: call to array_merge()&lt;br&gt;
line 117 of /backup/util/helper/restore_questions_parser_processor.class.php: call to restore_qtype_formulas_plugin::convert_backup_to_questiondata()&lt;br&gt;
line 150 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_questions_parser_processor-&amp;gt;dispatch_chunk()&lt;br&gt;
line 207 of /backup/util/xml/parser/progressive_parser.class.php: call to grouped_parser_processor-&amp;gt;after_path()&lt;br&gt;
line 287 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser-&amp;gt;inform_end()&lt;br&gt;
line ? of unknownfile: call to progressive_parser-&amp;gt;end_tag()&lt;br&gt;
line 178 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()&lt;br&gt;
line 157 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser-&amp;gt;parse()&lt;br&gt;
line 464 of /backup/util/dbops/restore_dbops.class.php: call to progressive_parser-&amp;gt;process()&lt;br&gt;
line 177 of /backup/util/helper/restore_prechecks_helper.class.php: call to restore_dbops::load_categories_and_questions_to_tempids()&lt;br&gt;
line 454 of /backup/controller/restore_controller.class.php: call to restore_prechecks_helper::execute_prechecks()&lt;br&gt;
line 997 of /backup/util/ui/restore_ui_stage.class.php: call to restore_controller-&amp;gt;execute_precheck()&lt;br&gt;
line 367 of /backup/util/ui/restore_ui.class.php: call to restore_ui_stage_process-&amp;gt;process()&lt;br&gt;
line 134 of /backup/restore.php: call to restore_ui-&amp;gt;requires_substage()&lt;br&gt;
&lt;br&gt;
I also suspect that the same issue is causing the following failure of daily tasks: Clean backup tables, logs and files (core\task\backup_cleanup_task)&lt;br&gt;
&lt;br&gt;
I filed bug report on GitHub. Please help me solve this ussue, I was trying to solve it since April and getting nowhere&lt;br&gt;
Thank you in advance!&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-88156</guid>
    </item>
    <item>
      <title>Monday, 16 June 2025, 3:22 PM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-87567</link>
      <pubDate>Mon, 16 Jun 2025 07:22:27 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Dear users&lt;br&gt;
&lt;br&gt;
We have just released version 6.0.4, another maintenance release. It fixes a bug with strings and one with MathJax previews. It also adds full support for PHP-like escape sequences in strings, especially the use of Unicode characters via the code point.&lt;br&gt;
&lt;br&gt;
Best regards&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-87567</guid>
    </item>
    <item>
      <title>Saturday, 7 June 2025, 4:08 AM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-87511</link>
      <pubDate>Fri, 06 Jun 2025 20:08:15 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Dear users&lt;br&gt;
&lt;br&gt;
We are currently releasing version 6.0.3 of the Formulas question plugin. It is a bugfix and maintenance release. We recommend installing the update in the near future, as it fixes problems with the automatic grading of multi-part questions. Also, it improves backwards compatibility with 5.x versions and, for people using Moodle 5.0, makes sure everything will continue to work nicely once you start using MathJax v3.&lt;br&gt;
&lt;br&gt;
Best regards&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-87511</guid>
    </item>
    <item>
      <title>Tuesday, 3 June 2025, 11:36 PM - Philipp Imhof</title>
      <link>https://moodle.org/plugins/qtype_formulas#comment-87474</link>
      <pubDate>Tue, 03 Jun 2025 15:36:28 GMT</pubDate>
      <description>by Philipp Imhof. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Fabio. &lt;br&gt;
&lt;br&gt;
Thanks for your feedback and for telling me about that problem. At first glance, it (unfortunately...for me) sounds more like a bug than like something you do wrong. I will look into it and provide a fix as quickly as possible. I opened an issue on GitHub, so you can see the progress: &lt;a href=&quot;https://github.com/FormulasQuestion/moodle-qtype_formulas/issues/219&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/FormulasQuestion/moodle-qtype_formulas/issues/219&lt;/a&gt; &lt;br&gt;
&lt;br&gt;
Best regards&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_formulas#comment-87474</guid>
    </item>
  </channel>
</rss>