`filter_scores()`, `impute_missing_scores()`, `transform_forecasts()`, `get_coverage()`: edge cases
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- r
- 領域
- testing-qa
調査の方向性
Start by reading the implementations and tests for filter_scores(), impute_missing_scores(), transform_forecasts(), get_coverage(), and log_shift(), then inspect the “Handling missing forecasts” vignette. Reproduce the listed edge cases and check how existing tests cover them. Done means the identified input, validation, output, interface, and vignette issues are addressed and regression coverage confirms the expected behavior.
索引モデルが issue の本文から書いたものです。
説明
CLAUDE: - [ ] compare is not checked against the forecast unit in filter_scores() and impute_missing_scores(): filter_scores(scores, compare = "wis") removes every row with only an info message; NA in the compare column is treated as a comparator and gets imputed rows.
- Summarised scores are accepted: imputing then mixes levels of aggregation, and
filter_scores()on scores summarised by model fails with a raw data.table error. - The default log transform on counts with zeros makes
score()dropbiasfor the whole data set (natural scale included): zero quantiles become-Infandbias_quantile()fails ondiff()of infinite values. The validation insidetransform_forecasts()is wrapped insuppressWarnings(suppressMessages()), so nothing reports the infinite values. -
transform_forecasts()accepts binary, nominal and ordinal forecasts and appliesfunto probabilities and factor observations. -
log_shift()checks the input before applying the offset (log_shift(-0.5, offset = 1)aborts) and acceptsbase = 0andbase = 1. -
get_coverage()gives two values for one interval when a forecast lacks one bound: the row of the lower quantile level isNA, the row of the upper level a number. - Sample PIT bin labels are
[a,b)but values are binned right-closed. - Interface:
get_pit_histogram()has no default forby(get_coverage()has);impute_model_score(model = )is namedmodelalthoughcomparecan be any column;filter_scores()returns a keyed, re-sorted table;labelintransform_forecasts()is documented as only relevant forappend = TRUEbut is also used otherwise. - Vignette "Handling missing forecasts": the explanation of why thresholds between 0.75 and 1 behave alike is wrong (9 death targets are covered by exactly three models); the conclusion is right.
Found during a full review of the package (version 2.3.0.9000, main at 779d7d68).
- 主要言語
- R
- スター
- 67
- フォーク
- 24
- 平均マージ
- 1時間 24分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
epiforecasts/scoringutils のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
epiforecasts/scoringutils#1264 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
epiforecasts/scoringutils#1265 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
epiforecasts/scoringutils#1260 ·
メンテナーはふだん 1 日以内に返信
-
Incorrect guidance in `NEWS.md` re `add_relative_skill()`?対応中かも @nikosbosse が 15 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
epiforecasts/scoringutils#1226 · コメント 1 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
get_pit_histogram(): unsorted breaks produce negative densities; num_bins = 1 returns an empty table対応中かも @nikosbosse が 15 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
epiforecasts/scoringutils#1219 ·
メンテナーはふだん 1 日以内に返信
epiforecasts/scoringutils の issue をすべて見る
似ている issue
-
data_bio2rarify - doc - dimensions wrong対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
leppott/BioMonTools#162 ·
-
publications
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
epiforecasts/epiforecasts.github.io#161 ·
メンテナーはふだん 1 日以内に返信
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlighting対応中かも @michaelmayer2 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microbiome/OMA#1031 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ThinkR-open/golem#1265 ·