JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl
Testing All The Differentials
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
The frule and rrule testing functionality is now pretty decent. However, there is not good utility functionality to assist in writing tests for how each of the various AbstractDifferentials play with each of the frules and rrules.
Ideally frule_test and rrule_test will be set up such that each possible combination of arguments to each pushforward and pullback are tested separately, and for the most part automatically.
edit: on second thoughts, we should consider whether or not we actually want to test all of the possible combinations, or just make sure that each argument sees each AbstractDifferential, since the pushforwards and pullbacks are linear in their arguments.
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 reading the existing frule_test and rrule_test functionality, then inspect how pushforward and pullback receive AbstractDifferentials. Resolve whether coverage should enumerate argument combinations or ensure each argument sees each differential. Done means automatic tests cover the agreed scope for the differentials, frules, and rrules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100