Certify Microcosm builds published side by side in their own release folders
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 8
- Forks
- 10
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 50
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus PolicyEngine/policyengine.py
-
Raise the simulation cache memory warning to 16 GiBEvtl. vergeben @anth-volk hat das vor 34 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
PolicyEngine/policyengine.py#549 ·
Maintainer antworten meist innerhalb von 1 Tag
-
README population quickstart still teaches enhanced_frs_2023_24Evtl. vergeben @vahid-ahmadi hat das vor 11 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
PolicyEngine/policyengine.py#473 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
PolicyEngine/policyengine.py#436 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Certify populace-uk as the UK certified defaultEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
PolicyEngine/policyengine.py#408 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Record supported dataset years in the bundle manifest and check years before downloadsEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
PolicyEngine/policyengine.py#734 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in PolicyEngine/policyengine.py
Ähnliche Issues
-
Backend issue lists report in-patch warnings and out-of-patch errors as not publishableEvtl. vergeben @RaphaelFakhri hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
mozilla/code-review#3794 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[oblt-aw][autodoc] Update docs that still describe the security registry as emptyEvtl. vergeben @github-actions hat das heute übernommen. Offen
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug] adb backup script reports "Done" & exits 0 when the backup failsEvtl. vergeben @bhattmanthan hat das heute übernommen. Offenrequest-issue-assignment
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
OWASP/mastg#4034 · 5 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent-ui bug p2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
amd/gaia#6580 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
correction metadata
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
acl-org/acl-anthology#10768 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag