Skip to content

statistics visualize : 折れ線グラフの表示を増やしました#1663

Merged
yuji38kwmt merged 10 commits into
mainfrom
20260621-2210
Jun 22, 2026
Merged

statistics visualize : 折れ線グラフの表示を増やしました#1663
yuji38kwmt merged 10 commits into
mainfrom
20260621-2210

Conversation

@yuji38kwmt

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 21, 2026 13:35
@kci-pr-agent

kci-pr-agent Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Failed to generate code suggestions for PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

散布図(生産性・品質など)の「Find User」ウィジェットに、実際にプロットされていないユーザー(例: 作業時間が欠損していて点が描画されないユーザー)が表示されてしまう問題を解消し、ウィジェットの候補を「プロットされたユーザーのみに限定」するためのPRです。

Changes:

  • ScatterGraph に「プロットされたユーザー一覧」を保持・取得する仕組みを追加
  • UserPerformance 側で Find User の候補を DataFrame 全体ではなく、実際に描画されたユーザーに変更
  • 回帰テストを追加して、未プロットユーザーが Find User に出ないことを検証
  • .codex/config.toml を削除

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/statistics/visualization/dataframe/test_user_performance.py 未プロットユーザーがHTML(Find User候補)に含まれないことを検証するテストを追加
annofabcli/statistics/visualization/dataframe/user_performance.py Find User の候補を「描画済みユーザー」に限定するよう呼び出しを変更
annofabcli/statistics/scatter.py 描画済みユーザーを収集し get_plotted_users() で返す機能を追加
.codex/config.toml 設定ファイルを削除

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Comment on lines +406 to +413
for (const renderer of [lineRenderer, markerRenderer]) {
renderer.glyph.y.field = selected.valueColumn;
renderer.glyph.change.emit();
}
movingAverageRenderer.glyph.y.field = selected.movingAverageColumn;
movingAverageRenderer.glyph.change.emit();
figureTitle.text = selected.title;
figureTitle.change.emit();
Comment on lines +1143 to +1150
for (const renderer of [lineRenderer, markerRenderer]) {
renderer.glyph.y.field = selected.valueColumn;
renderer.glyph.change.emit();
}
movingAverageRenderer.glyph.y.field = selected.movingAverageColumn;
movingAverageRenderer.glyph.change.emit();
figureTitle.text = selected.title;
figureTitle.change.emit();
@yuji38kwmt yuji38kwmt changed the title 20260621 2210 statistics visualize : 折れ線グラフの表示を増やしました Jun 22, 2026
@yuji38kwmt yuji38kwmt enabled auto-merge (squash) June 22, 2026 10:21
@yuji38kwmt yuji38kwmt merged commit 33542c2 into main Jun 22, 2026
5 checks passed
@yuji38kwmt yuji38kwmt deleted the 20260621-2210 branch June 22, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants