Sim's table models still map the report columns API v1 drops
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Bắt đầu với libs/policyengine-simulation-persistence/src/policyengine_simulation_persistence/tables.py và so sánh các ánh xạ Report, ReportRun và BudgetWindowRun với những thay đổi bảng API v1 được liệt kê trong issue. Kiểm tra test_the_models_match_the_public_api_tables và public-api-schema-drift.yml để xem quá trình so sánh schema được chạy như thế nào. Hoàn tất khi các cột, ràng buộc và chỉ mục được liệt kê đã bị xóa, đồng thời libs/policyengine-simulation-persistence/public-api-commit chỉ đến merge commit của #4335.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
API v1's revision 4e30076d4b9f (PolicyEngine/policyengine-api#4335, C1 · 41) drops nine columns from the v2 report tables:
reports.label,descriptionanduser_id, with the foreign keyfk_reports_user_id_usersand the indexix_reports_user_id;report_runs.trigger,baseline_cliff_gap,baseline_cliff_share,reform_cliff_gapandreform_cliff_share, with the checkck_report_runs_cliff_impact_complete;budget_window_runs.trigger.
Sim's mapped classes in libs/policyengine-simulation-persistence/src/policyengine_simulation_persistence/tables.py still declare all of them. Once #4335 merges, test_the_models_match_the_public_api_tables fails against API v1's master, so the weekly drift run (public-api-schema-drift.yml) fails, and no PR can move public-api-commit past that merge.
Done when:
Report,ReportRunandBudgetWindowRundeclare none of these columns, constraints or indexes.libs/policyengine-simulation-persistence/public-api-commitnames #4335's merge commit, so the comparison and the weekly drift run pass.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 71
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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-sim-api
-
Rename Populace to Microcosm in docstrings and test namesCó thể đã có người làm @MaxGhenis đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
PolicyEngine/policyengine-sim-api#1086 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.20.2Có thể đã có người làm @policyengine đã nhận 6 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 63/100
PolicyEngine/policyengine-sim-api#1083 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.7.3Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
PolicyEngine/policyengine-sim-api#823 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Integration tests fail due to missing UV virtual environment setupCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
PolicyEngine/policyengine-sim-api#314 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
public-api-schema-drift
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
PolicyEngine/policyengine-sim-api#1114 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/policyengine-sim-api
Issue tương tự
-
Adopt size-ratchet v4.0.3Đang mởarea: ci enhancement perceived difficulty: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Nitjsefnie-Harness-Commons/daedalus#1826 ·
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
vllm-project/vllm-sail#398 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DiamondLightSource/sm-bluesky#476 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Quick Installation step 2 installs from the plugin manager, but the plugin isn't published yetĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100