Package evaluation of StochasticAD on Julia 1.12.0-DEV.1805 (a080deafdd*) started at 2025-03-24T18:24:38.019 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.98s ################################################################################ # Installation # Installing StochasticAD... Resolving package versions... Updating `~/.julia/environments/v1.12/Project.toml` [e4facb34] + StochasticAD v0.1.26 Updating `~/.julia/environments/v1.12/Manifest.toml` [79e6a3ab] + Adapt v4.3.0 [66dad0bd] + AliasTables v1.1.3 [082447d4] + ChainRules v1.72.3 [d360d2e6] + ChainRulesCore v1.25.1 [f51149dc] + ChainRulesOverloadGeneration v0.1.4 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [187b0558] + ConstructionBase v1.5.8 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 ⌅ [85a47980] + Dictionaries v0.3.29 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [31c24e10] + Distributions v0.25.118 [ced4e74d] + DistributionsAD v0.6.57 [ffbed154] + DocStringExtensions v0.9.3 [e2ba6199] + ExprTools v0.1.10 [1a297f60] + FillArrays v1.13.0 [f6369f11] + ForwardDiff v0.10.38 ⌅ [d9f16b24] + Functors v0.4.12 [46192b85] + GPUArraysCore v0.2.0 [34004b35] + HypergeometricFunctions v0.3.28 [313cdc1a] + Indexing v1.1.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [e1d29d7a] + Missings v1.2.0 [77ba4419] + NaNMath v1.1.2 [bac558e1] + OrderedCollections v1.8.0 [90014a1f] + PDMats v0.11.32 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [c1ae055f] + RealDot v0.1.0 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.8.0 [a2af1166] + SortingAlgorithms v1.2.1 [dc90abb0] + SparseInverseSubset v0.1.2 [276daf66] + SpecialFunctions v2.5.0 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.0 [2913bbd2] + StatsBase v0.34.4 [4c63d2b9] + StatsFuns v1.3.2 [e4facb34] + StochasticAD v0.1.26 [09ab397b] + StructArrays v0.7.0 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [700de1a5] + ZygoteRules v0.2.7 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [dc6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [d6f4376e] + Markdown v1.11.0 [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.12.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.2.0+0 [e37daf67] + LibGit2_jll v1.8.0+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+1 [4536629a] + OpenBLAS_jll v0.3.28+3 [05823500] + OpenLibm_jll v0.8.1+3 [bea87d4a] + SuiteSparse_jll v7.8.0+1 [8e850b90] + libblastrampoline_jll v5.11.2+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 4.37s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 76.42s ################################################################################ # Testing # Testing StochasticAD Status `/tmp/jl_acqN4N/Project.toml` [d360d2e6] ChainRulesCore v1.25.1 [f51149dc] ChainRulesOverloadGeneration v0.1.4 ⌅ [85a47980] Dictionaries v0.3.29 [163ba53b] DiffResults v1.1.0 [31c24e10] Distributions v0.25.118 [ced4e74d] DistributionsAD v0.6.57 [e2ba6199] ExprTools v0.1.10 [f6369f11] ForwardDiff v0.10.38 ⌅ [d9f16b24] Functors v0.4.12 [43dcc890] GaussianDistributions v0.5.2 [eff96d63] Measurements v2.12.0 [6fe1bfb0] OffsetArrays v1.16.0 [1bc83da4] SafeTestsets v0.1.0 [90137ffa] StaticArrays v1.9.13 [10745b16] Statistics v1.11.1 [2913bbd2] StatsBase v0.34.4 [e4facb34] StochasticAD v0.1.26 [3a884ed6] UnPack v1.0.2 [e88e6eb3] Zygote v0.7.4 [37e2e46d] LinearAlgebra v1.11.0 [44cfe95a] Pkg v1.12.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_acqN4N/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.3.0 [66dad0bd] AliasTables v1.1.3 [a9b6321e] Atomix v1.1.1 [fa961155] CEnum v0.5.0 [49dc2e85] Calculus v0.5.2 [082447d4] ChainRules v1.72.3 [d360d2e6] ChainRulesCore v1.25.1 [f51149dc] ChainRulesOverloadGeneration v0.1.4 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [187b0558] ConstructionBase v1.5.8 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 ⌅ [85a47980] Dictionaries v0.3.29 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [31c24e10] Distributions v0.25.118 [ced4e74d] DistributionsAD v0.6.57 [ffbed154] DocStringExtensions v0.9.3 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.13.0 [f6369f11] ForwardDiff v0.10.38 ⌅ [d9f16b24] Functors v0.4.12 [0c68f7d7] GPUArrays v11.2.2 [46192b85] GPUArraysCore v0.2.0 [43dcc890] GaussianDistributions v0.5.2 [076d061b] HashArrayMappedTries v0.2.0 [34004b35] HypergeometricFunctions v0.3.28 [7869d1d1] IRTools v0.4.14 [313cdc1a] Indexing v1.1.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [63c18a36] KernelAbstractions v0.9.34 [929cbde3] LLVM v9.2.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [eff96d63] Measurements v2.12.0 [e1d29d7a] Missings v1.2.0 [77ba4419] NaNMath v1.1.2 [6fe1bfb0] OffsetArrays v1.16.0 [bac558e1] OrderedCollections v1.8.0 [90014a1f] PDMats v0.11.32 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [79098fc4] Rmath v0.8.0 [1bc83da4] SafeTestsets v0.1.0 [7e506255] ScopedValues v1.3.0 [a2af1166] SortingAlgorithms v1.2.1 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 [2913bbd2] StatsBase v0.34.4 [4c63d2b9] StatsFuns v1.3.2 [e4facb34] StochasticAD v0.1.26 [09ab397b] StructArrays v0.7.0 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [3a884ed6] UnPack v1.0.2 [013be700] UnsafeAtomics v0.3.0 [e88e6eb3] Zygote v0.7.4 [700de1a5] ZygoteRules v0.2.7 [dad2f222] LLVMExtra_jll v0.0.35+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [dc6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.12.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.2.0+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.8.0+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+1 [14a3606d] MozillaCACerts_jll v2024.11.26 [4536629a] OpenBLAS_jll v0.3.28+3 [05823500] OpenLibm_jll v0.8.1+3 [bea87d4a] SuiteSparse_jll v7.8.0+1 [83775a58] Zlib_jll v1.3.1+1 [8e850b90] libblastrampoline_jll v5.11.2+0 [8e850ede] nghttp2_jll v1.63.0+1 [3f19e933] p7zip_jll v17.5.0+1 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Test Summary: | Pass Broken Total Time Triples | 1083 13 1096 15m39.6s 939.807171 seconds (1.52 G allocations: 64.269 GiB, 5.26% gc time, 61.33% compilation time: 8% of which was recompilation) Test Summary: | Pass Total Time Game of life | 1 1 49.6s 49.591005 seconds (703.13 M allocations: 22.091 GiB, 8.39% gc time, 13.90% compilation time: 1% of which was recompilation) Test Summary: | Pass Total Time Random walk | 1 1 17.8s 17.814893 seconds (38.43 M allocations: 1.385 GiB, 2.24% gc time, 91.77% compilation time: <1% of which was recompilation) ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = resample(m::Int64, X::Vector{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Main.var"##Resampling#270".ParticleFilterCore.var"#21#22"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Float64}, Float64, 1}}}, W::Vector{ForwardDiff.Dual{ForwardDiff.Tag{Main.var"##Resampling#270".ParticleFilterCore.var"#21#22"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Float64}, Float64, 1}}, ω::ForwardDiff.Dual{ForwardDiff.Tag{Main.var"##Resampling#270".ParticleFilterCore.var"#21#22"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Float64}, Float64, 1}, sample_strategy::typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified), use_new_weight::Bool) at core.jl:170 └ @ Core ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:170 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = adjoint at deprecated.jl:31 [inlined] └ @ Core ~/.julia/packages/Zygote/3To5I/src/deprecated.jl:31 forward-mode and reverse-mode AD: single run: Error During Test at /home/pkgeval/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:50 Got exception outside of a @test MethodError: Cannot `convert` an object of type Vector{Float64} to an object of type Union{ChainRulesCore.ZeroTangent, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#rrule##136#rrule##137"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#rrule##134#rrule##135"{Vector{Float64}, Matrix{Float64}}}} The function `convert` exists, but no method is defined for this combination of argument types. Closest candidates are: convert(::Type{T}, !Matched::T) where T @ Base Base_compiler.jl:133 Stacktrace: [1] setindex! @ ./array.jl:985 [inlined] [2] setindex! @ ./subarray.jl:386 [inlined] [3] macro expansion @ ./broadcast.jl:990 [inlined] [4] macro expansion @ ./simdloop.jl:77 [inlined] [5] copyto! @ ./broadcast.jl:989 [inlined] [6] copyto! @ ./broadcast.jl:942 [inlined] [7] materialize! @ ./broadcast.jl:900 [inlined] [8] materialize! @ ./broadcast.jl:897 [inlined] [9] ∇getindex!(dx::Vector{Union{ChainRulesCore.ZeroTangent, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#rrule##136#rrule##137"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#rrule##134#rrule##135"{Vector{Float64}, Matrix{Float64}}}}}, dy::Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#rrule##136#rrule##137"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#rrule##134#rrule##135"{Vector{Float64}, Matrix{Float64}}}}, inds::Vector{Int64}) @ ChainRules ~/.julia/packages/ChainRules/Q16hj/src/rulesets/Base/indexing.jl:151 [10] ∇getindex(x::Vector{Vector{Float64}}, dy::Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#rrule##136#rrule##137"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#rrule##134#rrule##135"{Vector{Float64}, Matrix{Float64}}}}, inds::Vector{Int64}) @ ChainRules ~/.julia/packages/ChainRules/Q16hj/src/rulesets/Base/indexing.jl:89 [11] #thunked_∇getindex##2 @ ~/.julia/packages/ChainRules/Q16hj/src/rulesets/Base/indexing.jl:69 [inlined] [12] unthunk @ ~/.julia/packages/ChainRulesCore/U6wNx/src/tangent_types/thunks.jl:213 [inlined] [13] unthunk @ ~/.julia/packages/ChainRulesCore/U6wNx/src/tangent_types/thunks.jl:252 [inlined] [14] accum(x::ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#thunked_∇getindex##2#thunked_∇getindex##3"{Vector{Vector{Float64}}, Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#rrule##136#rrule##137"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#rrule##134#rrule##135"{Vector{Float64}, Matrix{Float64}}}}, Tuple{Vector{Int64}}}}, ChainRules.var"#thunked_∇getindex##0#thunked_∇getindex##1"{Vector{Vector{Float64}}, Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#rrule##136#rrule##137"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#rrule##134#rrule##135"{Vector{Float64}, Matrix{Float64}}}}, Tuple{Vector{Int64}}}}, y::Vector{Vector{Float64}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/lib/lib.jl:47 [15] (::Zygote.var"#back#back##9"{:contents, Zygote.Context{false}, Core.Box, Vector{Vector{Float64}}})(Δ::Vector{Vector{Float64}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/lib/lib.jl:245 [16] (::Zygote.var"#389#390"{Zygote.var"#back#back##9"{:contents, Zygote.Context{false}, Core.Box, Vector{Vector{Float64}}}})(Δ::Vector{Vector{Float64}}) @ Zygote ~/.julia/packages/ZygoteRules/CkVIK/src/adjoint.jl:72 [17] #_#3 @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:223 [inlined] [18] (::Zygote.Pullback{Tuple{Main.var"##Resampling#270".ParticleFilterCore.var"##_#3", Bool, Bool, Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any})(Δ::Tuple{Nothing, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#554"{Float64, Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, ChainRules.var"#551#552"{Float64, Colon}}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:0 [19] (::Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any})(Δ::Tuple{Nothing, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#554"{Float64, Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, ChainRules.var"#551#552"{Float64, Colon}}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:110 [20] InplaceableThunk @ ~/.julia/packages/ChainRulesCore/U6wNx/src/tangent_types/thunks.jl:246 [inlined] [21] sum_pullback @ ~/.julia/packages/ChainRules/Q16hj/src/rulesets/Base/mapreduce.jl:33 [inlined] [22] ZBack @ ~/.julia/packages/Zygote/3To5I/src/compiler/chainrules.jl:221 [inlined] [23] log_likelihood @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:270 [inlined] [24] (::Zygote.Pullback{Tuple{typeof(Main.var"##Resampling#270".ParticleFilterCore.log_likelihood), Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}, Bool, Int64}, Tuple{Zygote.ZBack{ChainRules.var"#log_pullback#log_pullback##0"{Float64, ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 2, Zygote.Context{false}, Int64}}, Zygote.var"#back#_pullback##0"{Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Float64}}}, Zygote.ZBack{ChainRules.var"#sum_pullback#550"{Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}, Zygote.Pullback{Tuple{Type{NamedTuple{(:store_path, :use_new_weight, :s)}}, Tuple{Bool, Bool, Int64}}, Tuple{Zygote.ZBack{Returns{Tuple{ChainRulesCore.NoTangent, ChainRulesCore.NoTangent}}}, Zygote.var"#409#410"{Zygote.Jnew{@NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Nothing, true}}}}, Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any}, Zygote.var"#248#249"{typeof(identity)}, Zygote.var"#back#_pullback##1"{Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 2, Zygote.Context{false}, Vector{Float64}}}}}})(Δ::Float64) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:0 [25] (::Zygote.Pullback{Tuple{Main.var"##Resampling#270".ParticleFilterCore.var"#25#26"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Vector{Float64}}, Tuple{Zygote.var"#389#390"{Zygote.var"#back#back##9"{:s, Zygote.Context{false}, Main.var"##Resampling#270".ParticleFilterCore.var"#25#26"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Int64}}, Zygote.var"#389#390"{Zygote.var"#back#back##9"{:F, Zygote.Context{false}, Main.var"##Resampling#270".ParticleFilterCore.var"#25#26"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}}, Zygote.Pullback{Tuple{typeof(Main.var"##Resampling#270".ParticleFilterCore.log_likelihood), Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}, Bool, Int64}, Tuple{Zygote.ZBack{ChainRules.var"#log_pullback#log_pullback##0"{Float64, ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 2, Zygote.Context{false}, Int64}}, Zygote.var"#back#_pullback##0"{Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Float64}}}, Zygote.ZBack{ChainRules.var"#sum_pullback#550"{Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}, Zygote.Pullback{Tuple{Type{NamedTuple{(:store_path, :use_new_weight, :s)}}, Tuple{Bool, Bool, Int64}}, Tuple{Zygote.ZBack{Returns{Tuple{ChainRulesCore.NoTangent, ChainRulesCore.NoTangent}}}, Zygote.var"#409#410"{Zygote.Jnew{@NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Nothing, true}}}}, Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any}, Zygote.var"#248#249"{typeof(identity)}, Zygote.var"#back#_pullback##1"{Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 2, Zygote.Context{false}, Vector{Float64}}}}}}}})(Δ::Float64) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:110 [26] (::Zygote.var"#pullback##0#pullback##1"{Zygote.Pullback{Tuple{Main.var"##Resampling#270".ParticleFilterCore.var"#25#26"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Vector{Float64}}, Tuple{Zygote.var"#389#390"{Zygote.var"#back#back##9"{:s, Zygote.Context{false}, Main.var"##Resampling#270".ParticleFilterCore.var"#25#26"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Int64}}, Zygote.var"#389#390"{Zygote.var"#back#back##9"{:F, Zygote.Context{false}, Main.var"##Resampling#270".ParticleFilterCore.var"#25#26"{Int64, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}}}, Zygote.Pullback{Tuple{typeof(Main.var"##Resampling#270".ParticleFilterCore.log_likelihood), Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}, Bool, Int64}, Tuple{Zygote.ZBack{ChainRules.var"#log_pullback#log_pullback##0"{Float64, ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 2, Zygote.Context{false}, Int64}}, Zygote.var"#back#_pullback##0"{Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Float64}}}, Zygote.ZBack{ChainRules.var"#sum_pullback#550"{Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}, Zygote.Pullback{Tuple{Type{NamedTuple{(:store_path, :use_new_weight, :s)}}, Tuple{Bool, Bool, Int64}}, Tuple{Zygote.ZBack{Returns{Tuple{ChainRulesCore.NoTangent, ChainRulesCore.NoTangent}}}, Zygote.var"#409#410"{Zygote.Jnew{@NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Nothing, true}}}}, Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any}, Zygote.var"#248#249"{typeof(identity)}, Zygote.var"#back#_pullback##1"{Zygote.var"#259#260"{Zygote.var"#back#back##0"{2, 2, Zygote.Context{false}, Vector{Float64}}}}}}}}})(Δ::Float64) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface.jl:97 [27] gradient(f::Function, args::Vector{Float64}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface.jl:154 [28] #back_grad#23 @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:293 [inlined] [29] back_grad(θ::Vector{Float64}, F::Main.var"##Resampling#270".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#270".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#270".start), typeof(Main.var"##Resampling#270".dyn), typeof(Main.var"##Resampling#270".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified)}) @ Main.var"##Resampling#270".ParticleFilterCore ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:292 [30] top-level scope @ ~/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:51 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [32] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:54 [inlined] [33] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [34] top-level scope @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30 [35] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:22 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [37] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:22 [inlined] [38] eval(m::Module, e::Any) @ Core ./boot.jl:485 [39] macro expansion @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] [40] macro expansion @ ./timing.jl:611 [inlined] [41] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:21 [inlined] [42] macro expansion @ ./timing.jl:611 [inlined] [43] top-level scope @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:343 [44] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [45] top-level scope @ none:6 [46] eval(m::Module, e::Any) @ Core ./boot.jl:485 [47] exec_options(opts::Base.JLOptions) @ Base ./client.jl:295 [48] _start() @ Base ./client.jl:558 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = resample(m::Int64, X::Vector{Vector{Float64}}, W::Vector{Float64}, ω::Float64, sample_strategy::typeof(Main.var"##Resampling#270".ParticleFilterCore.sample_stratified), use_new_weight::Bool) at core.jl:170 └ @ Core ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:170 AD and Finite Differences: Test Failed at /home/pkgeval/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:67 Expression: ≈(mean(grad_fd), mean(grad_fw), rtol = 0.05) Evaluated: -3.759166987295612 ≈ -4.02505204701486 (rtol=0.05) Stacktrace: [1] top-level scope @ ~/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:59 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [3] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:67 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:679 [inlined] Test Summary: | Pass Fail Error Total Time Resampling | 5 1 1 7 4m17.6s new weight | 5 5 0.3s forward-mode and reverse-mode AD: single run | 1 1 1m36.6s AD and Finite Differences | 1 1 2m25.4s ERROR: LoadError: Some tests did not pass: 5 passed, 1 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:10 Testing failed after 1276.95s ERROR: LoadError: Package StochasticAD errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2359 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2214 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:159 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:147 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:147 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:146 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:300 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:329 [12] _start() @ Base ./client.jl:558 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 1394.4s: package tests unexpectedly errored