Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The terminal and HTML rendering of compare proxy hints is untested

クローズ 初心者向け
#960 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

faircode/report.py の to_compare_terminal() と compare_to_html() を読み、次に tests/test_report.py を調べて、比較結果がどのように作成され、描画されるかを確認してください。proxy ヒント permutation と chi2-capped を使うケースに加え、HTML の特殊文字を含む列名のケースを追加し、両方のレンダラーのセクション、注記、エスケープを検証してください。これらのアサーションで報告された不足点を網羅できたら完了です。

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

説明

enhancement good first 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

環境構築

はじめの一歩

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

yakew7/Fair-Code のほかの issue

yakew7/Fair-Code の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

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

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