Modernize TypeVar syntax to PEP 695
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Start with src/art/utils/retry.py, where the issue identifies reused ParamSpec and TypeVar declarations and an orphaned TypeVar. Then search the repository for other old TypeVar syntax and unused declarations; the issue proposes reviewing more cases but does not name additional files. Done means replacing suitable declarations with PEP 695 syntax and removing dead declarations, with the affected tests passing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi :)
As part of my investigation, I came upon this repository.
There are many instances of old syntax that exists or just is orphaned.
For example:
P = ParamSpec("P")
R = TypeVar("R")
T = TypeVar("T")
src/art/utils/retry.py: "P" and "R" are reused in a few functions, while it would really benefit from PEP 695's new syntax, while T is just an orphaned TypeVar aka dead code.
I would be happy to look into more cases and prepare a PR to modernize and deal with such cases.
- Ngôn ngữ chính
- Python
- Star
- 10.9k
- Fork
- 1k
- Merge trung bình
- 2 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 38
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 OpenPipe/ART
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
gather_trajectory_groups / gather_trajectories leave sibling rollouts running after a failureCó thể đã có người làm @salma2vec đã nhận 38 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Distributed group_mean casts group ids to float32, losing precision vs non-distributed pathCó 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 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add from_entity parameter to _experimental_fork_checkpointCó thể đã có người làm @Boulea7 đã nhận 35 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
SFT double-encodes tool-call arguments for chat templates that apply `| tojson` (Qwen2.5, Llama 3.2)Có thể đã có người làm @linye157 đã nhận 26 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug improve content
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
opensafely/documentation#2102 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
difficulty:1 documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MakazhanAlpamys/Soup#3533 ·
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 74/100
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 76/100
onyx-dot-app/onyx#18730 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `aadml`Đang mởnamespace team:operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
EclipseFdn/open-vsx.org#16509 ·
Maintainer thường phản hồi trong vòng 1 ngày