Let the shard-assignment properties draw up to 16 shards

未关闭 适合新手
#2,920 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 3 天内回复

@juaristi22 已经在做这个了。

开始于 2026年11月24日。

  • #2955 来自 @juaristi22 —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
92/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
testing

调研方向

打开 policyengine_uk/tests/code_health/test_ci_test_shards.py,检查第 141、187、204 和 268 行的四处 shard 数量抽取。将它们的上限提高到 16,然后运行此测试文件。四个属性都包含十个 shard 且测试通过,即表示完成。

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

描述

policyengine_uk/tests/code_health/test_ci_test_shards.py draws the shard count from st.integers(1, 8) at lines 141, 187 and 204, and from st.integers(2, 8) at line 268 (main at d3db7ac07). #2919 moves CI to ten shards, so these four properties no longer reach the count CI uses.

Raising each upper bound to 16 would cover ten and leave room to grow. The other draws already reach 64 or 200, or bound something other than CI's shard count.

主要语言
Python
星标
53
派生
34
平均合并
3 天 7 小时
30 天内合并 PR
100

环境准备

从这里开始

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

PolicyEngine/policyengine-uk 的其他 Issue

查看 PolicyEngine/policyengine-uk 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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