Page MenuHomePhabricator

lists of months not behaving as expected
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

What should have happened instead?:
Both implementations should pass?

Other information (browser name/version, screenshots, etc.):
It's also causing downstream effects, like at https://www.wikifunctions.org/view/en/Z16430, but I've gone up the function tree to figure out where the error started.

Event Timeline

Actually, maybe I didn't go high enough up the tree.

Maybe the problem is in the Python and Javascript implementations when trying this test case: https://www.wikifunctions.org/view/en/Z16538

I think this is T359233 again. The month objects in a list are not converted to integers, so, naturally enough, they are not equal to an integer. I don’t think Z16536 passes at all; it just says it passes while its metadata (currently) shows a timeout for both implementations (which is a separate defect). I think the recursive composition ultimately depends on a Python implementation, so I doubt if has ever passed (for Gregorian calendar months).

I think Z16430 is now T370028 (and it may always have been that). Z16536 passes because there are no numbers in the empty list.

Yes. I agree with your new diagnosis. All of the compositions ultimately rely on a python/javascript list return.