Repository navigation
Route the NoAdjoint twin of the table cut through the wrapper - #1049
Merged
Merged
Conversation
The table method of contributions builds its own convolution, so the registry's table-cut scenario ignored the wrapper and its NoAdjoint twin took the same rule. contributions(K; start, stop) now goes through an internal _table_contributions(wrap, K; start, stop) that wraps that convolution, and the scenario passes its wrapper there. Closes #1034. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WwC7ixCuG9cWCUmCJUmbPL
This was referenced Dec 4, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1034.
The
NoAdjointtwin of the table-cut registry scenario now takes plain AD, so its "no rule fires" check holds on the Enzyme and Mooncake reverse registry jobs.Claude Opus 5.5 [medium]
Cause
_table_cut(w, θ)intest/ADFixtures/src/registry.jlnever usedw.It called
contributions(K; stop), which builds its ownConvolutioninside the package, so the twin ran the rule just as the scenario did.Change
contributions(K; start, stop)now calls an internal_table_contributions(wrap, K; start, stop), which applieswrapto the convolution it builds. The public method passesidentity, so its behaviour is unchanged.wthere, so the twin wraps that convolution inNoAdjoint._REQUIRESfor the scenario now also lists:_table_contributions, so a compat-floor leg on a release without it leaves the scenario out.This is the fix from
claude/noadjoint-table-cut(33c996b), withmainmerged in (no rebase).Checks
The issue's reproducer with this branch, the same on Julia 1.12.7 and 1.13.4:
On
mainthe twin reportsfired = true.AD versions (Julia 1.12) was dispatched on this branch: https://github.com/EpiAware/ComposableRecurrences.jl/actions/runs/47322079874
This was opened by a bot. Please ping @seabbs for any questions.