Repository navigation
Settle the open issues: a compiled-tape fix and the outcome of each issue - #925
Merged
Merged
Conversation
The floor under the total of a Normalised kernel chose between the total and eps by comparing the total, so a compiled tape kept the choice made where it was recorded. It is now the max of the two, which every number type evaluates at its own value. A total that is not finite is no longer replaced by eps. Claude-Session: https://claude.ai/code/session_01WwC7izNqN3hiaW9xiV3dRm
This was referenced Dec 1, 2026
Closed
…nto claude/settle-open-issues-6nrow8
Contributor
Try this Pull Request!Option 1: Julia Package ManagerOpen Julia and type: import Pkg
Pkg.activate(temp=true)
Pkg.add(url="https://github.com/EpiAware/ComposableRecurrences.jl", rev="claude/settle-open-issues-6nrow8")
using ComposableRecurrencesOption 2: Local CheckoutIf you have the repo locally: git checkout claude/settle-open-issues-6nrow8
julia --project=. -e "using Pkg; Pkg.instantiate()" |
…nto claude/settle-open-issues-6nrow8
The share form now carries its bound as a type parameter, and three methods still dispatched on the form without it, so a share flow moved nothing and its reverse pass was skipped. The doctest of a ward filled up to a capacity shows the difference. Claude-Session: https://claude.ai/code/session_01WwC7izNqN3hiaW9xiV3dRm
This was referenced Dec 1, 2026
…nto claude/settle-open-issues-6nrow8 # Conflicts: # src/depletion/flows.jl
seabbs-bot
changed the base branch from
claude/amazing-shannon-6nrow8
to
main
December 1, 2026 16:48
Contributor
|
📖 Documentation preview is ready! View the docs for this PR at: https://EpiAware.github.io/ComposableRecurrences.jl/previews/PR925/ This preview will be updated automatically when you push new commits. |
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.
Settles the open issues against the redesigned branch.
Each issue has a comment with its reproduction and outcome; this table is the index.
Changes in this pull request
Normalisedkernel's total is floored without a branch on its value (src/kernels/lag_maps.jl). The floor ismax(t, eps), so a compiled ReverseDiff tape recorded at one total replays at another. Fixes ReverseDiff compiled tape gives wrong values for the transpose of normalised table increments #913.test/ad/scenarios.jl): four losses recorded at a zero total and replayed at a positive one. 4 fail before the change and 4 pass after.vcat(Enzyme gives wrong gradients for change points built by vcat of Pair vectors #857), with the workaround.Survivaldocstring on how to get a cohort's cumulative distribution (Follow-ups from #536: five items left after the BVD port's API friction #891 item 3).R_t(Title doesn't render correctly and Rt won't be familiar to people #924).Sharewithout its new parameter, which changed a model's output and failed a doctest). The base now carries the same fix (1f19e43), so this pull request no longer changes that file.Every open issue
1 / epsis the 1e15 scale).ad / ReverseDiff (compiled)locally: 2,845 pass, 0 fail, from 13 failurescopyto!of aVector{Tuple{Int64, Float64}}, package-free, on Julia 1.11.9 and 1.13.4 with Enzyme 0.13.221. Report text attached. Docs row added hereParallel(backend)built; each feature gap has a homecompat_flooritemstransform0.56 to 0.91 of the hand rule;reproductionahead in five of six timingsDepletionstep, the onset table, compile timeNot touched: #916 and #918, as instructed, and #919, which is today's design issue on the views of a kernel's table and belongs to the session that owns kernel views.
#921, the release tracker, has a status comment and stays with its owner.
In all: 15 closed, 14 open and waiting on a named party, 2 open and unfinished.
Tests run
ad / ReverseDiff (compiled), the whole job, locally on Julia 1.13.4: 2,845 pass.The new item, before and after the change.
The unit items for computed kernels and the transpose, the doctests and the quality items, locally: 733 pass, 21 broken (as before), 0 fail. Runic passes on the changed files.
After the share fix and the title change: the standards items (doctests, navigation, wording, line length) and the
Depletionunit items, locally: 1,430 pass, 21 broken (as before), 0 fail. Before the share fix the same run had 1 failure, themodifiers.mddoctest.The forward call on the plain path, before and after the floor change, three alternating rounds (
Convolutionover aNormalisedkernel, 30 lags, 200 times, minimum µs). The outputs are identical to the last bit.Normalised(Increments(table))Normalised(g * Survival(TimeVarying(h)))The spread between rounds of one arm is larger than any difference between the arms.
test/unit/weights.jl(54 of 54 in its item).The other AD jobs were not run locally.
For the maintainer
Normalisednow passes through and is no longer replaced byeps.https://claude.ai/code/session_01WwC7izNqN3hiaW9xiV3dRm
Generated by Claude Code