Rework calculation of number of people to allow number of kits per person to be taken into account
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
調査の方向性
Annual Survey の対応した人数の計算から始め、kit item の distribution_quantity フィールドを追跡します。未設定、ゼロ、ゼロ以外の数量を対象とするテストを更新または追加し、年次レポートがその結果得られた対応人数を使用することを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rubyforgood/human-essentials のほかの issue
-
Export button on annual report should revert to "Export Report" from "Please Wait..." once report generated.対応中かも @costajohnt が 18 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
rubyforgood/human-essentials#5691 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
rubyforgood/human-essentials#5603 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Proposal: forecast-based reorder points and shortage allocation ("Replenishment Planner")対応中かも @arnavt687 が 21 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
rubyforgood/human-essentials#5728 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Ruby for Good 2026 DC stale
rubyforgood/human-essentials#5694 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Add optional phone number to users (esp Partner Users)対応中かも @costajohnt が 23 日前に担当しました。 オープンDifficulty—Intermediate Ruby for Good 2026 DC
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
rubyforgood/human-essentials#5687 ·
メンテナーはふだん 1 日以内に返信
rubyforgood/human-essentials の issue をすべて見る
似ている issue
-
🐞 bug pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
CircuitVerse/CircuitVerse#8025 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
we-promise/sure#4199 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
riscv/riscv-unified-db#2738 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
scanaislop/aislop#482 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
forem/forem#23963 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信