JuliaDiff / JuliaDiff/DiffRules.jl
Package extensions
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 74
- Forks
- 36
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
This package defines rules for functions from LogExpFunctions, NaNMath, and SpecialFunctions packages, in addition to Base. Looking at https://github.com/JuliaDiff/DiffRules.jl/blob/master/src/rules.jl, their rules are pretty self-contained (*) and can easily be turned into package extensions to enable using DiffRules as a dependency in other lightweight packages.
Would you support and accept such a PR turning them into weakdeps?
(*) One exception: a SpecialFunctions function used in a NaNMath rule definition, https://github.com/JuliaDiff/DiffRules.jl/blob/8842177391b07dcd8234ac7612b9ca8ca72d28e0/src/rules.jl#L276.
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 with the rules in src/rules.jl and inspect how the LogExpFunctions, NaNMath, and SpecialFunctions rules are grouped, including the noted SpecialFunctions reference inside a NaNMath rule. Done means the package can expose those integrations as weak-dependency extensions while preserving the existing rules and handling that cross-package exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100