CompatHelper: bump compat for DimensionalData to 0.26 for package ArviZSampleChainsDynamicHMCExt, (keep existing compat) #943
Annotations
7 errors and 1 warning
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl#L287
doctest failure in ~/.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl:287-315
```jldoctest cat
julia> coords = (; a_dim=["x", "y", "z"]);
julia> dims = dims=(; a=[:a_dim]);
julia> data = Dict(:a => randn(100, 4, 3), :b => randn(100, 4));
julia> idata = from_dict(data; coords=coords, dims=dims)
InferenceData with groups:
> posterior
julia> idata_cat1 = cat(idata, idata; dims=:chain)
InferenceData with groups:
> posterior
julia> idata_cat1.posterior
╭─────────────────╮
│ 100×8×3 Dataset │
├─────────────────┴──────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered
├──────────────────────────────────────────────────── layers ┤
:a eltype: Float64 dims: draw, chain, a_dim size: 100×8×3
:b eltype: Float64 dims: draw, chain size: 100×8
├────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
```
Subexpression:
idata_cat1.posterior
Evaluated output:
Dataset with dimensions:
Dim{:draw},
Dim{:chain},
Dim{:a_dim} Categorical{String} String["x", "y", "z"] ForwardOrdered
and 2 layers:
:a Float64 dims: Dim{:draw}, Dim{:chain}, Dim{:a_dim} (100×8×3)
:b Float64 dims: Dim{:draw}, Dim{:chain} (100×8)
with metadata Dict{String, Any} with 1 entry:
"created_at" => "2024-03-13T11:18:04.496"
Expected output:
╭─────────────────╮
│ 100×8×3 Dataset │
├─────────────────┴──────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered
├──────────────────────────────────────────────────── layers ┤
:a eltype: Float64 dims: draw, chain, a_dim size: 100×8×3
:b eltype: Float64 dims: draw, chain size: 100×8
├────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
diff =
Warning: Diff output requires color.
╭─────────────────╮
│ 100×8×3 Dataset │
├─────────────────┴──────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim with dimensions:
Dim{:draw},
Dim{:chain},
Dim{:a_dim} Categorical{String} ["x", String["x", "y", "z"] ForwardOrdered
├──────────────────────────────────────────────────── layers ┤
and 2 layers:
:a eltype: Float64 dims: draw, chain, a_dim size: 100×8×3
Dim{:draw}, Dim{:chain}, Dim{:a_dim} (100×8×3)
:b eltype: Float64 dims: draw, chain size: 100×8
├────────────────────────────────────────────────── Dim{:draw}, Dim{:chain} (100×8)
with metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434""2024-03-13T11:18:04.496"
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl#L319
doctest failure in ~/.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl:319-338
```jldoctest cat
julia> idata_cat2 = cat(idata, idata; dims=:run)
InferenceData with groups:
> posterior
julia> idata_cat2.posterior
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
```
Subexpression:
idata_cat2.posterior
Evaluated output:
Dataset with dimensions:
Dim{:draw},
Dim{:chain},
Dim{:a_dim} Categorical{String} String["x", "y", "z"] ForwardOrdered,
Dim{:run}
and 2 layers:
:a Float64 dims: Dim{:draw}, Dim{:chain}, Dim{:a_dim}, Dim{:run} (100×4×3×2)
:b Float64 dims: Dim{:draw}, Dim{:chain}, Dim{:run} (100×4×2)
with metadata Dict{String, Any} with 1 entry:
"created_at" => "2024-03-13T11:18:04.496"
Expected output:
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
diff =
Warning: Diff output requires color.
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim with dimensions:
Dim{:draw},
Dim{:chain},
Dim{:a_dim} Categorical{String} ["x", String["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
Dim{:run}
and 2 layers:
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
Dim{:draw}, Dim{:chain}, Dim{:a_dim}, Dim{:run} (100×4×3×2)
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── Dim{:draw}, Dim{:chain}, Dim{:run} (100×4×2)
with metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434""2024-03-13T11:18:04.496"
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl#L344
doctest failure in ~/.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl:344-382
```jldoctest cat
julia> observed_data = Dict(:y => randn(10));
julia> idata2 = from_dict(data; observed_data=observed_data, coords=coords, dims=dims)
InferenceData with groups:
> posterior
> observed_data
julia> idata_cat3 = cat(idata, idata2; groups=(:posterior,), dims=:run)
InferenceData with groups:
> posterior
> observed_data
julia> idata_cat3.posterior
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
julia> idata_cat3.observed_data
╭────────────────────╮
│ 10-element Dataset │
├────────────── dims ┤
↓ y_dim_1
├────────────────────┴─────────────── layers ┐
:y eltype: Float64 dims: y_dim_1 size: 10
├────────────────────────────────────────────┴ metadata ┐
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:53.539"
```
Subexpression:
idata_cat3.posterior
Evaluated output:
Dataset with dimensions:
Dim{:draw},
Dim{:chain},
Dim{:a_dim} Categorical{String} String["x", "y", "z"] ForwardOrdered,
Dim{:run}
and 2 layers:
:a Float64 dims: Dim{:draw}, Dim{:chain}, Dim{:a_dim}, Dim{:run} (100×4×3×2)
:b Float64 dims: Dim{:draw}, Dim{:chain}, Dim{:run} (100×4×2)
with metadata Dict{String, Any} with 1 entry:
"created_at" => "2024-03-13T11:18:04.496"
Expected output:
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
diff =
Warning: Diff output requires color.
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim with dimensions:
Dim{:draw},
Dim{:chain},
Dim{:a_dim} Categorical{String} ["x", String["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
Dim{:run}
and 2 layers:
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
Dim{:draw}, Dim{:chain}, Dim{:a_dim}, Dim{:run} (100×4×3×2)
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── Dim{:draw}, Dim{:chain}, Dim{:run} (100×4×2)
with metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434""2024-03-13T11:18:04.496"
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl#L344
doctest failure in ~/.julia/packages/InferenceObjects/DI3dl/src/inference_data.jl:344-382
```jldoctest cat
julia> observed_data = Dict(:y => randn(10));
julia> idata2 = from_dict(data; observed_data=observed_data, coords=coords, dims=dims)
InferenceData with groups:
> posterior
> observed_data
julia> idata_cat3 = cat(idata, idata2; groups=(:posterior,), dims=:run)
InferenceData with groups:
> posterior
> observed_data
julia> idata_cat3.posterior
╭───────────────────╮
│ 100×4×3×2 Dataset │
├───────────────────┴─────────────────────────────────── dims ┐
↓ draw ,
→ chain,
↗ a_dim Categorical{String} ["x", "y", "z"] ForwardOrdered,
⬔ run
├─────────────────────────────────────────────────────────────┴ layers ┐
:a eltype: Float64 dims: draw, chain, a_dim, run size: 100×4×3×2
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
├──────────────────────────────────────────────────────────── metadata ┤
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:48.434"
julia> idata_cat3.observed_data
╭────────────────────╮
│ 10-element Dataset │
├────────────── dims ┤
↓ y_dim_1
├────────────────────┴─────────────── layers ┐
:y eltype: Float64 dims: y_dim_1 size: 10
├────────────────────────────────────────────┴ metadata ┐
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:53.539"
```
Subexpression:
idata_cat3.observed_data
Evaluated output:
Dataset with dimensions: Dim{:y_dim_1}
and 1 layer:
:y Float64 dims: Dim{:y_dim_1} (10)
with metadata Dict{String, Any} with 1 entry:
"created_at" => "2024-03-13T11:18:08.058"
Expected output:
╭────────────────────╮
│ 10-element Dataset │
├────────────── dims ┤
↓ y_dim_1
├────────────────────┴─────────────── layers ┐
:y eltype: Float64 dims: y_dim_1 size: 10
├────────────────────────────────────────────┴ metadata ┐
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:53.539"
diff =
Warning: Diff output requires color.
╭────────────────────╮
│ 10-element Dataset │
├────────────── dims ┤
↓ y_dim_1
├────────────────────┴─────────────── layers ┐
with dimensions: Dim{:y_dim_1}
and 1 layer:
:y eltype: Float64 dims: y_dim_1 size: 10
├────────────────────────────────────────────┴ Dim{:y_dim_1} (10)
with metadata ┐
Dict{String, Any} with 1 entry:
"created_at" => "2024-03-11T14:10:53.539""2024-03-13T11:18:08.058"
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/InferenceObjects/DI3dl/ext/InferenceObjectsPosteriorStatsExt/loo_pit.jl#L18
doctest failure in ~/.julia/packages/InferenceObjects/DI3dl/ext/InferenceObjectsPosteriorStatsExt/loo_pit.jl:18-39
```jldoctest
julia> using ArviZExampleData, PosteriorStats
julia> idata = load_example_data("centered_eight");
julia> loo_result = loo(idata; var_name=:obs);
julia> loo_pit(idata, loo_result.psis_result.log_weights; y_name=:obs)
╭───────────────────────────────────────────╮
│ 8-element DimArray{Float64,1} loo_pit_obs │
├───────────────────────────────────────────┴──────────────────────────── dims ┐
↓ school Categorical{String} [Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
└──────────────────────────────────────────────────────────────────────────────┘
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
```
Subexpression:
loo_pit(idata, loo_result.psis_result.log_weights; y_name=:obs)
Evaluated output:
8-element DimArray{Float64,1} loo_pit_obs with dimensions:
Dim{:school} Categorical{String} String[Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
Expected output:
╭───────────────────────────────────────────╮
│ 8-element DimArray{Float64,1} loo_pit_obs │
├───────────────────────────────────────────┴──────────────────────────── dims ┐
↓ school Categorical{String} [Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
└──────────────────────────────────────────────────────────────────────────────┘
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
diff =
Warning: Diff output requires color.
╭───────────────────────────────────────────╮
│ 8-element DimArray{Float64,1} loo_pit_obs │
├───────────────────────────────────────────┴──────────────────────────── dims ┐
↓ school with dimensions:
Dim{:school} Categorical{String} [Choate, String[Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
└──────────────────────────────────────────────────────────────────────────────┘
Unordered
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/InferenceObjects/DI3dl/ext/InferenceObjectsPosteriorStatsExt/loo_pit.jl#L78
doctest failure in ~/.julia/packages/InferenceObjects/DI3dl/ext/InferenceObjectsPosteriorStatsExt/loo_pit.jl:78-97
```jldoctest
julia> using ArviZExampleData, PosteriorStats
julia> idata = load_example_data("centered_eight");
julia> loo_pit(idata; y_name=:obs)
╭───────────────────────────────────────────╮
│ 8-element DimArray{Float64,1} loo_pit_obs │
├───────────────────────────────────────────┴──────────────────────────── dims ┐
↓ school Categorical{String} [Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
└──────────────────────────────────────────────────────────────────────────────┘
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
```
Subexpression:
loo_pit(idata; y_name=:obs)
Evaluated output:
8-element DimArray{Float64,1} loo_pit_obs with dimensions:
Dim{:school} Categorical{String} String[Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
Expected output:
╭───────────────────────────────────────────╮
│ 8-element DimArray{Float64,1} loo_pit_obs │
├───────────────────────────────────────────┴──────────────────────────── dims ┐
↓ school Categorical{String} [Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
└──────────────────────────────────────────────────────────────────────────────┘
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
diff =
Warning: Diff output requires color.
╭───────────────────────────────────────────╮
│ 8-element DimArray{Float64,1} loo_pit_obs │
├───────────────────────────────────────────┴──────────────────────────── dims ┐
↓ school with dimensions:
Dim{:school} Categorical{String} [Choate, String[Choate, Deerfield, …, St. Paul's, Mt. Hermon] Unordered
└──────────────────────────────────────────────────────────────────────────────┘
Unordered
"Choate" 0.943511
"Deerfield" 0.63797
"Phillips Andover" 0.316697
"Phillips Exeter" 0.582252
"Hotchkiss" 0.295321
"Lawrenceville" 0.403318
"St. Paul's" 0.902508
"Mt. Hermon" 0.655275
|
Run julia-actions/julia-docdeploy@v1
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading