wiris / moodle-qtype_multianswerwiris Goto Github PK
View Code? Open in Web Editor NEWWiris Quizzes - Embedded Answers (Cloze) question type
Wiris Quizzes - Embedded Answers (Cloze) question type
When previewing the question on Moodle 3.1, I am seeing debugging warning:
Warning: Declaration of
qtype_multianswerwiris_helper_renderer::subquestion(question_attempt $qa, question_display_options $options, $index, $subq)
should be compatible with
qtype_multianswer_renderer::subquestion(question_attempt $qa, question_display_options $options, $index, question_graded_automatically $subq)
in .../question/type/multianswerwiris/renderer.php on line 27
The plugin description reads
On the student's side, they will be able to introduce their answers by using a WYSIWYG formula editor and, if the teacher so specifies, they will have access to a WIRIS cas session to make some calculations.
I tried to use a SHORTANSWER subquestion with a variable value as the right answer. But to the student, there is no wiris input element displayed. Only the common HTML input field is displayed.
An error is appearing after doing the following steps in Moodle 4.0:
multianswerwiris/tests/fixtures/testquestion.moodle.xml
and is used for the Behat tests of the plugin.This may be because in multianswerwiris/questiontype.php line 151, $authorizedquestion->category
is unset. There is a variable that may contain the category which is $authorizedquestion->questioncategoryid
but this one can also be unset. A possible solution can be something like this:
if (isset($authorizedquestion->category)) {
$question->category = $authorizedquestion->category;
} elseif (isset($authorizedquestion->questioncategoryid)) {
$question->category = $authorizedquestion->questioncategoryid;
}
... but I'm not sure in which escenarios this may not work.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.