Modernize TypeVar syntax to PEP 695
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 10.9k
- Forks
- 1k
- Merge medio
- 2 d 5 h
- PR fusionados (30 d)
- 38
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenPipe/ART
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
gather_trajectory_groups / gather_trajectories leave sibling rollouts running after a failurePosiblemente ocupada @salma2vec la tomó hace 38 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Distributed group_mean casts group ids to float32, losing precision vs non-distributed pathQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Add from_entity parameter to _experimental_fork_checkpointPosiblemente ocupada @Boulea7 la tomó hace 35 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
SFT double-encodes tool-call arguments for chat templates that apply `| tojson` (Qwen2.5, Llama 3.2)Posiblemente ocupada @linye157 la tomó hace 26 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
Los mantenedores suelen responder en 1 día
Todos los issues de OpenPipe/ART
Issues similares
-
bug improve content
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
opensafely/documentation#2102 ·
Los mantenedores suelen responder en 1 día
-
difficulty:1 documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
MakazhanAlpamys/Soup#3533 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
onyx-dot-app/onyx#18730 ·
Los mantenedores suelen responder en 1 día
-
Claiming namespace `aadml`Abiertonamespace team:operations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
EclipseFdn/open-vsx.org#16509 ·
Los mantenedores suelen responder en 1 día