Posts made by Tim Hunt

Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
This is not somthing I know about personally, but what your list about your requirements for gathering grades sound very familiar... I think from one or more webinars I heard by medical education practitioners ... the question is, can I remember where I head it, and was it recorded?

One likely place is the Transforming Assessment webinary series: https://transformingassessment.com/events_past.php?page=1. (And, just generally, I would recommended getting yourself on their mailing list, because they often have interesting webinars.) For example, could this one be relevant? https://transformingassessment.com/events_7_october_2020.php I have not checked. Or, I suppose, it might have been at some MoodleMoot. (Sorry, not very helpful.)
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
If you go to Admin -> Development -> XMLDB, there is a [ Check foreign keys ] option. That checks, for every place where data in one table refers to another table, that the referenced data exists.

(Best run on a test copy of your Moodle, if you have one, or at a time when your site is not busy.)
Average of ratings: Useful (1)
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Here is another work-around you could use. (Though, why should you have to use work-around?)

  1. When you want to do a lot of work on a question, don't just edit the real question. Instead, make a copy (either 'Duplicate', or 'Export as Moodle XML', then re-import somewhere.)


  2. Do all your exiting and experimenting on the copy.
  3. When you are finished, either manually make the final version of the change to the real question.
  4. Or, install this plugin: https://moodle.org/plugins/qbank_importasversion, then you can export you finished question, and import it as a new version of the original question.
  5. When you are finished, delete the temporary copy you made of the question to do you editing.
Average of ratings: Useful (2)
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Calculation syntax is a good option to have for advanced configuration. It should not be required for simple use cases.

But, I won't discus this more for now. I will come back to this once it is in scope for future improvements.
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
No worries Dominique, we all speak clumisly sometimes (at least I do rather more often than I would wish.)

I understand what you were suggesting, and I agree that one grade per section is what a lot of people will want. Already in my first post in this thread I said "I am considering adding a ‘Automatically create a grade for each section’ button when nothing has been set up." and indeed, that will probably now get done.

But, from talking to people and reading forum threads about this over the years, I know this is not the only thing that people want, so I want a system that can the foundation for supporting everything that people want, in time.

More flexibility for computing the final quiz grade from the separate sections is out-of scope for now. It is something people want (along with other things like a penalties for late submission) but things like that are on the "out of scope for now" list. Hopefully one day we will get back to it. (However, I want to note: while you and I are quite happy writing simple formulas in a spreadsheet-like syntax. A lot of users are not, so that is not a suitable interface for everyone. ANy UI needs to have ways to set up simple scenarios without that.)

Also, the code for this quite close to working, and can be found linked from the tracker issue MDL-74610. If you can install that somewhere, you can try it out. (It would be nice to get it onto a server where anyone can try it, but all the OU test servers are behind firewalls, so I can't do that easily.)