JuliaPOMDP / JuliaPOMDP/POMDPLinter.jl
get_requirements doesn't work with constructors
- Dominant language
- Julia
- Stars
- 3
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
@show_requirements SparseTabularPOMDP(pomdp)
fails with
MethodError: no method matching get_requirements(::Type{SparseTabularPOMDP}, ::Tuple{TigerPOMDP})
Closest candidates are:
get_requirements(!Matched::Function, ::Tuple) at /home/zach/.julia/packages/POMDPs/0djkf/src/requirements_interface.jl:26
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the @show_requirements SparseTabularPOMDP(pomdp) call and inspect the get_requirements interface, including requirements_interface.jl at the reported location. Trace how the constructor type and argument tuple are dispatched, then verify that the constructor case no longer raises the reported MethodError and produces the expected requirements output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100