Modernize TypeVar syntax to PEP 695
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 10.9k
- フォーク
- 1k
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 38
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenPipe/ART のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
gather_trajectory_groups / gather_trajectories leave sibling rollouts running after a failure対応中かも @salma2vec が 38 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Distributed group_mean casts group ids to float32, losing precision vs non-distributed path再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Add from_entity parameter to _experimental_fork_checkpoint対応中かも @Boulea7 が 35 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
SFT double-encodes tool-call arguments for chat templates that apply `| tojson` (Qwen2.5, Llama 3.2)対応中かも @linye157 が 26 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug improve content
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
opensafely/documentation#2102 ·
メンテナーはふだん 1 日以内に返信
-
difficulty:1 documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MakazhanAlpamys/Soup#3533 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
onyx-dot-app/onyx#18730 ·
メンテナーはふだん 1 日以内に返信
-
namespace team:operations
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
EclipseFdn/open-vsx.org#16509 ·
メンテナーはふだん 1 日以内に返信