Question Authors' Forum

Precheck on 3.1+ - still confused!

 
Picture of Richard Lobb
Re: Precheck on 3.1+ - still confused!
by Richard Lobb - Sunday, 6 January 2019, 1:20 PM
 

Yes, I'm confused too! I thought what I had written was correct at the time but I discovered a couple of weeks ago that it isn't any more. I'm now not sure if it was ever correct.

To deal with this, I've added an extra pull-down menu option in the question editing form to control display of the result table. It has values "Normal" (i.e., the display is controlled by the quiz setting), "Always" and "Never". This should solve your problem, allowing you to select "Always" to force display of the result table (both Precheck and Check) regardless of the quiz mode and review settings. The code is in the Development branch, which I pushed to github a couple of days ago. However, it is barely tested as yet and unless you really like living on the bleeding edge I wouldn't recommend you install it. The new version updates the database and there's no going back, except via a Moodle server backup.

Merging the changes into the master branch is still a few weeks away. How much of a hurry are you in?

Sorry about the confusion.


Picture of Stephen Parry
Re: Precheck on 3.1+ - still confused!
by Stephen Parry - Sunday, 13 January 2019, 12:49 PM
 

Sorry for delay, replied via email by mistake :-(

I can make do for a while - I'd rather have something stable and tested, although CR is going to become very important in our assessments and lessons. (Big thank you by the way; it's a truly awesome plugin to have at hand).

Picture of Richard Lobb
Re: Precheck on 3.1+ - still confused!
by Richard Lobb - Tuesday, 15 January 2019, 9:59 PM
 

Yes, holding off until the latest version is officially released is always a good call unless you have an urgent problem.

The latest version (development branch) is now running on our production servers. I'll push it to the Moodle plugin repository in a couple of weeks. 

Pleased you're finding it useful.

Tim at Lone Pine Koala Sanctuary
Re: Precheck on 3.1+ - still confused!
by Tim Hunt - Tuesday, 15 January 2019, 11:23 PM
 
Just to say that I was planning to upgrade our version of CodeRunner some time in the next two weeks, so if you can release the new version before then, that would be lovely. (However, I am probably happy to take the latest version, even if it has not been tagged and pushed to the plugins DB.)
Picture of Richard Lobb
Re: Precheck on 3.1+ - still confused!
by Richard Lobb - Thursday, 17 January 2019, 9:29 PM
 

Hi Tim

I'd like to give it at least a week on our production servers, both of which are only very lightly loaded at present, as it's our summer break. However, the latest version is on github in the Development branch if you want to give it a go. It should be pretty stable - the only things that might fail are the two new features: attachments (the biggie) and the Show feedback option.

Possibly of more interest/concern is the new Jobe version also in the development branch on github. I was worried about the implications of allowing attachments with large classes, as Jobe stores uploaded support files indefinitely and in a single flat file structure. So the new Jobe moves the file cache to /home/jobe/files and uses a two-level hierarchy like the moodledata file cache. I've also added a feature that clears all files last accessed more than 2 days ago from the file cache if the free space drops below 5%. Those changes should keep Jobe viable but Moodle server also stores all student attachments indefinitely, so it could still take a hit.

I've marked the Attachments capability experimental and warned question authors in two of the on-line help buttons about the possible impacts on file space and/or performance of allowing large attachments with large classes. The default upload size is only 10 kB but authors can increase it. So it's possible for a daft teacher to tell a class of 1000 students to each upload a 10 MB file, thereby blowing away 10 GB of disk space on Moodle. Should I worry about this?

Richard

Tim at Lone Pine Koala Sanctuary
Re: Precheck on 3.1+ - still confused!
by Tim Hunt - Friday, 18 January 2019, 1:39 AM
 

Oh drat! We just upgraded our Jobe servers yesterday and I was not paying attention. That was mainly do update the OS and PHP version, but we went to latest JOBE master branch then, and I don't want to have to do another deploy there. Therefore, I will probably just use v3.5.3, or more likely today's master branch, which seems to include some useful bug fixes.

So actually, there is not need for you to rush the release of the next version.