Refactor ModelOption tests to be per-backend

Đang mở
#1,147 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
1.8k
Fork
161
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của generative-computing/mellea

Tất cả issue của generative-computing/mellea

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.