Refactor ModelOption tests to be per-backend

未关闭
#1,147 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Python
星标
1.8k
派生
161
平均合并
4 天 3 小时
30 天内合并 PR
45

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

generative-computing/mellea 的其他 Issue

查看 generative-computing/mellea 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。