to_csv() ignores reference-baseline deviations even when --reference is used
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start in faircode/report.py, especially to_csv() lines 38-72, and compare its proxy-hint section with reference rendering in to_terminal() at line 133 and to_html() at line 331. Update the CSV export to include the stated reference fields, then mirror the change in the web buildCsvReport(). Verify the CLI reproduction with --reference and confirm the output retains expected, actual, delta, and deviation data.
索引モデルが issue の本文から書いたものです。
説明
Where: faircode/report.py to_csv() (lines 38-72).
Current gap: With --reference, each dimension carries d["reference"] (expected/actual/delta per group, plus deviation). to_terminal() (line 133) and to_html() (line 331) both render it, but the CSV export drops it, so faircode profile data.csv --reference ref.csv --csv out.csv produces a file that has lost the main point of the run.
Repro:
$ grep -n "reference" faircode/report.py
(matches at 133 and 331, none in 38-72)
Suggested approach: append a reference section (dimension,label,expected,actual,delta,deviation) when any dimension has reference, mirroring the proxy-hint section added for #760; mirror it in the web buildCsvReport().
- 主要言語
- HTML
- スター
- 47
- フォーク
- 45
- 平均マージ
- 2時間 45分
- マージ済み PR(30日)
- 93
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
yakew7/Fair-Code のほかの issue
-
check_contributors.py --stub always lists new people under Contributor tooling & docs対応中かも @yangwenjie304 が 1 日前に担当しました。 オープンcommunity enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
yakew7/Fair-Code#1294 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
ci enhancement tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
ci enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
yakew7/Fair-Code の issue をすべて見る
似ている issue
-
integration: logger
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
home-assistant/core#191147 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
component/mesheryctl kind/bug language/go
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
meshery/meshery#22993 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
pyrite-wiki/pyrite#1419 ·
メンテナーはふだん 1 日以内に返信
-
command: start distro: Debian engine: null game: Teamspeak 3 reproducible: always severity: low type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
GameServerManagers/LinuxGSM#5193 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信