JuliaDiff / JuliaDiff/DifferentiationInterface.jl

Test two different points for derivative computations

Open
#1,007 0 comments 0 reactions 0 assignees View on GitHub

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 x2 doesn't depend on x1
  • After the second run, the returned values for x1 have not been mutated or erased

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.