JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl
rand_tangent on circular structure StackOverFlows
Open
Nobody has claimed this yet.
bug
- Dominant language
- Julia
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
evilarray = [];
push!(evilarray, 1, evilarray)
ChainRulesTestUtils.rand_tangent(evilarray)
This can ofc be worked around in testing code but it doesn't seem hard to handle in ChainRulesTestUtils either.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the circular-array example in the issue and inspect the rand_tangent entry point in ChainRulesTestUtils. Trace how nested array values are traversed, then verify that the example no longer overflows the stack while ordinary tangent generation still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100