JuliaDiff / JuliaDiff/DiffRules.jl

Package extensions

Open
#106 2 comments 2 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.