Developments in the STACK CAA system.

Developments in the STACK CAA system.

by Christopher Sangwin -
Number of replies: 9
Picture of Particularly helpful Moodlers Picture of Plugin developers

It is with great pleasure that Simon and I would like to announce a new release of the STACK CAA system.

STACK is an open source computer aided assessment system for mathematics. The use of the computer algebra system Maxima provides a suite of tools with which a teacher may establish mathematical properties of the student's final answer. On the basis of these properties outcomes are assigned in the form of a numerical mark (including partial credit as appropriate), text based feedback to the student and a "note" for later analysis. These three outcomes correspond broadly to the
summative, formative and evaluative purposes of assessment. This is much more sophisticated than multiple choice formats, but falls short of being able to automatically assess chains of related mathematical expressions, i.e. assessing a full "worked solution".

We have changed the way STACK is documented, and now documentation (including installation instructions) are online at

http://stack.bham.ac.uk/wiki/

We have installed a (temporary) demonstration server.

http://stack.bham.ac.uk/new-moodle/

and we would like to invite you to have a first look. Please be gentle with this, as this is the first occasion on which we have tested STACK with real people. Please do be patient if this falls over. Please contribute to the forum on that Moodle with your thoughts and report anything which is out of order.

This is a new release, and I'm painfully aware of the number of bugs we still have to fix. However, we have reached a point where we would like some comments, and of course help in future development.

You are very welcome to create an account on our new Moodle version to look at some sample questions. Some questions are randomly generated, and you may repeat quizzes to get new versions. We haven't deployed very large ranges of random questions, so don't be surprised if you recognize a couple on
each new quiz.

The new features we have added are as follows.

(1) The display of mathematics is now client side using Moodle's JSMath filter. This will increase, we hope, accessibility and reduces processing load on the server.

(2) STACK is now fully integrated into Moodle, including question authoring.

(3) Mathematical questions now have built-in test cases support. Similar to unit tests in software development, these allow the question author to verify the outcome of items for student answers in terms of any random parameters. By including this information within the item, the author can test questions and furthermore, when the question is shared, other teachers can more easily understand the intensions of the original author.

(4) STACK now optimizes its use of computer algebra with a dynamic caching layer. This shifts future optimization and scaling work to database design where it can more effectively be addressed. The record of attempts operates at this layer,
which can be analyzed later for statistical analysis of a question.

You will not be able to see (2)-(4) in action on this demo server as only question authors can see this!

There are some important bugs which we are going to work on immediately. We are using the sourceforge bug tracker for these and also to let people propose features

https://sourceforge.net/projects/stack

Some interaction elements don't work in Moodle, so these have not been included in the demos online. This includes dragmath. We intend to put all these features back in the near future.

There are also some serious problems with the Opaque protocol. It has been quite interesting to me how difficult it proved to be to separate questions from quizzes. To be honest, I really underestimated how difficult this was. This realization has
caused us some serious delays and headaches!

One option is to create a completely new STACK block and not use Moodle's quiz at all. I'd welcome your comments, but really don't want to write my own quiz management system!

In particular

(1) we can't distinguish between genuinely new attempts, and calls to reconstruct a version for a student. This causes us problems in recording the number of attempts which have been made at a question.  (Only a problem when generating statistics, so this shouldn't cause problems for students)

(2) I'd like to be able to restrict full worked solutions to be available only after a due date. But currently there is no way to link such time based events into Opaque. So, the only options are
 - not to have worked solutions!
 - to let the student ask for it anytime.
This is not very satisfactory, but we intend to change how this works soon.

(3) Some features don't work in Moodle, including DragMath input and the Matrix interaction elements. These are bugs we will fix over the next few weeks I hope.

I hope the STACK system is a useful additional question type for Moodle.

Comments and contributions are very welcome at all levels, from those who like to author interesting questions for student through to people who like to work with the raw code itself.

Chris (& Simon).

Average of ratings: -
In reply to Christopher Sangwin

Vast: Developments in the STACK CAA system.

by Mika Setälä -

Thanks for new Stack version! JsMath solved problems with fonts I had with older stack versions and now Maxima connection is working also with Debian Lenny.

So is STACK / Moodle Integration possible to get working now in theory ;)
I has done this

