JuliaDiff / JuliaDiff/DifferentiationInterface.jl
Test two different points for derivative computations
Open
Nobody has claimed this yet.
test
- Dominant language
- Julia
- Stars
- 313
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
At the moment, DIT prepares the computation at a different point (usually zero(x)) then runs it twice at x. It would be better to run it at x1 and x2 to make sure that
- The result at
x2doesn't depend onx1 - After the second run, the returned values for
x1have not been mutated or erased
Contributor guide
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 locating DIT's current derivative-computation preparation and repeated evaluation tests, then run the existing test suite for those computations. Add coverage that evaluates at x1 and x2, verifies the x2 result is independent of x1, and confirms the returned x1 values remain intact after the second run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100