Skip to content

Add some interface functions to support the new Gibbs sampler in Turing #253

Add some interface functions to support the new Gibbs sampler in Turing

Add some interface functions to support the new Gibbs sampler in Turing #253

Triggered via pull request September 8, 2024 14:10
Status Failure
Total duration 2m 43s
Artifacts

Docs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
build: src/gibbs.jl#L50
doctest failure in ~/work/AbstractMCMC.jl/AbstractMCMC.jl/src/gibbs.jl:50-56 ```jldoctest julia> flatten((a=[1,2], b=[3,4,5])) [1, 2, 3, 4, 5] julia> flatten(OrderedCollections.OrderedDict(:x=>[1.0,2.0], :y=>[3.0,4.0,5.0])) [1.0, 2.0, 3.0, 4.0, 5.0] ``` Subexpression: flatten((a=[1,2], b=[3,4,5])) Evaluated output: ERROR: UndefVarError: `flatten` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: [1, 2, 3, 4, 5] diff = Warning: Diff output requires color. [1, 2, 3, 4, 5]ERROR: UndefVarError: `flatten` not defined Stacktrace: [1] top-level scope @ none:1
build: src/gibbs.jl#L50
doctest failure in ~/work/AbstractMCMC.jl/AbstractMCMC.jl/src/gibbs.jl:50-56 ```jldoctest julia> flatten((a=[1,2], b=[3,4,5])) [1, 2, 3, 4, 5] julia> flatten(OrderedCollections.OrderedDict(:x=>[1.0,2.0], :y=>[3.0,4.0,5.0])) [1.0, 2.0, 3.0, 4.0, 5.0] ``` Subexpression: flatten(OrderedCollections.OrderedDict(:x=>[1.0,2.0], :y=>[3.0,4.0,5.0])) Evaluated output: ERROR: UndefVarError: `OrderedCollections` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: [1.0, 2.0, 3.0, 4.0, 5.0] diff = Warning: Diff output requires color. [1.0, 2.0, 3.0, 4.0, 5.0]ERROR: UndefVarError: `OrderedCollections` not defined Stacktrace: [1] top-level scope @ none:1
build: src/gibbs.jl#L69
doctest failure in ~/work/AbstractMCMC.jl/AbstractMCMC.jl/src/gibbs.jl:69-75 ```jldoctest julia> unflatten([1,2,3,4,5], (a=(2,), b=(3,))) (a=[1,2], b=[3,4,5]) julia> unflatten([1.0,2.0,3.0,4.0,5.0,6.0], (x=(2,2), y=(2,))) (x=[1.0 3.0; 2.0 4.0], y=[5.0,6.0]) ``` Subexpression: unflatten([1,2,3,4,5], (a=(2,), b=(3,))) Evaluated output: ERROR: UndefVarError: `unflatten` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: (a=[1,2], b=[3,4,5]) diff = Warning: Diff output requires color. (a=[1,2], b=[3,4,5])ERROR: UndefVarError: `unflatten` not defined Stacktrace: [1] top-level scope @ none:1
build: src/gibbs.jl#L69
doctest failure in ~/work/AbstractMCMC.jl/AbstractMCMC.jl/src/gibbs.jl:69-75 ```jldoctest julia> unflatten([1,2,3,4,5], (a=(2,), b=(3,))) (a=[1,2], b=[3,4,5]) julia> unflatten([1.0,2.0,3.0,4.0,5.0,6.0], (x=(2,2), y=(2,))) (x=[1.0 3.0; 2.0 4.0], y=[5.0,6.0]) ``` Subexpression: unflatten([1.0,2.0,3.0,4.0,5.0,6.0], (x=(2,2), y=(2,))) Evaluated output: ERROR: UndefVarError: `unflatten` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: (x=[1.0 3.0; 2.0 4.0], y=[5.0,6.0]) diff = Warning: Diff output requires color. (x=[1.0 3.0; 2.0 4.0], y=[5.0,6.0])ERROR: UndefVarError: `unflatten` not defined Stacktrace: [1] top-level scope @ none:1
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`