The empty-cell benchmark test builds its toy audit by hand

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

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

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

評価

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

調査の方向性

tests/benchmark_helpers.pyとtests/test_benchmark.pyのempty_cell_resultフィクスチャを読んでください。_write_toy_auditがフィクスチャで構築したDataFrameを受け取れるように更新し、それを使ってテスト用の監査データを書き込み、重複したmanifest辞書を削除してください。フィクスチャが約10行短くなり、既存のテストが変更なしで通れば完了です。

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

説明

enhancement good first issue testing

Where: tests/test_benchmark.py (empty_cell_result), tests/benchmark_helpers.py.

Current gap: _write_toy_audit writes a two-attribute toy manifest for most benchmark tests (#1325), but the empty-intersectional-cell fixture still writes its own CSV and manifest dict (40 rows, one disadvantaged value pair that never co-occurs) with the same keys.

Suggested approach: Give _write_toy_audit an optional frame so the fixture passes its constructed rows, and drop the duplicated manifest dict.

Done when: the fixture is about ten lines shorter and the test passes unchanged.

主要言語
HTML
スター
47
フォーク
45
平均マージ
2時間 39分
マージ済み PR(30日)
57

環境構築

はじめの一歩

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

yakew7/Fair-Code のほかの issue

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

似ている issue

Testing & QA の issue をもっと見る

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

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