Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add "Avg. number of individuals receiving period supplies monthly" to Annual Survey

未关闭
#4,512 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
rails, ruby
领域
analytics

调研方向

首先查看 Annual Survey 报告以及 issue #4283 中的依赖关系。跟踪年度期间供应分配数据的表示方式,包括 kit 数量和分配数量,然后将月平均值和指定的注释添加到报告中。添加覆盖计算和报告输出的测试。

由索引模型根据 Issue 内容生成。

描述

BLOCKED Difficulty—Advanced

Summary

Add the Avg. number of individuals receiving period supplies monthly to Annual Survey

Why

NDBN asks for these values from the banks in their annual survey. Much easier if we can calculate it for them

Details

BLOCKED by #4283
Add a field for the average number of individuals receiving period supplies monthly to the Annual survey
Also add a note on the value "This estimate is based on 1 person per kit, and a default of 25 pads/tampons per person for non-kit items."

How do we know the # of individuals receiving period supplies?

  • we can assume that there is a 1-1 kit to person ratio, unless there is a value for quantity for individual on the kit item, in which case we should use that value (if it is 2, it is a 2 to 1 kit to person ratio)
  • The base items for period supplies have the category "Menstrual Supplies/Items"
  • Items have a "distribution quantity" -- which is the number we use when doing individual requests, so that is a reasonable quantity to use.
  • What do we do if there is no "distribution quantity", though? We use 25, (per a conversation between CL, Lynn (of the NDBN) and Judi M on Dec 12, 2023
  • Sum these values for the year, and then divide by 12 to get the monthly average.

Criteria for completion

[ ] Value is calculated and shown on the report, along with the note.
[] Tests to support this behaviour

主要语言
Ruby
星标
594
派生
596
平均合并
1 天 10 小时
30 天内合并 PR
11

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rubyforgood/human-essentials 的其他 Issue

查看 rubyforgood/human-essentials 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。