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

Measure Stage 12 coordinator preparation and separate metric producers

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

维护者通常 1 天内回复

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

开始于 2026年9月30日。

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

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python

调研方向

Start at the Stage 12 coordinator path and trace the interval from coordinator ownership to child-state persistence. Then locate the central stage registry, Cloud Run and Modal identity handling, AI-facing observability documentation, and focused tests. Done means the new operations, child-input attribution, process identity, region attributes, release requirement, and tests all satisfy the acceptance criteria.

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

描述

Problem

A production Stage 12 trace contained an unmeasured 38.7-second interval after the coordinator acquired report execution ownership and before it persisted child simulation state. Simulation services also reuse platform identifiers as metric instance identifiers, which can cause Google Monitoring time-series collisions.

Proposed change

  • Measure the full coordinator preparation interval.
  • Add nested registered operations for output planning, country model loading, output configuration, output variable resolution, and baseline/reform child input construction.
  • Emit the normal operation completion logs and duration metrics for each new operation.
  • Give each Cloud Run and Modal Python process a stable unique instance identifier.
  • Populate Cloud Run and Modal region resource attributes.
  • Require the observability package release that supplies process identity.
  • Update AI-facing observability documentation and focused tests.

Acceptance criteria

  • Every new operation name is defined in the central stage registry.
  • The full interval between coordinator ownership and child-state persistence is measured.
  • Child input measurements identify baseline or reform without adding unbounded metric labels.
  • Cloud Run and Modal identity and region behavior is covered by tests.
  • The next deployed Stage 12 run attributes the previously unmeasured interval to the new nested operations.
主要语言
Python
星标
1
派生
1
平均合并
1 天 6 小时
30 天内合并 PR
24

环境准备

从这里开始

  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 摘要。