Skip to content

docs: bring the composable recurrences page up to v0.2.0 - #34

Open
seabbs-bot wants to merge 2 commits into
mainfrom
update-recurrences-page
Open

seabbs-bot wants to merge 2 commits into
mainfrom
update-recurrences-page

Conversation

@seabbs-bot

@seabbs-bot seabbs-bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

The composable recurrences approach page still described ComposableRecurrences.jl API v0.1 as unregistered and in progress.
This brings it in line with v0.2.0, the current release.
The example now uses the current API, the prose covers the main new features, and the status and links are up to date.

Claude Opus 5.5 [high]

What changed

approaches/composable-recurrences.qmd, keeping the page's structure:

  • Hero example: Add(0.5) becomes Transform(+, 0.5) and with_state(...) becomes a call with record = Resume().
  • Install note: the example uses v0.2.0, installed with Pkg.add("ComposableRecurrences").
  • Prose: record = Resume()/Pressure()/Trace(), start => value change points, parameters (Derived, Recent, Gather), computed kernels (Survival, Increments, Normalised) and delay distributions as kernels.
  • Modifiers: Add and Clamp replaced by Transform, plus Allocate, Depletion pools and flows, and the Hazard/Floor/Truncate forms. A new modifier is now a pure step, not a forward method.
  • "Plug-in adjoints" becomes "Gradient rules and backends" in the present tense: ForwardDiff, ReverseDiff, Mooncake, Enzyme and Reactant, the Mooncake and Enzyme rules, NoAdjoint and test_adjoint. The dead benchmark/gradients.jl link is replaced by the performance page.
  • New short "Executors and GPUs" section: Serial, Threaded, Parallel, GPU arrays and Reactant.
  • Package map: the module list is updated, and a dashed grey arrow from CensoredDistributions shows the existing optional extension (ComposableRecurrencesCensoredDistributionsExt). The caption and the CensoredDistributions text say so.
  • Status: v0.2.0 is the current registered release, with the Julia 1.12 floor and 1.13 support, the main renames, and a link to the v0.2.0 release.
  • The performance link now points at performance/index, which matches the docs' own link.
  • Where next: links to the stable docs, the API overview and the tutorials.

packages/index.qmd: the ComposableRecurrences row says it is registered at v0.2.0, not "not yet registered" and "native adjoints in progress". Its status pill moves from experimental to maturing, as the legend defines experimental as not yet registered.

Nothing from EpiAware/ComposableRecurrences.jl#1009 is described because it is still open.

Checks

  • Ran the hero example against ComposableRecurrences main (6ef2937) on Julia 1.12.7. y ≈ hcat(y1, y2) is true.
  • Ran the API named in the prose as one-liners: Transform(clamp, 0.0, 8.0), change-point TimeVarying, Gather(PerStratum(...), rows), Depletion(...; pools = ...), Convolution(...; lags = 1:3), record = (Pressure(), Trace()), and NoAdjoint.
  • quarto render of the approach page and the packages page builds without warnings.
  • Rendered the package map SVG to check the new arrow does not cross other edges.

Open points

  • The page is written as if v0.2.0 and its docs are live. Every /stable/ path used (the root, explanation/api-overview, getting-started/index, getting-started/three-towns, performance/index) returns 200 under /dev/ today, checked with curl and no redirects.
  • The package README links some /stable/tutorials/... paths that do not exist under /dev/.

This was opened by a bot. Please ping @seabbs for any questions.

Replace removed API in the example and prose (Add, Clamp, with_state)
with Transform and record = Resume(). Describe parameters, computed
kernels, Depletion pools and flows, Allocate, the Mooncake and Enzyme
rules, the AD backends including Reactant, executors and GPU arrays,
and the Julia 1.12 floor. Show the CensoredDistributions extension on
the package map, update the status, and link the docs. Fix the stale
status in the package table row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the "about to be released" and install-from-main framing, install
with Pkg.add, link the v0.2.0 GitHub release, point the performance
link at a path that exists in the docs, and mark the package maturing
in the package table now that it is registered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

📄 Site preview built

The rendered site for this PR is available as the site-preview artifact on this run. Download it and open _site/index.html to review.

This branch has not been deployed

No deployments
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.

2 participants