Feature request: Coverage in DifferentiationInterfaceTest
还没有人认领这个 Issue。
评估
调研方向
首先阅读 DifferentiationInterfaceTest (DIT) 的场景,以及 issue 中描述的现有 CI、文档和基准测试入口点。确定是否可以在受支持的 AD 后端之间一致地定义覆盖率,以及它将如何与共享场景连接。完成的标准是:有一个已记录且可工作的覆盖率工作流,或有一份清楚论证其不可行原因的说明。
由索引模型根据 Issue 内容生成。
描述
To preface, this may be impossible and I really like DIT as it stands.
Ask
I would like to be able to use DifferentiaionInterfaceTest as my unit testing interface, benchmarking tool, and code coverage generator when creating packages meant to work well with AD (both a specific AD package and for multiple as far as I am aware, none of them has good tools for this). Related package level issue: https://github.com/EpiAware/CensoredDistributions.jl/issues/272
The missing part of this is having an understanding of what is being covered by my DIT scenarios which it seems code coverage is designed for.
The reason I want this is we are moving towards making a larger Julia ecosystem of packages and we really want them on a firm base/with some good practices established before hand.
What we are doing at the moment:
We currently run DIT in our CI per benchmark, in our docs (https://censoreddistributions.epiaware.org/stable/getting-started/tutorials/ad-backends) and in our benchmarking suite from a shared set of scenarios. Early days but very happy with DIT as it stands. The only additional nice to have would be a shared way to test rules but that seems like the real wild west so I imagine is out of scope.
Solution
I don't know. I don't know anything about how the AD version of the code interacts with the original version or if there is enough commonality between backends to make this a thing that is plausible to do across backends.
- 主要语言
- Julia
- 星标
- 317
- 派生
- 38
- 平均合并
- 7 小时 36 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaDiff/DifferentiationInterface.jl 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
JuliaDiff/DifferentiationInterface.jl#1069 · 1 条评论 ·
-
bot
难度 2/5 1-3 小时 新手友好度 68/100
JuliaDiff/DifferentiationInterface.jl#1011 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
-
AutoEnzyme Jacobian preparation scalar-indexes Reactant traced arrays可能重新可做 关联的 PR 已关闭且未合并。 未关闭backend wontfix
难度 4/5 3-5 天 新手友好度 52/100
JuliaDiff/DifferentiationInterface.jl#1066 · 10 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
查看 JuliaDiff/DifferentiationInterface.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
lux
难度 2/5 1-3 小时 新手友好度 76/100
JuliaGraphs/GraphNeuralNetworks.jl#732 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
erfinv(::Float16) and erfcinv(::Float16) are wrong for abs(x) <= 0.75 (erfinv(Float16(0)) == 0.2201)未关闭
难度 2/5 1-3 小时 新手友好度 82/100
JuliaMath/SpecialFunctions.jl#571 ·
-
难度 2/5 1-3 小时 新手友好度 74/100