Add the simulation report tables (reports and report_results)
维护者通常 1 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- postgresql, python, sqlalchemy
调研方向
Read the persistence foundation and job store migrations, then trace how the initial migration sets default privileges for the runtime role. Add the simulation.reports and simulation.report_results tables with the fields and validation described in the issue. Done means the migration defines both tables and grants the runtime role access through those default privileges; the issue names no specific test or migration file.
由索引模型根据 Issue 内容生成。
描述
Context
Step 1 of the API v2 migration (item 1A-5) adds the tables that v2 economy and household reports will use in Step 2, and that the one-time migration of API v1 reports will fill.
Scope
simulation.reports:kind(economyorhousehold), a nullablelegacy_report_idfor reports migrated from the Public API, and anot_startedstatus for migrated rows that have not been computed.simulation.report_results: the report aggregate as JSONB validated by a Pydantic model, its schema version and SHA-256, summary columns and artifact URIs.
Nothing uses the tables yet.
Operator prerequisites
None beyond those of the persistence foundation (database roles and secrets) and the job store (Cloud Tasks configuration), which this builds on. The runtime role receives its table privileges from the default privileges set by the initial migration.
- 主要语言
- Python
- 星标
- 1
- 派生
- 1
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 53
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine-sim-api 的其他 Issue
-
Update policyengine to 6.7.3可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 半天 新手友好度 70/100
PolicyEngine/policyengine-sim-api#823 ·
维护者通常 1 天内回复
-
Integration tests fail due to missing UV virtual environment setup可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
PolicyEngine/policyengine-sim-api#314 ·
维护者通常 1 天内回复
-
Add the simulation job store and background result collection without leases可能已有人在做 @anth-volk 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 20/100
PolicyEngine/policyengine-sim-api#845 ·
维护者通常 1 天内回复
-
Add the Simulation Entrypoint's own Postgres schema, persistence library and migration chain可能已有人在做 @anth-volk 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 15/100
PolicyEngine/policyengine-sim-api#844 ·
维护者通常 1 天内回复
-
v2 Modal household functions for every country in the PolicyEngine.py bundle可能已有人在做 @anth-volk 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 20/100
PolicyEngine/policyengine-sim-api#840 ·
维护者通常 1 天内回复
查看 PolicyEngine/policyengine-sim-api 的全部 Issue
相似的 Issue
-
bug documentation
难度 2/5 1-3 小时 新手友好度 78/100
awslabs/visual-asset-management-system#514 ·
维护者通常 1 天内回复
-
backend bug spec:REQ-053
难度 2/5 1-3 小时 新手友好度 66/100
nolte/kamerplanter#2547 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
EleutherAI/lm-evaluation-harness#4425 ·
维护者通常 1 天内回复
-
Gemini: respect PLANNING_DISABLED=1 in lifecycle context hooks可能已有人在做 @AmariAugustin 今天认领。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 87/100
OthmanAdi/planning-with-files#329 · 1 条评论 ·
维护者通常 1 天内回复
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not exist可能已有人在做 @auraseb 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
aws/aws-sdk-pandas#3520 ·
维护者通常 2 天内回复