Contribute PolicyEngine vocabulary patterns to TRACE / TROv
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng việc đọc policyengine.py và docs/trace-case-study.md để lập danh mục các trường pe:* hiện có và các ví dụ TRO được phát ra. Sau khi kiểm thử tải nghiêm ngặt việc phát TRO của webapp-run, hãy chuẩn bị bản ghi nhớ kỹ thuật, xác định các mẫu có thể khái quát hóa cho những thảo luận được đề xuất về TRACE/TROv, và chia sẻ các TRO bundle và mô phỏng đã được xây dựng với nhóm TRACE.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
At the 2026-04-21 meeting with Lars Vilhuber, Tim Clark, and Casper of the TRACE project, they explicitly invited PolicyEngine to contribute to TRACE's vocabulary / mapping work as we implement. Direct quotes:
"If you want to enrich bare trace metadata there is already the ability to attach specific policy engine vocabulary that goes along with it that you find useful so you don't have like two different sets of metadata flying around. But again there might be additions that you think might be more generally useful where we're going to have to ponder do we next release of the trace vocabulary the trough."
"expressing those things and seeing exactly what is the value that you get from trace or using it in a particular way for your use case is gold. Because outside of a particular domain it all just looks like okay just you know to me just running software you've got data and so on. But what is the precise value you're getting? That's what drives the precise features of the vocabulary."
Codex's review of our post-meeting plan flagged that this invited workstream was not captured.
What we already do
policyengine.py emits TROs with a pe: namespace (https://policyengine.org/trace/0.1#) carrying fields that are not part of TROv core:
pe:certifiedForModelVersionpe:compatibilityBasis(one ofexact_build_model_version,matching_data_build_fingerprint,legacy_compatible_model_package)pe:builtWithModelVersionpe:dataBuildIdpe:dataBuildFingerprintpe:certifiedBype:emittedIn(localorgithub-actions)pe:ciRunUrl,pe:ciGitSha,pe:ciGitRefpe:bundleFingerprint,pe:bundleTroUrl
These live on the trov:TransparentResearchPerformance node so core SHACL shapes are unaffected.
What to contribute upstream
Some of the pe:* fields are idiosyncratic to us (pe:bundleFingerprint depends on our specific bundle-manifest shape). Others probably generalize:
- Institution-backed self-attestation metadata:
pe:certifiedBy,pe:emittedIn, and something likepe:productionRuntime(container image SHA, cloud region, pod/function instance at execution time). Any institution that runs computation on behalf of researchers and signs the output would need these. - Microdata-build provenance: how a derived dataset was produced from licensed inputs + public code + calibration targets. Our
DataReleaseManifestshape might be worth generalizing as a vocabulary pattern for "this derived artifact was built by this procedure against these inputs, some of which are restricted." - Compatibility-basis vocabulary: the TRO encodes how we chose to treat a model-vs-data version pair as compatible (exact match, fingerprint match, legacy-compatible). Other statistical-agency / microsimulation producers probably need similar vocabulary.
Deliverables
- Technical memo describing the
pe:*fields we use, why each one exists, and which we think generalize. (See also:policyengine.py/docs/trace-case-study.md.) - Proposed TROv additions filed as issues / discussion threads on the TRACE project as we identify patterns that generalize.
- Worked examples: share our actual emitted TROs (bundle + simulation) with the TRACE team as reference implementations during their next vocabulary point release.
Timing
Follows the implementation of webapp-run TRO emission (api#3485) since patterns generalize better when they have been stress-tested in production.
Related
- Meeting on 2026-04-21 with Lars Vilhuber, Tim Clark, Casper
- PolicyEngine/policyengine.py
docs/trace-case-study.md(PR #315)
- Ngôn ngữ chính
- Python
- Star
- 8
- Fork
- 10
- Merge trung bình
- 21 giờ 34 phút
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/policyengine.py
-
Raise the simulation cache memory warning to 16 GiBCó thể đã có người làm @anth-volk đã nhận 18 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine.py#549 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine.py#473 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
PolicyEngine/policyengine.py#436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Certify populace-uk as the UK certified defaultCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine.py#408 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
UK replay gate: a data-limited inert measure blocks certification of every pe-uk release after #2241Có thể đã có người làm @MaxGhenis đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
PolicyEngine/policyengine.py#653 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/policyengine.py
Issue tương tự
-
comp/cli P3 type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
NousResearch/hermes-agent#141420 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vendor-pitch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug llm p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
New tool: ZIPZAX Python Notebook StudioCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mởsubmission triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
kausalflow/tools#226 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100