NiceGeneratorsAn (Odd and Even): Improve documentation, rename variables, restructure code, add tests#382
NiceGeneratorsAn (Odd and Even): Improve documentation, rename variables, restructure code, add tests#382TWiedemann wants to merge 14 commits intogap-packages:masterfrom
NiceGeneratorsAn (Odd and Even): Improve documentation, rename variables, restructure code, add tests#382Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #382 +/- ##
==========================================
+ Coverage 69.19% 72.67% +3.48%
==========================================
Files 43 43
Lines 18403 18400 -3
==========================================
+ Hits 12734 13373 +639
+ Misses 5669 5027 -642
🚀 New features to boost your workflow:
|
|
If you write "does not resolve XYZ" then GitHub still parses this as "resolves XYZ" and will thus close that issue if this PR is merged. You need to rephrase it, e.g. "does no resolve issue XYZ" or "XYZ is not resolved by this" or so. |
fingolfin
left a comment
There was a problem hiding this comment.
Thanks, looks pretty good! Some minor nitpicks
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Max Horn <max@quendi.de>
Done. I commited your suggestions. Some checks fail which are apparently related to #362. |
|
I changed the test |
NiceGeneratorsAnOdd: Improve documentation, rename variables, restructure code, add testsNiceGeneratorsAn (Odd and Even): Improve documentation, rename variables, restructure code, add tests
|
Added the same changes for The CI checks now succeed (without any of my doing). Locally, I think we can merge this now, but I am not sure about the error above that appears only locally on my machine. |
The same changes as in #369 but for
NiceGeneratorsAnOdd.In addition, the random search for cycles of lengths 2, 3, and n in
NiceGeneratorsAnOddandNiceGeneratorsSnis moved to a new functionRECOG.FindCycles.Issue #381 is not resolved by this PR, but it is slightly related.
Update 19.02.2026: Added the same changes for
NiceGeneratorsAnEvenand updatedRECOG.FindCyclesto also accept n-1.