From bb9f215b6a3da4c1288ec371a9ec9ef586cc2c02 Mon Sep 17 00:00:00 2001 From: sbfnk-bot <242615673+sbfnk-bot@users.noreply.github.com> Date: Thu, 26 Nov 2026 08:35:19 +0000 Subject: [PATCH 1/3] Correct stale API reference entries Co-authored-by: sbfnk --- CHANGELOG.md | 2 ++ docs/make.jl | 2 +- docs/src/api.md | 8 ++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e7963deb5..14f69edb18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -336,6 +336,8 @@ EpiBranch 0.1.0 lacks the interfaces they use. Release publication is pending. ### Fixed +- Correct stale API reference entries and include distribution and network likelihood methods. + - `initial_cases` can now be combined with an active `external_hazard` on `NetworkProcess`, `RoutedNetwork` and `HouseholdProcess`: the chosen cases are seeded at time zero, and the hazard still acts on everyone else from the diff --git a/docs/make.jl b/docs/make.jl index f4b1a3b5ad..83d3a70e7e 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -9,7 +9,7 @@ makedocs(; sitename = "EpiBranch.jl", authors = "epiforecasts contributors", remotes = nothing, - warnonly = [:missing_docs, :docs_block], + warnonly = [:missing_docs], format = DocumenterVitepress.MarkdownVitepress( repo = "github.com/epiforecasts/EpiBranch.jl", devbranch = "main", diff --git a/docs/src/api.md b/docs/src/api.md index ed3a2df1ee..355c095dfa 100644 --- a/docs/src/api.md +++ b/docs/src/api.md @@ -142,7 +142,7 @@ contacts of each generation in order. simulate_by_generation ByGeneration Individuals -AbstractResolution +EpiBranch.AbstractResolution GenerationCounts prepare_generations GenerationCampaigns @@ -519,6 +519,8 @@ chain started by an imported case, uses [`IndexChainSize`](@ref). ```@docs IndexChainSize +EpiBranch.Distributions.logpdf(::IndexChainSize, ::Integer) +Base.rand(::EpiBranch.Random.AbstractRNG, ::IndexChainSize) ``` ### Household reproduction number @@ -643,6 +645,7 @@ ChainDetection observe ChainSizeLaw ThinnedChainSize +Base.rand(::EpiBranch.Random.AbstractRNG, ::ThinnedChainSize) TruncatedChainSize DetectedChainSize ``` @@ -709,6 +712,8 @@ NetworkInfections routed_network_infections RoutedNetworkInfections RoutedMassActionHazard +EpiNetwork.Distributions.loglikelihood(::NetworkInfections, ::NetworkProcess) +EpiNetwork.Distributions.loglikelihood(::RoutedNetworkInfections, ::RoutedNetwork) ``` ### Serial interval likelihood @@ -1062,7 +1067,6 @@ EpiBranch.get_generation_time EpiBranch.population_size EpiBranch.logsumexp EpiBranch.required_fields -EpiBranch._validate_required_fields EpiBranch._column_order EpiBranch._borel_logpdf EpiBranch._gammaborel_logpdf From 59b3688b67c8abecd1c5eb76a8606971243210d0 Mon Sep 17 00:00:00 2001 From: sbfnk-bot <242615673+sbfnk-bot@users.noreply.github.com> Date: Thu, 26 Nov 2026 08:39:54 +0000 Subject: [PATCH 2/3] Trim the change Co-authored-by: sbfnk --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f69edb18..7a35958e9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -336,7 +336,7 @@ EpiBranch 0.1.0 lacks the interfaces they use. Release publication is pending. ### Fixed -- Correct stale API reference entries and include distribution and network likelihood methods. +- Fix stale and missing API reference entries. - `initial_cases` can now be combined with an active `external_hazard` on `NetworkProcess`, `RoutedNetwork` and `HouseholdProcess`: the chosen cases are From 56fcb58ef924d699908dd478b60da33126377da0 Mon Sep 17 00:00:00 2001 From: sbfnk-bot <242615673+sbfnk-bot@users.noreply.github.com> Date: Thu, 26 Nov 2026 10:00:05 +0000 Subject: [PATCH 3/3] Move API reference entry to a changelog fragment Co-authored-by: sbfnk --- CHANGELOG.md | 2 -- changelog.d/fixed-api-reference-entries.md | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 changelog.d/fixed-api-reference-entries.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a35958e9d..3e7963deb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -336,8 +336,6 @@ EpiBranch 0.1.0 lacks the interfaces they use. Release publication is pending. ### Fixed -- Fix stale and missing API reference entries. - - `initial_cases` can now be combined with an active `external_hazard` on `NetworkProcess`, `RoutedNetwork` and `HouseholdProcess`: the chosen cases are seeded at time zero, and the hazard still acts on everyone else from the diff --git a/changelog.d/fixed-api-reference-entries.md b/changelog.d/fixed-api-reference-entries.md new file mode 100644 index 0000000000..28c0c8faa8 --- /dev/null +++ b/changelog.d/fixed-api-reference-entries.md @@ -0,0 +1 @@ +Fix stale and missing API reference entries.