Certify Microcosm builds published side by side in their own release folders
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with the certification and import-time compatibility checks that use release_build_id, then trace manifest parsing and dataset artifact paths. Compare the existing cut_tag behavior with the microcosm_emitter_interface.releases format referenced in the issue. Done means string-valued release and build manifests certify files under their release folder, imports reject mismatched release or build names, and older manifests retain their current behavior.
索引モデルが issue の本文から書いたものです。
説明
Problem
Microcosm is moving its dataset repositories to a new publication layout:
- each build is published once, in its own folder,
releases/<release>/<build>/, and that folder never changes afterwards; - one
releases.jsonat the repository root records which build of each release is current; - no new Hugging Face tags are created;
- each build's
release_manifest.jsonnames itsreleaseandbuildas two strings (the build is the attempt ID Microcosm already assigns, for exampleuk-frs-calibration-attempt-20261019T083323Z-6cba5d71), and no longer carriescut_tag.
The format of releases.json and the publication checks are in microcosm-emitter#24 (microcosm_emitter_interface.releases). Microcosm switches to the layout in a later change, after a one-time migration of the existing UK builds.
Certification and the import-time compatibility check currently name a data build with release_build_id, which prefers build.cut_tag (#615). They also assume build is an object. A manifest in the new layout:
- would fail to parse, because its
buildis a string; - has no tag to pin, so a certificate has to pin the build by its folder path instead;
- keeps its files inside the build folder, while today's dataset artifact paths are relative to the repository root.
Proposed change
- Parse a manifest whose
releaseandbuildare strings, and name its build bybuild, so two builds of one release never match. - Certify such a build from its own folder: the manifest URI must be
releases/<release>/<build>/release_manifest.json, and the build's files are pinned atreleases/<release>/<build>/<file>at the revision the manifest was certified at. - At import, refuse a remote manifest that names a different release or build than the folder it was read from.
- Keep manifests published before the layout (with
cut_tag) behaving exactly as they do now.
Relates to #553 and #615.
- 主要言語
- Python
- スター
- 8
- フォーク
- 10
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 50
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine.py のほかの issue
-
Raise the simulation cache memory warning to 16 GiB対応中かも @anth-volk が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PolicyEngine/policyengine.py#549 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine.py#473 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PolicyEngine/policyengine.py#436 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Certify populace-uk as the UK certified default再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine.py#408 ·
メンテナーはふだん 1 日以内に返信
-
Stop trusting the compromised eMudhra CA certificates対応中かも @anth-volk が今日担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
PolicyEngine/policyengine.py#698 ·
メンテナーはふだん 1 日以内に返信
PolicyEngine/policyengine.py の issue をすべて見る
似ている issue
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)対応中かも @Wurschdhaud が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
pyrevitlabs/pyRevit#3817 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4074 ·
-
follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
Helm chart: allow setting ingressClassName on the Ingress対応中かも @commarla が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
pgadmin-org/pgadmin4#10658 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100