Designing some test fakes
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- julia
調査の方向性
まず、リンクされた interface-testing に関するブログ記事を読み、パッケージの TestUtils モジュールを確認するとともに、AbstractGPs で言及されている GP 関連テストを確認します。提案されている複合カーネルと有効な入力コレクションを、AD をサポートし、数値的に正定値となるカーネル行列を生成し、インターフェースで保証されていない性質を前提としないように定義します。再利用可能な fake と入力が下流のテスト向けに公開され、それらの要件をカバーしていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
We have decent enough interface tests in this package, but we don't have good choices for test fakes. See this blog for a description of what they are / why they're useful. The reason I think they're likely useful here is that if you're a package that consumes kernels, you currently have to pick a kernel + inputs to the kernel. Often, as for the tests involving a GP in AbstractGPs, it would be really useful if KernelFunctions just gave you a kernel and some collections of valid inputs for that kernel for which you could be confident that
- the kernel matrix produced is going to be positive definite (numerically)
- the kernel doesn't satisfy any more properties than the interface specifies. i.e. you probably want to be testing with a non-stationary kernel, that doesn't have unit variance etc to avoid accidentally depending on an edge case
Maybe we should publish in the TestUtils module some kind of weird composite kernel that we know isn't stationary etc, and that does play nicely with AD, in addition to some collections of inputs to the kernel that a downstream user can make use of.
Any thoughts as to whether this would be useful?
edit: link to blog post added
- 主要言語
- Julia
- スター
- 276
- フォーク
- 42
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaGaussianProcesses/KernelFunctions.jl のほかの issue
-
Future plans?オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaGaussianProcesses/KernelFunctions.jl#585 · コメント 8 件 · リアクション 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
JuliaGaussianProcesses/KernelFunctions.jl#571 · リアクション 1 件 ·
-
new kernel
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
JuliaGaussianProcesses/KernelFunctions.jl#533 · リアクション 1 件 ·
JuliaGaussianProcesses/KernelFunctions.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
documentation invalid
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
JuliaPhysics/BeamletOptics.jl#190 ·
メンテナーはふだん 2 日以内に返信
-
mul! with a Symmetric or Hermitian factor throws for a matrix view whose columns are not contiguous対応中かも @dkarrasch が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
JuliaLang/LinearAlgebra.jl#1829 ·
メンテナーはふだん 1 日以内に返信
-
`EnsembleSummary` `ci_type = :SEM` ribbon is `sqrt(N)` too wide for scalar states対応中かも @isaacsas が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
SciML/SciMLBase.jl#1654 ·
メンテナーはふだん 3 日以内に返信