Moodle Plugins directory: STACK | Moodle.org
STACK
The STACK system is a computer aided assessment package for mathematics, which provides a question type for the Moodle quiz. In computer aided assessment (CAA), there are two classes of question types.
- Selected response questions
In these questions, a student makes a selection from, or interacts with, potential answers which the teacher has selected. Examples include multiple choice, multiple response and so on. - Student-provided answer question
In these questions the student's answer contains the content. It is not a selection. Examples of these are numeric questions.
STACK concentrates on student-provided answers which are mathematical expressions. For example, a student might respond to a question with a polynomial or matrix. Essentially STACK asks for mathematical expressions and evaluates these using computer algebra. The prototype test is the following pseudo-code.
if
simplify(student_answer-teacher_answer) = 0
then
mark = 1,
else
mark = 0.
STACK uses a computer algebra system (CAS) to implement these mathematical functions. A CAS provides a library of functions with which to manipulate students' answers and generate outcomes such as providing feedback. Establishing algebraic equivalence with a correct answer is only one kind of manipulation which is possible.
Using CAS can also help generate random yet structured problems, and corresponding worked solutions.
In STACK a lot of attention has been paid to allowing teachers to author and manage their own questions. The following are the key features.
- Question versions are randomly generated within structured templates.
- There are many different kinds of inputs. These are, for example, where the student enters a mathematical expression, or makes a true/false selection.
- Mathematical properties of students' answers are established using answer tests within the CAS Maxima.
- Feedback is assigned on the basis of these properties using a potential response tree. This feedback includes:
- Textual comments for the student.
- A numerical mark.
- Answer notes from which statistics for the teacher are compiled.
These broadly correspond to formative, summative and evaluative functions of assessment. Which of these outcomes is available to the student, and when, is under the control of the teacher.
- Multi-part mathematical questions are possible: each question may have any number of inputs and any number of potential response trees. There need not be a one-to-one correspondence between these.
- Partial credit is possible when an expression only satisfies some of the required properties.
- Plots can be dynamically generated and included within any part of the question, including feedback in the form of a plot of the student's expression.
like Vardaan Solia, I get the same error (TIMEDOUT) after I have entered a sample solution. I have oriented my procedure 1 to 1 on the tutorial of the University of Bochum, but even so it does not work.
Is this a bug or does it have to do with a non-existent integration of maxima, I read about it in the comment from Al Spay?
I try to follow the instruction of this page to install Stack : https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Installation/index.md
If I understand correctly I have to install gcc, gnuplot and Maxima on my server and I imagine I cannot do that from Moodle.
My Moodle version is 3.11.15+ and my Moodle is hosted on a Plesk Server so I don’t think that I have the ability to install things.
Do you know if there is a way to be able to use Stack on a Plesk server ? Contact the support of my server (what should I ask them to do ?)
Otherwise what should I consider changing my hosting ? If yes what can you recommend me for people who want to run stack on a server and Moodle who are not an expert in linux and php...
Thank you very much
We just upgraded our Moodle to version 4.1 and the Stack plugin to version 4.4.5.
We did not change the Maxima version.
However, now when using Stack, we get an error message (trying to translate into english):
"Die verwendete Version der STACK-Maxima-Bibliotheken (2022082900) stimmt nicht mit der von dieser Version des STACK-Fragetyps erwarteten (2023072101) überein."
"The version used of the STACK-Maxima-Libraries (2022082900) does not correspond to the one expected by this version of the STACK question type (2023072101)."
However, I am pretty sure that the correct Maxima version (44.0) is selected in the plugin settings.
What do I miss?
Thank you very much!
Florian
How to resolve this is documented here: https://docs.stack-assessment.org/en/Installation/Testing_installation/#troubleshooting-an-upgrade
Some how it looks like you have either not upgraded the plugin DB correctly, or have newer code.
Please let me know if it worked.
Best regards
I just installed STACK for the first time without issues. I enabled all the necessary PHP features, and all the extra dependencies were successfully installed. During my experimentation, I've been unable to successfully create and save any STACK question, however.
The error that keeps plaguing me is "CAS failed to return any data due to timeout.", and is displayed for the input model answer field. Note that I have no question variables. Changing the "CAS connection timeout" value (qtype_stack | castimeout) unfortunately doesn't resolve the problem; nor does changing the Maxima version.
I'm using Moodle 4.3.2 (Build: 20231222) on a Linux server with PHP 8.2. Furthermore, I'm using STACK 4.5.0 for Moodle 3.9+
Nice plugin! Are there any plans to make the STACK question type compatible with the Moodle mobile app?
Regards,
John
I was looking at the Moodle mobile app requirements last week. We're considering it. I'm not exactly sure how much work it will be.
If you'd like to raise a request here: https://github.com/maths/moodle-qtype_stack other members of the community can voice their views. If there is significant demand we'll give it a higher priority,
Chris
There is a request to install plugin STACK (qtype_stack) version 2024072400 from the Moodle plugins directory on this site. However, this plugin is already installed on the site.
My current STACK version is 2023102700.
Current Moodle version is: Moodle 4.3+ (Build: 20231201)
Thanks in advance!
But this is just the beginning of the story. With Cataloger, the first web-based digital catalog design software, you can create your smart catalog without any need for programming knowledge and easily publish it in the digital space. Simply share your catalog's link on social media or direct customers to it with a QR code on your business card.
Now is the time to effortlessly create your online catalog without any hassle and revolutionize your marketing world.
https://cataloger.org/digital-catalog-design
I start all my questions with a fpprintprec: 4 line but realized that the numbers showed truncated (for example, a value of 2.17691 showed 2.176). Would anyone be so kind to confirm that latest Stack version shows rounded numbers (for example, a value of 2.17691 now shows 2.177)?
I recently upgrade my Moodle to 4,4 version.
Best regards
PD: sorry about my English