Skip to content

POMDPs 1 Compat

POMDPs 1 Compat #5

Triggered via push June 13, 2024 00:24
Status Success
Total duration 5m 31s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 4 warnings, and 1 notice
build: docs/src/quick.md#L10
doctest failure in src/quick.md:10-33 ```jldoctest; output = false, filter = r".*" using QuickPOMDPs using POMDPModelTools: Deterministic mountaincar = QuickMDP( function (s, a, rng) x, v = s vp = clamp(v + a*0.001 + cos(3*x)*-0.0025, -0.07, 0.07) xp = x + vp if xp > 0.5 r = 100.0 else r = -1.0 end return (sp=(xp, vp), r=r) end, actions = [-1., 0., 1.], initialstate = Deterministic((-0.5, 0.0)), discount = 0.95, isterminal = s -> s[1] > 0.5 ) # output ``` Subexpression: using QuickPOMDPs using POMDPModelTools: Deterministic mountaincar = QuickMDP( function (s, a, rng) x, v = s vp = clamp(v + a*0.001 + cos(3*x)*-0.0025, -0.07, 0.07) xp = x + vp if xp > 0.5 r = 100.0 else r = -1.0 end return (sp=(xp, vp), r=r) end, actions = [-1., 0., 1.], initialstate = Deterministic((-0.5, 0.0)), discount = 0.95, isterminal = s -> s[1] > 0.5 ) Evaluated output: Expected output: diff = Warning: Diff output requires color.
build: docs/src/discrete_explicit.md#L16
doctest failure in src/discrete_explicit.md:16-59 ```jldoctest; output = false using QuickPOMDPs S = [:left, :right] # S, A, and O may contain any objects A = [:left, :right, :listen] # including user-defined types O = [:left, :right] γ = 0.95 function T(s, a, sp) if a == :listen return s == sp else # a door is opened return 0.5 #reset end end function Z(a, sp, o) if a == :listen if o == sp return 0.85 else return 0.15 end else return 0.5 end end function R(s, a) if a == :listen return -1.0 elseif s == a # the tiger was found return -100.0 else # the tiger was escaped return 10.0 end end m = DiscreteExplicitPOMDP(S,A,O,T,Z,R,γ) # output DiscreteExplicitPOMDP{Symbol,Symbol,Symbol,typeof(Z),typeof(R),POMDPModelTools.Uniform{Set{Symbol}}}(Symbol[:left, :right], Symbol[:left, :right, :listen], Symbol[:left, :right], Dict((:left, :right) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5]),(:left, :listen) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left], [1.0]),(:right, :left) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5]),(:right, :right) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5]),(:right, :listen) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:right], [1.0]),(:left, :left) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5])), Dict((:listen, :right) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.15, 0.85]),(:left, :right) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5]),(:right, :left) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5]),(:right, :right) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5]),(:listen, :left) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.85, 0.15]),(:left, :left) => POMDPModelTools.SparseCat{Array{Symbol,1},Array{Float64,1}}(Symbol[:left, :right], [0.5, 0.5])), Z, R, Dict(:left => 1,:right => 2), Dict(:left => 1,:right => 2,:listen => 3), Dict(:left => 1,:right => 2), 0.95, POMDPModelTools.Uniform{Set{Symbol}}(Set(Symbol[:left, :right])), Set(Symbol[])) ``` Subexpression: using QuickPOMDPs S = [:left, :right] # S, A, and O may contain any objects A = [:left, :right, :listen] # including user-defined types O = [:left, :right] γ = 0.95 function T(s, a, sp) if a == :listen return s == sp else # a door is opened return 0.5 #reset end end function Z(a, sp, o) if a == :listen if o == sp return 0.85 else return 0.15 end else return 0.5 end end function R(s, a) if a == :listen return -1.0 elseif s == a # the tiger was found return -100.0 else # the tiger was escaped return 10.0 end end m = DiscreteExplicitPOMDP(S,A,O,T,Z,R,γ) Evaluated output: DiscreteExplicitPOMDP{Symbol, Symbol, Symbol, typeof(Z), typeof(R), POMDPTools.POMDPDistributions.Uniform{Set{Symbol}}}([:left, :right], [:left, :right, :listen], [:left, :right], Dict{Tuple{Symbol, Symbol}, POMDPTools.POMDPDistributions.SparseCat{Vector{Symbol}, Vector{Float64}}}((:right, :left) => POMDPTools.POMDPDistributions.SparseCat{Vector{Symbol}, Vector{Float64}}([:left, :right], [0.5, 0.5]), (:right, :right) => POMDPTools.POMDPDistributions.SparseCat{Vector{Symbol}, Vector{Float64}}([:left, :right], [0.5, 0.5]), (:left, :listen) => POMDPTools.POMDPDistributions.SparseCat{Vector{Symbol}, Vector{Float64}}([:left], [1.0]), (:left, :left) => POMDPTools.POMDPDistributions.SparseCat{Vector{Symbol}, Vector{Float64}}([:left, :right], [0.5, 0.5]), (:right, :listen) => POMDPTools.POMDPDistr
build: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
5 docstrings not included in the manual: QuickPOMDPs.preprocess :: Tuple{Any} QuickPOMDPs.QuickPOMDP :: Union{Tuple{Function}, Tuple{Function, Any}} QuickPOMDPs.QuickPOMDP :: Union{Tuple{}, Tuple{Any}} QuickPOMDPs.QuickMDP :: Union{Tuple{Function}, Tuple{Function, Any}} QuickPOMDPs.QuickMDP :: Union{Tuple{}, Tuple{Any}} These are docstrings in the checked modules (configured with the modules keyword) that are not included in @docs or @autodocs blocks.
build: ../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L800
removing `stable` and linking `stable` to `v0.2.14`.
build: ../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L800
removing `v0.2` and linking `v0.2` to `v0.2.14`.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
[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`