-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent changes cause test suites of groupoids, semigroups, xmod to fail #5318
Comments
A quick git bisect reveals that (for semigroups at least), the commit which introduced the breaking change is:
|
Thanks for that, @james-d-mitchell. I assume the failures in the semigroups test suite suggest a real problem (not just "different output due to randomness"), correct? I wonder if we can isolate an example of a problematic input for |
Thanks @fingolfin, I haven't checked in detail, this isn't a "different output due to randomness issue" as far as I can tell. |
This probably means that code (or an example) makes an implicit assumption of a permutation representation chosen (regular? transitive?) that is not true any longer. But if you can point me to a pc group for which the perm rep computed now is false, I will fix ASAP. |
(If such an input exists -- for xmod, so far everything looks fine to me -- different results, but they seem equally valid) |
Here is an example where the behaviour is different before and after 8cbcc1f. Before:
After:
So the return value of |
Yes, |
I am happy to adjust the output in examples in XMod and Groupoids, but not just yet. I am in the process of replacing my 2009 iMac, which is no longer fit for purpose, and have removed my entire GAP installation. |
I'm also willing to adjust the output for Semigroups, and have opened an issue in Semigroups so we don't forget. |
@james-d-mitchell so the changes are not mathematical problems? Good! One way to get the tests to produce identical results across GAP versions might be to use |
In both XMod and Groupoids have now added functions which call RegularActionHomomorphism and used these functions in tests in place of those which use IsomorphismPermGroup. |
@cdwensley thank you, looking forward to new releases with these fixes in them then! |
Groupoids 1.73 and XMod 2.91 now released with these fixes. |
All seems to be working now |
See this report for links to the failing CI runs.
It seems to have started between January 9-11, but unfortunately during that day GitHub was experiencing trouble and a result many CI jobs randomly failed everywhere, hence https://github.com/gap-system/PackageDistro/blob/data/reports/master/2023-01-11-03:00:40-4a91c2d8/report.md shows other unrelated failures (mostly due to failed downloads).
I have not yet made attempts to figure out if the changes are legit and harmless, and just require adjusting the tests to make them more robust (e.g. avoid depending on some GAP computation choosing specific permutations to generate some subgroup); or whether there are genuine mathematical issues (and in that case, whether the new code is buggy, or the code in the package, or something else). But at least for semigroups, the result of a
InverseSemigroup
computation changed from<partial perm group of rank 8 with 1 generator>
to something with rank 4, which sounds like a real problem to me.I don't know for sure which PR started it, but my suspicions are on PR #5298 by @hulpke or PR #5275 by @james-d-mitchell. (To be clear, I am not implying these PRs are doing anything wrong, just that one of them or perhaps even the combination, likely started the failure of those package CI tests.)
CC @james-d-mitchell @cdwensley
The text was updated successfully, but these errors were encountered: