Closed golenkovm closed 1 year ago
Seems like differences in the floats in LISP+Maxima combinations. The tests are correct and show the logic not functioning on a particular LISP implementation of floats. So those are true failures and changing the tests is not the way to deal with this the changes need to be done on the logic side generating the output and it needs to be tested with a wide range of LISP+Maxima combinations.
Thank you for pushing some code here! We really do appreciate you taking the time and trouble to do this.
As Matti says, this is a lisp difference. It has been on my "to do" list for a while to make sure the test set up has a lisp setting, and we check for the right behaviour based on your setup! This is a helpful pull request, and will prompt me to actually do this. I know having failing tests is a problem and we should not ignore it. The "e" vs "E" is not a blocker to using STACK.
Chris
Hi @sangwinc and @aharjula
Thank you for your feedback.
I agree that the "e" vs "E" is not a blocker to using STACK. However, failing unit tests is a blocker. At least for us. Could you please provide any ETA on fixing this from lisp end?
Kind regards, Mikhail
Yes, I quite understand why failing unit tests would be a compliance blocker! Sorry, about this. Leave it with me.
We alreasy have a thing in place that is used in some test to ingore 'irrelevant' differences in floats. I wonder how easy it is to start using it here?
(E.g. https://github.com/maths/moodle-qtype_stack/blob/master/tests/test_base_test.php#L43 - incidentally, those tests don't make sense to me. is it me, or is that testing the same thing repeatedly?)
Tim, I think those tests do have some subtle differences!
Mikhail, What version of Maxima and LISP are you using please?
Just start Maxima from the command line and let me know the result (email is fine if you don't want to paste it here). Chris
Hi @sangwinc
As I can see, it's Lisp SBCL 1.3.14.debian:
root@da58fbc0117c:/usr/local/tomcat# maxima
WARNING:
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp SBCL 1.3.14.debian
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1)
I'm using Maximapool https://github.com/uni-halle/maximapool-docker with manually updated stack plugin up to 2020120600 https://github.com/catalyst/maximapool-docker/commit/419f37a21231fc29c41455ac2a3c7b24adaab2f5
Did you manage to replicate these failing unit tests?
Cheers, MIkhail
We should be able to close this now that #935 has been merged.
Hi guys,
Has anyone seen these failing unit tests before?
Some details on my case:
qtype_stack
codebase, version 2020120600config.php
has the following:unihalle/maximapool
(2020101501), so I had to fork it and update stack in maximapool to have them same versionPlease, let me know your thought what might cause these 6 tests to fail?
Kind regards, Mikhail