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

Rework calculation of number of people to allow number of kits per person to be taken into account

オープン
#4,542 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rails, ruby
領域
analytics, backend

調査の方向性

Annual Survey の対応した人数の計算から始め、kit item の distribution_quantity フィールドを追跡します。未設定、ゼロ、ゼロ以外の数量を対象とするテストを更新または追加し、年次レポートがその結果得られた対応人数を使用することを確認します。

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

説明

Difficulty—Advanced NOT READY

Summary

We had been assuming 1 kit per person in our calcs regarding number of people served in the annual report. This is not alwaus right -- so we'll need to take into account the kit item quantity per individual

Why change?

Accuracy of annual report numbers which impacts grant writing, which impacts the funds and materials the banks have to distribute

Details

We are in the progress of taking kits into account for various numbers in the annual survey (login as [email protected], Reports | Annual Survey). We'd been assuming 1 kit per person. We have found out that for weird local-to-state reasons, this is not always the case.

In the calculation of number of people served (currently for diapers, but we are working on period products), we currently assume 1 kit per person. Instead, we need to use the quantity per individual field (item.distribution_quantity) on the item that corresponds to the kit -- if it is not set (or is 0), assume 1 kit per person, otherwise use the given value per person.

(That is, the number of people served by the kit would be the number of kits divided by that value)

Criteria for completion

  • calculations changed to take into account the quantity per individual on the kit
  • tests modified and/or added to support this change
主要言語
Ruby
スター
594
フォーク
596
平均マージ
1日 17時間
マージ済み PR(30日)
12

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

rubyforgood/human-essentials のほかの issue

rubyforgood/human-essentials の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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