Skip to content

Report the signature algorithm's S-pair queue by name, not as "todo" - #93

Merged
d-torrance merged 1 commit into
Macaulay2:masterfrom
d-torrance:sig-spair-queue-name
Sep 25, 2026
Merged

d-torrance merged 1 commit into
Macaulay2:masterfrom
d-torrance:sig-spair-queue-name

Conversation

@d-torrance

Copy link
Copy Markdown
Member

Every mgb sig run printed

 S-pair queue type: todo

ConcreteSigSPairQueue::name() was a placeholder, {return "todo";}, that was
never filled in.

The class wraps a mathic::PairQueue exactly as SPairs does for the classic
algorithm, and SPairs::name() simply returns the queue's own name. This
does the same, so mgb sig now prints

 S-pair queue type: PairQueue-t-tree (si)

which matches what mgb gb reports. PairQueue::name() is the call
SPairs already makes, so this needs nothing new from mathic.

Verification

  • 254/254 in cmake Release and Debug, GCC 13.3, no build warnings.
  • mgb sig on cyclic5 prints the line above.
  • Nothing in the test suite or in Macaulay2 matches the old todo string.

No test is added: the text comes from mathic, so asserting it would tie a
mathicgb test to mathic's wording, and no test checks SPairs::name() either.

🤖 Generated with Claude Code

ConcreteSigSPairQueue::name() was a placeholder never filled in, so
every mgb sig run printed

   S-pair queue type: todo

The class wraps a mathic::PairQueue exactly as SPairs does for the
classic algorithm, and SPairs::name() returns the queue's own name, so
this does the same.  mgb sig now prints

   S-pair queue type: PairQueue-t-tree (si)

matching mgb gb.  PairQueue::name() is what SPairs already calls, so
this needs nothing new from mathic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-torrance
d-torrance merged commit 87a68de into Macaulay2:master Sep 25, 2026
18 checks passed
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