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

v2 Modal household functions for every country in the PolicyEngine.py bundle

未关闭
#840 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@anth-volk 已经在做这个了。

开始于 2026年10月19日。

  • #842 来自 @anth-volk —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
backend, cloud

调研方向

Read the API v2 migration plan for Step 1, group 1C and inspect the executor, versioned v2 Modal application, deployment validation, and version manifest. Implement the household calculation and one Modal function per country in the PolicyEngine.py bundle, then validate each function and record it in the schema version 2 manifest. The linked pull request #842 is already open, so this work appears to be underway.

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

描述

Part of the API v2 migration, Step 1, group 1C (household functions), item 1C-1. This issue tracks the second of two stacked pull requests.

Scope

  • A household calculation in the executor that reproduces the Public API's in-process household calculation (input preparation, simulation construction, requested values and their serialization, warnings, SPM selection and receipt, error codes and messages), so v2 results can be compared with the Public API's.
  • One Modal household function per country in the PolicyEngine.py bundle, calculate_household_{country}, in the versioned v2 Modal application, sized for large households and axes requests. Each invocation calculates one household under one or more policies.
  • Deployment validation that calls each household function, and the v2 version manifest (schema version 2) recording each validated household function.

Nothing calls the new functions yet; the entrypoint household submit and poll routes come later (group 2B).

主要语言
Python
星标
1
派生
1
平均合并
1 天 16 小时
30 天内合并 PR
53

环境准备

从这里开始

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

PolicyEngine/policyengine-sim-api 的其他 Issue

查看 PolicyEngine/policyengine-sim-api 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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