Beta test of new question type plugin: WordSelect

Beta test of new question type plugin: WordSelect

by Marcus Green -
Number of replies: 37
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I have created a new question type called WordSelect that shows students text from which they are asked to select the correct words. Clicking on a word selects it, clicking again deselects it. You can read more about it here

https://github.com/marcusgreen/moodle-qtype_wordselect/wiki

You can watch a short video about it here

Get the source code from here

https://github.com/marcusgreen/moodle-qtype_wordselect

And take a a sample quiz containing this type of question here

http://www.questiontype.co.uk/mdl/

(login as username:student password:test)

Feedback would be greatly appreciated.



Average of ratings: Useful (5)
In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Xavier Molina-Schenk -

Hi

That is just the question type I recently was looking for.

I think it's great and I am going to test it.

Cheers, Xavier

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Matthias Giger -
Picture of Particularly helpful Moodlers

Dear Marcus

I tried to install your new question type in a Moodle 3.1 installation.

There seems to be a problem in connection with the algebra plugin (https://moodle.org/plugins/qtype_algebra).

As soon as you try to install the wordselect plugin, the algebra plugin throws an error.

Plugin installation conflict with algebra plugin

I've tried twice and could replicate the error.

To get rid of it you have to install the algebra plugin again.

In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Matthias,

What folder name and location did you use for the wordselect question type installation? I suspect it is incorrect as the Moodle installation routine for the plugin was not able to find the plugins name, hence the square brackets entry of [pluginname,qtype_wordselect] instead of , Word Select by the plugins icon.

On my Moodle 3.1.1 with Algebra question type installed, Word Select installs as it should without causing any problem with Algebra.

In reply to AL Rachels

Re: Beta test of new question type plugin: WordSelect

by Matthias Giger -
Picture of Particularly helpful Moodlers

I have found the problem thanks to your hint.

What happened that I used the ZIP-file from github and uploaded it by drag and drop to Moodle. As the main folder in the ZIP-file is not named wordselect (when you proceed as described) Moodle couldn't find the folder.

When I uploaded the renamed folder by FTP directly into Moodle the installation went through without a problem.

In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Excellent, if I can get it into the plugins database installation will be less error prone. Post here if you have more comments (or even if it just meets your requirements).

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Matthias Giger -
Picture of Particularly helpful Moodlers

Dear Marcus


For my own purposes I've written a quick German translation of the strings in your language file:


$string['pluginname'] = 'Wörter markieren';

$string['pluginname_help'] = 'Markiere die Wörter im Text.';

$string['pluginname_link'] = 'question/type/wordselect';

$string['pluginnameadding'] = 'Füge eine Frage "Wörter markieren" hinzu';

$string['pluginnameediting'] = 'Bearbeite eine Frage "Wörter markieren"';

$string['pluginnamesummary'] = 'Alle Wörter können markiert werden, indem man die anklickt. Lösungwörter werden durch Begrenzungszeichen eingeklammert, z.B. Die Katze [miaut].';

$string['delimitchars'] = 'Bergrenzungszeichen';

$string['delimitchars_help'] = 'Ändere die Standardeinstellung für die Begrenzungszeichen []. Das kann bei Programmieraufgaben sinnvoll sein.';

$string['nowordsdefined'] = 'Es wurden keine Wörter zum Markieren ausgezeichnet ';

$string['correctresponse'] = 'Richtige Antwort ';

$string['incorrectresponse'] = 'Falsche Antwort ';

$string['correctanswer'] = 'Richtige Antwort';

$string['questiontext'] = 'Fragetext';

$string['questiontext_help'] = 'Klammere die Begriffe mit eckigen Klammern [] ein. ';

$string['introduction'] = 'Einführung';

$string['introduction_help'] = 'Einführung zur Frage';

There was one inconsitency I've found:

German translation for wordselect.

The string "introduction" was not translated.


BTW, for the translation I used informal speech, because of the students I teach. Are there some guidelines for translations or a review process?

At the moment I'm using the Term "Wörter markieren" for your plugin, which basically means "mark the words".

Average of ratings: Useful (1)
In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
That is great. I have updated the edit_wordselect_form.php  and lang\en\* file so it will pull in the introduction string now. I don't know of any guidlines for translation but "mark the words", sounds like an excellent description of the question type.
In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Matthias, is it OK if I put your strings into the Amos translation database, and if so now I have added the get_string for Introduction, what German word would you use for it?


In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Matthias Giger -
Picture of Particularly helpful Moodlers

Dear Marcus


Please feel free to make use of the translation.

The German word for "introduction" is "Einführung".


Regards

Matthias

In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by Nadav Kavalerchik -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

I had the same issue just now. thank you for sharing how to fix this smile

In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I can think of no reason for a conflict with algebra and I do have both quesiton types installed on a copy of Moodle. The square braces indicate there is an issue with the file/files in lang\en. Also I have just fixed what I think is a minor issue in version.php so you might want to replace that to be sure.


The files should be under question\type\wordselect by the way

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Germán Valero -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Very nice question type.

Looking forward to seeing it in Moodle's plugin database

.

In reply to Germán Valero

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I spent much of yesterday ensuring it works correctly for course backup and that filters are applied etc. I have a test question that has the introduction using the multi-language filter which might be useful. Many thanks for the updates to the documentation German, you are doing an excellent job. 



In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Germán Valero -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Marcus,

I tried my best at writing a step-by-step illustrated documentation about writing a nice-looking table for a WordSelect question .

The goal was to make it fairly easy for an average Moodler to follow, without the need to know any HTML syntax.

Please feel free to add/remove/change as needed.

How is the Moodle plugin approval process going?

In reply to Germán Valero

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Excellent work German. The plugin is now in the approval queue. The automatic checking has grown stricter since I last worked on a plugin and it has reported 66 errors/26 warnings.

I am not sure if some of the reported issues are fatal blockers to release or are advisory.


In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Matthias Giger -
Picture of Particularly helpful Moodlers

I just did a little test to see what happens, when you change a WordSelect question after some students have already submitted the quiz.

This is important for teachers, because having not much time might lead to the one or other mistake you want to correct later one.

I'm happy to say that it works perfectly. All you have to do is to correct the mistake and regrade. And students get the score they have earned even when a teacher has been a bit sloppy in his/her first attempt.

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by William Stewart -

I wonder if anyone has has a problem with the plugin causing issues to reading the database? I installed and used the plugin just fine, but when I tried importing a course that contained a quiz with 1 word selection type, it blocked the import. I tried to duplicate/delete the quiz and ran into the same problem. I had to delete the question, uninstall the plugin, and then I was able to delete the resource without any issue. Thoughts?

In reply to William Stewart

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

What version of the code were you using (the values in version.php), or how recently did you download the code, what version of Moodle are you using?. 

What do you mean by "it blocked the import", i.e. was there an error message.

I have tested backup and restore (i.e. to mbz format) successfully in the current version of the code and also xml import and export.

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by William Stewart -

Marcus,

My apologies for not including that information in the original post. We are running Moodle 3.1.1. The plugin was the 'beta' version that you originally posted (perhaps it had a single update since originally being downloaded).

 The error message I received several times was simply the generic "error reading database" when doing a course import, trying to delete the quiz that contained the question, and trying to delete a separate quiz that did not contain the question but drew questions from the same category. I also got the same message when I tried to copy both of these quizzes when using Sharing Cart.

Later when I was trying to delete the second quiz, I got an error that specifically referenced the plugin, saying I was missing the word selection item in the quiz, despite there being no word selection item in that particular quiz. Because of this specific message, I deleted the item from the quiz, the category, and then uninstalled the plugin and I was able to delete/copy/restore those items again without any issues.

In reply to William Stewart

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Many thanks for the feedback William. I did some last minute work on the backup/restore code so it might have been something that was caught then (I definitly did some tweaks). Give it another try, ideally on a non live system, though I am confident it won't damage anything.

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by William Stewart -

Marcus,

I appreciate all of the hard work! I will definitely have another go with it in my MAMP installation. I always get traumatised when anything affects the sql database as its beyond my ability to fix!

In reply to William Stewart

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I quite understand. Assuming it works OK, please post feedback here. 

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Séverine Issaeva -

Hi,

Thanks a lot for creating that question type. It's very useful and I was looking for it for a long time. Just a question: would it be possible to add feedback on other words than the right ones? For example, if a student selects "cat" as a verb, the feedback would be "Oh no!! It's a noun." If the right ones are [], maybe the wrong ones with feedback could be <>?

Séverine

In reply to Séverine Issaeva

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Thank you for the feedback. I have a plan to allow the addition of feedback without the need to modify tags. I don't think teachers should have to learn new syntax.

There will be a button marked "Add feedback" and the user can click on any word resulting in a popup screen as shown in the attached screen shot. Unfortunately I am busy with other things at the moment so I don't know when I will be able to complete this.


Attachment wordselect_feedback2.png
In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Séverine Issaeva -

Hello,

Thanks for paying attention to my request. I have no hurry, I am already very happy to use this one. It's far better than what I was doing before.

Best regards

Séverine




De : Marcus Green (via moodle.org) <noreply@moodle.org>
Envoyé : lundi 3 avril 2017 18:58
À : Séverine Issaeva
Objet : Moodle in English : Re: Beta test of new question type plugin: WordSelect
 
Avatar Marcus Green
Re: Beta test of new question type plugin: WordSelect
par Marcus Green, mardi 4 avril 2017, 00:30
 

Thank you for the feedback. I have a plan to allow the addition of feedback without the need to modify tags. I don't think teachers should have to learn new syntax.

There will be a button marked "Add feedback" and the user can click on any word resulting in a popup screen as shown in the attached screen shot. Unfortunately I am busy with other things at the moment so I don't know when I will be able to complete this.



Vous pouvez répondre à ce message par courriel.

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by sadaf sadafian -
Picture of Plugin developers

hi marcus and thank you for good plugin...

have you any plan for add button to add item feedback?

can we wait for that?

thank you again for good plugin


In reply to sadaf sadafian

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

It is in my mental roadmap with no timeframe*. See the end of this page.

https://github.com/marcusgreen/moodle-qtype_wordselect/wiki

Did you ask that question because you saw the new feature in Gapfill  1.96 released last weekend. ?


I will wait for feedback on that before considering anything with Wordselect. 

*My timeframe can be altered with the application of  funding through my employers Titus Learning who are Moodle partners.


Average of ratings: Useful (1)
In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Troy Patterson -

We have install and are using WordSelect. I do have a feature request. This is absolutely true to its name. I have an instance where I would like to be able to have a name selected. However, since the name has a space between it, it seems to need the user to select both names. 

Basically, [Troy Patterson] doesn't treat Troy Patterson as one "word", but as two words that both need to be selected. 

Given that the name of the plug in is literally WordSelect (not PhraseSelect), I'm not sure if this would be confusing to users or not. What I would like to happen is the [Troy Patterson] would be treated as one word. 

(As a work around, I added an underscore to names, thus [Troy Patterson] became [Troy_Patterson]. This works and treats the name as a single word. 

Again, thanks for another great plug in. 

Average of ratings: Useful (1)
In reply to Troy Patterson

Re: Beta test of new question type plugin: WordSelect

by Matthias Giger -
Picture of Particularly helpful Moodlers

Instead of an underscore you can also use a non-breaking blanc (&nbsp;).

However, as with the underscore method students can find out that this is a wanted solution by clicking on it and seeing that two words get selected at the same time. You can solve that problem by formatting all the names in the text the same, so use an underscore or non-breaking blank for all the names in the text.

In reply to Matthias Giger

Re: Beta test of new question type plugin: WordSelect

by Troy Patterson -

Thanks. Good thoughts. 

We also looked at having students identify sentences that support different statements. I'm not sure how that would work at all, but it would be very useful. 

In reply to Troy Patterson

Re: Beta test of new question type plugin: WordSelect

by Troy Patterson -

Got it! We're going to number the sentences, then use the numbers as the key. 

1 This is a sentence that could be the right answer. 2 This is another sentence that could be the right answer. [3] This is the sentence that would actually be the correct answer. 

We could do the same thing with names I do suppose. 

Average of ratings: Useful (2)
In reply to Troy Patterson

Re: Beta test of new question type plugin: WordSelect

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

@Troy

What you want is working OK in the most recent version of the Wordselect question type (2018093000). See attached example.

Average of ratings: Useful (1)
In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Csaba Gloner -

Hi,

By using the settings "Show the number of correct responses" and "Clear incorrect responses" in the section "Multiple tries" it doesn't seem to work as after saving the settings and reopening the page, the settings are not there anymore, so they are not saved. Only the hint texts are saved.

Ist there a bug with this?

Thanks
Csaba

Attachment clearcorrect.jpg
In reply to Csaba Gloner

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Thank you for reporting that, I will investigate

In reply to Marcus Green

Re: Beta test of new question type plugin: WordSelect

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I have been looking into this and reproduced what you describe. I have some code that makes the show number correct checkbox work and I will now work on the other checkbox.