Skip to content

Use the return value of CloseMutableBasis instead of IsContainedInSpan - #12

Merged
fingolfin merged 1 commit into
masterfrom
mh/close-mutable-basis
Oct 8, 2026
Merged

fingolfin merged 1 commit into
masterfrom
mh/close-mutable-basis

Conversation

@fingolfin

@fingolfin fingolfin commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

CloseMutableBasis returns whether it enlarged the basis, so calling IsContainedInSpan right before it does the same elimination twice. This replaces the six such pairs in SLA, as suggested in gap-system/gap#6288 and done for the GAP library in gap-system/gap#6287.

AI disclosure: Claude Code (Opus 5.5) made the change, ran the checks above and wrote this description.

CloseMutableBasis returns whether it enlarged the basis, so calling
IsContainedInSpan first does the same elimination twice. The return
value is available in GAP 4.12, the oldest version SLA supports.

See gap-system/gap#6288

Assisted-by: Claude Code (Opus 5.5)
@codecov

codecov Bot commented Oct 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.15%. Comparing base (e0871d2) to head (03067ed).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
gap/autom.gi 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #12   +/-   ##
=======================================
  Coverage   97.14%   97.15%           
=======================================
  Files          16       16           
  Lines       92590    92584    -6     
=======================================
- Hits        89951    89950    -1     
+ Misses       2639     2634    -5     
Files with missing lines Coverage Δ
gap/sssdb.gi 79.20% <100.00%> (-0.03%) ⬇️
gap/weights.gi 90.28% <100.00%> (-0.02%) ⬇️
gap/autom.gi 55.97% <0.00%> (+0.11%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fingolfin
fingolfin merged commit d4a7e49 into master Oct 8, 2026
4 of 5 checks passed
@fingolfin
fingolfin deleted the mh/close-mutable-basis branch October 8, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant