-
Notifications
You must be signed in to change notification settings - Fork 162
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
Fixes/Improvements that should make the 4.9 release #1809
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fails the manual tests:
########> Diff in /home/travis/build/gap-system/gap/doc/ref/../../lib/grppcext\
.gd:187 (/home/travis/build/gap-system/gap/tst/testmanuals/chapter46.tst:153)
# Input is:
D := DirectProduct( A, B );
# Expected output:
<group of size 6 with 4 generators>
# But found:
<group with 6 generators>
########
chapter46.tst
msecs: 910
Codecov Report
@@ Coverage Diff @@
## master #1809 +/- ##
==========================================
- Coverage 63.14% 63.12% -0.02%
==========================================
Files 967 967
Lines 290289 290317 +28
Branches 12746 12721 -25
==========================================
- Hits 183291 183273 -18
- Misses 104200 104247 +47
+ Partials 2798 2797 -1
|
@fingolfin How can I see which part of the manual test fails? The travis transcript is somewhat useless. |
@hulpke Search for diff on that page:
|
@hulpke isn't https://travis-ci.org/gap-system/gap/jobs/293220627#L1851 what you want? (I admit due to the excessive output this is hard to find, this probably needs to be improved. We should also make it easier to run this exact test on your own computer |
@alex-konovalov @markuspf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added two remarks / questions.
lib/morpheus.gi
Outdated
## | ||
InstallMethod(AutomorphismGroup,"test abelian",true,[IsGroup and IsFinite], | ||
SIZE_FLAGS(WITH_HIDDEN_IMPS_FLAGS(FLAGS_FILTER( | ||
IsSolvableGroup and IsFinite))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this, what's its purpose? Note that for me, it returns the value 50 -- t same as RankFilter(IsSolvableGroup and IsFinite)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fingolfin
At some time in the past SIZE_FLAGS(WITH_HIDDEN_IMPS_FLAGS(FLAGS_FILTER was the required construction to get the value of a filter. It still persists in a few places in the library.
If this ugly constrcut has been superseded by RankFilter all the better and I'd be happy to change it (in all places).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has - sometimes in the 90ies, in fact ;-)
You are right, thought, several SIZE_FLAGS(WITH_HIDDEN_IMPS_FLAGS(FLAGS_FILTER(foo)))
constructs survive, a few of them apparently were left to allow the (now removed) "completion files" to work. I'll make a PR to get rid of as many as I can.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, see PR #1840
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has changed in the 90s? Next you tell me that Helmut Kohl is not chancellor any longer!
I've changed it as well. Do I now wait for you to clear the review, or do I dismiss it?
@@ -2349,7 +2349,7 @@ local uind,subs,incl,i,j,k,m,gens,t,c,p,conj,bas,basl,r; | |||
TryNextMethod(); | |||
fi; | |||
uind:=IndexNC(G,U); | |||
if uind<200 then | |||
if uind<200 and ValueOption("usemaximals")<>true then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is added by a commit with the commit message "Added Synonym: EmbeddedConjugates, EmbeddingConjugates". Is this change here intentional? If so, it probably should be in another commit...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are one commit as both minor additions to the intermediate subgroups code. I'll change the commit text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The test failure is spurious and caused by a regression sneaking into I have two minor questions on this PR (see code comments above), otherwise it seems fine to merge. |
a4933f1
to
2636dd0
Compare
This could be merged from my POV. @hulpke OK? |
I have set up new Jenkins build which is parametrised by the number of pull request. At the moment, it will test a 64-bit build on Linux, running all six targets:
It just started to test this PR, so we will know the outcome by GMT morning. In the future, this Jenkins build may be used for final checks of some critical PRs before merging them. This will allow us to run tests without and with all packages, and to run time-consuming tests that we currently omit on Travis, for extra checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In extended tests, no errors detected while testing
without packages. But with all packages loaded we have:
########> Diff in /circa/scratch/gap-jenkins/workspace/GAP-pull-request-quickt\
est/GAPCOPTS/64build/GAPGMP/gmp/GAPTARGET/standard/label/kovacs/GAP-pull-reque\
st-snapshot/tst/teststandard/reesmat.tst:693
# Input is:
ForAll(enum, x-> x in U);
# Expected output:
true
# But found:
false
########
########> Diff in /circa/scratch/gap-jenkins/workspace/GAP-pull-request-quickt\
est/GAPCOPTS/64build/GAPGMP/gmp/GAPTARGET/standard/label/kovacs/GAP-pull-reque\
st-snapshot/tst/teststandard/reesmat.tst:712
# Input is:
ForAll(enum, x-> x in UU);
# Expected output:
true
# But found:
false
########
I will investigate further.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This interacts with Semigroups
in some unwanted way:
$ gapdev -r -A
┌───────┐ GAP 4.8.8-4506-g2636dd0 of today
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-apple-darwin15.6.0-gcc-6-default64
Configuration: gmp 6.1.2, readline
Loading the library and packages ...
Packages: GAPDoc 1.6, PrimGrp 3.1.2, smallgrp 1.2, transgrp 2.0
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("genss");
──────────────────────────────────────────────────────────────────────────────────────────────────────
Loading IO 4.4.6 (Bindings for low level C library I/O routines)
by Max Neunhöffer (http://www-groups.mcs.st-and.ac.uk/~neunhoef).
Homepage: https://gap-packages.github.io/io
──────────────────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────────────────────
Loading orb 4.7.6 (Methods to enumerate orbits)
by Juergen Mueller (http://www.math.rwth-aachen.de/~Juergen.Mueller),
Max Neunhöffer (http://www-groups.mcs.st-and.ac.uk/~neunhoef), and
Felix Noeske (http://www.math.rwth-aachen.de/~Felix.Noeske).
Homepage: https://gap-packages.github.io/orb
──────────────────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────────────────────
Loading genss 1.6.4 (Generic Schreier-Sims)
by Max Neunhöffer (http://www-groups.mcs.st-and.ac.uk/~neunhoef) and
Felix Noeske (http://www.math.rwth-aachen.de/~Felix.Noeske).
Homepage: https://gap-packages.github.io/genss
──────────────────────────────────────────────────────────────────────────────────────────────────────
true
gap> LoadPackage("dig");
──────────────────────────────────────────────────────────────────────────────────────────────────────
Loading GRAPE 4.7 (GRaph Algorithms using PErmutation groups)
by Leonard H. Soicher (http://www.maths.qmul.ac.uk/~leonard/).
Homepage: http://www.maths.qmul.ac.uk/~leonard/grape/
──────────────────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────────────────────
Loading Digraphs 0.10.1 (Digraphs - Methods for digraphs)
by J. De Beule (http://homepages.vub.ac.be/~jdbeule/),
J. Jonusas (http://www-groups.mcs.st-andrews.ac.uk/~julius/),
J. D. Mitchell (http://goo.gl/ZtViV6),
M. Torpey (http://www-groups.mcs.st-andrews.ac.uk/~mct25/), and
W. A. Wilson (http://www-groups.mcs.st-andrews.ac.uk/~waw7/).
Homepage: https://gap-packages.github.io/Digraphs
──────────────────────────────────────────────────────────────────────────────────────────────────────
true
gap> Test("reesmat.tst");
reesmat.tst
msecs: 33571
true
gap> LoadPackage("semi");
-----------------------------------------------------------------------------
Loading Semigroups 3.0.7
by J. D. Mitchell (http://www-groups.mcs.st-andrews.ac.uk/~jamesm/)
with contributions by:
S. Burrell (http://sburrell.nfshost.com),
M. Delgado (http://cmup.fc.up.pt/cmup/mdelgado/),
J. East (http://goo.gl/MuiJu5),
A. Egri-Nagy (http://www.egri-nagy.hu),
N. Ham (https://n-ham.github.io),
J. Jonusas (http://www-groups.mcs.st-andrews.ac.uk/~julius/),
M. Pfeiffer (https://www.morphism.de/~markusp/),
C. Russell,
B. Steinberg (http://www.sci.ccny.cuny.edu/~benjamin/),
J. Smith (http://math.sci.ccny.cuny.edu/people?name=Jhevon_Smith),
M. Torpey (http://www-groups.mcs.st-and.ac.uk/~mct25/),
and W. A. Wilson (http://wilf.me).
-----------------------------------------------------------------------------
true
gap> Test("reesmat.tst");
########> Diff in reesmat.tst:693
# Input is:
ForAll(enum, x-> x in U);
# Expected output:
true
# But found:
false
########
########> Diff in reesmat.tst:712
# Input is:
ForAll(enum, x-> x in UU);
# Expected output:
true
# But found:
false
########
reesmat.tst
msecs: 1439
false
gap>
@james-d-mitchell do you have an idea?
@james-d-mitchell is this maybe related to the breaking of hash functions for permutations in "orb" (and hence has nothing to do with @hulpke's changes). |
@markuspf thanks for pointing out that. If @james-d-mitchell confirms, then I will happily merge this. |
@fingolfin Yes, I was just planning to merge and just saw @alex-konovalov 's hold @alex-konovalov |
@hulpke OK, I've checked this and now happy to merge it (should it be merged or rebased???). The |
even if `Image' of homomorphisms wants to use differently. This fixes gap-system#1774
Added Synonym: EmbeddedConjugates, EmbeddingConjugates also added private option to ease debugging by forcing old code to run.
when comparing double cosets.
Otherwise manual tests fail due to changes in automorphism group generators.
further names of components: "one" and "useAddition". This fixes gap-system#1819.
even if NoPrecomputedData option is set -- otherwise the calculation cannot but fail. This fixes gap-system#1822.
@hulpke added to release notes:
If there is more to add, please let me know. |
Bugfix and efficiency fixes that should still go into 4.9, together with minor interface cleanup of internal functions to avoid releasing code with outdated interface
Update (@alex-konovalov): this fixes #1774 and #1819.