STACK version 3.3 released

STACK version 3.3 released

by Tim Hunt -
Number of replies: 11
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

There were various enhancements to STACK over the summer, and we have just packaged them up as a Version 3.3 release, which you can get from the plugins directory.

Here is Chris's summary of the improvements

  1. Added in the Question blocks
  2. Changes to validation of casstrings. We now allow syntax such as 3e2 to represent floating point numbers. The strict syntax settings still flag 3e2 as "missing stars".
  3. Improvements to catching common syntax errors with trig functions, e.g. sin^-1(x) or cos[x]
  4. Refactored the numerical tests. This means they are now standard Maxima tests, not using PHP.
  5. Allow the use of the Maxima orderless and ordergreat in cassessions. This helps with display, without turning off simplification.
  6. Expanding CAStext features.
    • Enable a function as an answer type, e.g. improve validation.
    • Refactor answer test unit testing to distinguish "test fail" from "zero".
    • Reject things like sin*(x) and sin^2(x) as invalid
    • Provide a new option on how parentheses are displayed for matrices
    • Provide an extra syntax checking option to enable stars to be inserted between single characters, e.g. xy -> x*y.
  7. Add the input parameter allowwords to enable the teacher to specify some permitted words of more than 2 symbols length.
  8. Reinstate the STACK 2 feature called "Hints". This has been done as a "Fact sheet" to avoid ambiguity with other Moodle features. See Fact sheet documentation.
  9. Better install (auto OS detection), healtcheck and testing.
  10. When using the Maxima Pool servlet, it is now possible to use any type of HTTP authenication (e.g. basic or digest), and there is a separate configuration option, so that you don't need to put the username and password in the URL

Thanks to everyone who has contributed:

  • Chris Sangwin (85 commits)
  • Tim Hunt (36 commits)
  • Mikael Kurula (5 commits)
  • Matt Petro (1 commit)
  • Jean-Michel Vedrine (1 commit)

And everyone who sent us bug reports, suggestions or comments.

Average of ratings: -
In reply to Tim Hunt

Re: STACK version 3.3 released

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Well done me! I managed to release version 3.3 leaving in some debug code from my last minute changes.

So, if you go to upgrade, don't be surprised to see that qtype_stack is version 3.3.1. The other plugins are still version 3.3.

In reply to Tim Hunt

Re: STACK version 3.3 released

by Henning Bostelmann -

Hello Tim

I saw that the STACK_30_STABLE branch on the repository is still pointing to v3.2 rather than v3.3 or v3.3.1. Is this intended?

(This makes merging for me rather tricky, since I use the subtree strategy in Git, and merging tags as subtrees doesn't seem to work. I'm hesitant to merge the master branch into my production Moodle.)

Best wishes
Henning

In reply to Henning Bostelmann

Re: STACK version 3.3 released

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Sorry, I forgot to update where that branch pointed when I did the release.

It should be sorted out now.

In reply to Tim Hunt

Re: STACK version 3.3 released

by Christopher Sangwin -
Picture of Plugin developers

Thank you Tim for all your work, and for making the release.

Now might be a good time for users to make requests, point out things they wish we changed, moan about interfaces which require pointless repetition and all the other things!  Then we can make a list of priorities for the next cycle...

I'm very concious that some major changes have been contributed which have not made it into this release.  I hope we include them in the next release as contributions are very welcome.

Chris

In reply to Tim Hunt

Re: STACK version 3.3 released

by Laurent BRIEND -

Thanks for this new version of Stack.

I saw in the parameters that the required version of Maxima for Stack 3.3.1 is 5.31.

My server for Moodle is the current stable debian : Wheezy. For Wheezy, the last stable version of Maxima is 5.27. I quickly tested Stack 3.3.1 with Maxima 5.27, and I didn't see any bug. Have you any idea why the parameters of Stack says 5.31 for Maxima ? Is it really required ? And if yes, what can I do ?

Laurent from France.

In reply to Laurent BRIEND

Re: STACK version 3.3 released

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This thread shows the kind of problem you can get with an old version of Maxima: https://moodle.org/mod/forum/discuss.php?d=269665

Depending on what you are doing, you may be OK, but if you get problems, there will be a limit to how much we can help.

In reply to Tim Hunt

Re: STACK version 3.3 released

by Laurent BRIEND -

Thanks Tim !

I just want to say something else about Stack and TeX/MathJax Filters : the TeX filter seems to be legacy and not tested in the future. However, the TeX Filter is very useful to make some Stack questions with some random graphs : I use pstricks package from TeX in conjonction with random variables in Stack to generate some random graphs. For example, a question where the student read on the graph the solutions of an equation, or a differential number (...). I know it's possible to do this with Gnuplot, but pstricks is more flexible. So I hope this functionality won't disappear.


Laurent

In reply to Laurent BRIEND

Re: STACK version 3.3 released

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Well, the OU still does not used MathJax. We don't use the standard TeX filter either. We use a custom filter, but the code to support our custom filter and the code to support the standard TeX filter are very similar, so for the forseeable future it is likely to be maintained.

In reply to Laurent BRIEND

Re: STACK version 3.3 released

by Christopher Sangwin -
Picture of Plugin developers

Laurent,

Thank you for letting us know you still use the TeX filter.  There is a delicate balance between keeping "legacy" features and maintaining something which is used.  I know of some forked STACK code which has quite exciting dynamic graph generation, and I hope we can merge and release some of this in the next cycle.  If you, or any other readers here, are planning some support for better graphs, in particular embedding the *value* of a CAS variable in some HTML string (rather than embedding the LaTeX in text as is the supported option now), please please make contact and let me know!

Chris

In reply to Christopher Sangwin

Re: STACK version 3.3 released

by Laurent BRIEND -

Chris,

thanks for your reply and thanks a lot for Stack code.

I don't see exactly what you mean about embedding the value of a CAS variable in some HTML string (rather LateX code). I suppose you think it's possible to do some graphs in pure HTML code, but I don't know do that. In fact, doing some dynamics graphs with Stack and pstricks code is easy because Geogebra can export a file in pstricks. I only replace some caracters by CAS random variables in pstricks code generated by Geogebra. On the other hand, pstricks is well documented and it's possible to do such differents types of pictures. Doing some questions with dynamics graphs with Stack is a very cool feature.

Regards,

Laurent

P.S: I translate Stack in french with a friend. Not finished yet, but in progress.