Plot functions do not check the shape of their input

オープン
#1,273 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r

調査の方向性

Start by reading the implementations of plot_wis(), plot_heatmap(), get_coverage(), and plot_pairwise_comparisons() in the package, then inspect their existing tests. The report identifies several independent plotting and cleanup problems, including duplicated score rows, coverage grouping, heatmap scales and labels, and unused code. Done means each reported behavior is addressed and covered by tests; the issue does not name specific files or test commands.

索引モデルが issue の本文から書いたものです。

説明

CLAUDE: - [ ] plot_wis() and plot_heatmap() silently draw unsummarised scores. On raw score() output plot_wis() stacks all rows (bars show sums, not means) and plot_heatmap() overplots 887 tiles in 7 cells. Suggestion: warn or abort when the rows are not unique for the plotted dimensions.

  • Coverage plots zigzag when get_coverage(by = ) has more columns than the colour variable and no facet is added.
  • plot_heatmap(): the colour scale is centred at 0 for every metric, so non-negative metrics show nearly identical shades; labels are printed unrounded. Related to #826.
  • plot_pairwise_comparisons() has unused code (levels <- ..., a second match.arg()).

Found during a full review of the package (version 2.3.0.9000, main at 779d7d68).

主要言語
R
スター
67
フォーク
24
平均マージ
1時間 24分
マージ済み PR(30日)
2

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

epiforecasts/scoringutils のほかの issue

epiforecasts/scoringutils の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。