Refactor ModelOption tests to be per-backend

Abierto
#1,147 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
testing

Línea de trabajo

Start in test/backends/, using test_stop_sequences_unit.py as the example of the current per-option layout, and read the linked PR #1112 discussion for the agreed target shape. Restructure the ModelOption tests so each backend is tested against a set of options. The issue does not list every file to move, so first map the existing ModelOption tests yourself. Done when the tests are grouped per backend and the existing suite still passes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

p2 refactor testing

Currently test/backends/ has files like test_stop_sequences_unit.py that test a single ModelOption across all backends. We've agreed the better long-term shape is the inverse: test each backend against a set of ModelOptions. This issue tracks restructuring existing ModelOption tests to follow that pattern.

Context: https://github.com/generative-computing/mellea/pull/1112#discussion_r3282273178

Lenguaje dominante
Python
Estrellas
1.8k
Forks
161
Merge medio
4 d 3 h
PR fusionados (30 d)
45

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de generative-computing/mellea

Todos los issues de generative-computing/mellea

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.