The terminal and HTML rendering of compare proxy hints is untested
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
faircode/report.py の to_compare_terminal() と compare_to_html() を読み、次に tests/test_report.py を調べて、比較結果がどのように作成され、描画されるかを確認してください。proxy ヒント permutation と chi2-capped を使うケースに加え、HTML の特殊文字を含む列名のケースを追加し、両方のレンダラーのセクション、注記、エスケープを検証してください。これらのアサーションで報告された不足点を網羅できたら完了です。
索引モデルが issue の本文から書いたものです。
説明
Where: faircode/report.py to_compare_terminal() (lines 346-352) and compare_to_html() (716-721), tests/test_report.py.
Current gap: coverage shows no test renders a compare result that has proxy_hints_a / proxy_hints_b: the "PROXY HINTS - A/B" sections of the terminal report and the "Proxy Hints" sections of the HTML report. The web compare HTML is covered by the parity test, but a regression in the Python renderers (a missing escape, a wrong p_method note) would not be noticed.
Repro:
$ python3 -m pytest tests -q -m "not slow" --cov=faircode.report --cov-report=term-missing | grep report.py
faircode/report.py ... 346-352, ... 716-721
Suggested approach: tests that build a compare result with hints (one permutation, one chi2-capped, one with an HTML-special column name) and assert the sections, the notes and the escaping in both renderers.
- 主要言語
- HTML
- スター
- 47
- フォーク
- 45
- 平均マージ
- 3時間 15分
- マージ済み PR(30日)
- 97
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
yakew7/Fair-Code のほかの issue
-
ci enhancement testing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement reproducibility
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
community enhancement tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
The benchmark OG card and the home card hard-code counts and domains that are also kept elsewhereオープンenhancement tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
yakew7/Fair-Code の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
glossyio/traffic-monitor#264 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
BUG: find_MAP raises ImportError with better-optimize 0.4.3, the version pip installs対応中かも @parth-patel010 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pymc-devs/pymc#8577 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信