"

STACK / Moodle Integration

You should now have a working Moodle installation and a working STACK installation, now its time to get the two to share questions.

  • STACK uses a extended version of Opaque to embed STACK question in Moodle.

Copy (recursively) the directory

{stack}/opaque/moodleModule/opaque

into

{moodle}/question/type

  • Go to http://myserver/moodle/admin in your browser to complete the installation.
  • Go to http://myserver/moodle/question/type/opaque/engines.php and click add engine.
  • Enter the name STACK, the address of STACK's web service given in the installer as the Question engine URL (1) (this will be similar to http://myserver/stack/opaque/soapServer.php) and the 8 character PassKey. Click Save changes.

NOTE: Currently a bug prevents 'localhost' being used in this step. Instead, please use 127.0.0.1, e.g. http://127.0.0.1/stack/opaque/soapServer.php

  • Next to the name STACK will be a magnifying glass icon. Click this to test the connection to STACK.

"

but I got from Moodle:

Test connection to question engine http://my.server.org/stack-dev/opaque/soapServer.php

Could not connect to the opaque server http://my.server.org/stack-dev/opaque/soapServer.php.


My moodle is Moodle 1.9.4+ (Build: 20090401) and stack-dev newest one, server is Debian Lenny.

Stack-dev itself works perfectly! Is it possible to use stack without Moodle? Can my students log to Stack-system without Moodle?

In reply to Mika Setälä

Vast: Developments in the STACK CAA system.

by Mika Setälä -
I installed new versions of Moodle and Stack-dev, but with same result sad. Maybe this is some Debian Lenny problem again ..... First problems with Maxima  and Stack and now with Stack and Moodle in Debian distro .... Has somebody installed Debian + Stack + Moodle so that it works OK?
In reply to Mika Setälä

Re: Vast: Developments in the STACK CAA system.

by Ian Wild -
Picture of Plugin developers
Hi Mika,

I've got Maxima + STACK + Moodle working on an Ubuntu server (i.e. based on Debian), if that's any help.

Ian.
In reply to Ian Wild

Vast: Re: Vast: Developments in the STACK CAA system.

by Mika Setälä -

Yes! I got also Maxima + STACK + Moodle working on an Ubuntu server.

But I wonder why my production server Debian Lenny is not nice to this combination? Maybe PHP-version is too old in Debian Lenny or something ...

In reply to Mika Setälä

Re: Vast: Developments in the STACK CAA system.

by Kathy Maimone -
I'm having the same problem.  Has anyone had any luck (on windows server)?
In reply to Christopher Sangwin

Re: Developments in the STACK CAA system.

by Ian Wild -
Picture of Plugin developers
Hi Chris,

I've just incorporated STACK into my test Moodle and we're all really impressed with the results approve.

There is one issue which I don't know if it's a timing problem, or something odd going on...

I've just created an "expanding-the-brackets-type" question (expand $$(x+2)(x+3)$$, to be precise). On my first submit (it's in adaptive mode) Moodle seems to think I've got the answer wrong - I'm not sure this is STACK reporting that it's actually wrong because if I enter an incorrect answer then I get the "wrong answer" icons, etc. If I press the submit button again then Moodle then reports that I got the answer correct and I get the mark.

It's as if my first attempt is "missed" somehow? thoughtful

I appreciate I haven't described this very well (it's very late at night and my brain's a bit dead) so if there is any more information you need then please do let me know.

Cheers,

Ian.
In reply to Ian Wild

Re: Developments in the STACK CAA system.

by Ian Wild -
Picture of Plugin developers
After further investigation I think this problem of mine is actually to do with rendering the mathematical notation (see http://moodle.org/mod/forum/discuss.php?d=128454).

Ian
In reply to Ian Wild

Re: Developments in the STACK CAA system.

by Christopher Sangwin -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Glad its sorted!

I'm happy if people message me with the .xml of problem questions.  This makes it a lot easier to spot problems.

Chris

In reply to Christopher Sangwin

Re: Developments in the STACK CAA system.

by Jonathan Hart -
Congratulations Chris and Simon!

The use of jsMaths for font rendering as a great improvement, and the ability to unit test your questions is a very clever idea.

Carry on the good work!
Jonathan