Refactor ModelOption tests to be per-backend

Aperta
#1,147 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
1.8k
Fork
161
Merge medio
4g 3h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di generative-computing/mellea

Tutte le issue di generative-computing/mellea

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.