已关闭
【precision-test】重构为三仓统一 test_selector 插件 #15
tzing_t创建于  26 天前关闭于  18 天前
tzing_t成员
26 天前 创建

背景

precision-test 插件原为单文件 selector.py 架构,仅适配 vllm_ascend。需扩展支持 sglang、torch_npu 两仓库,并统一 CLI 与适配器架构。

需求

  • 统一为 test_selector Python 包(python -m test_selector 入口),三仓共用 CLI
  • 仓库适配器:vllm_ascend / sglang / torch_npu,各自提供测试目录识别、测试名转换、产品代码前缀、全量触发规则
  • PR 源适配:vllm_ascend / sglang 走 GitHub(github-pr),torch_npu 走 GitCode(gitcode-pr),两者互斥
  • 匹配粒度:行级 + 函数级并行合并去重;文件级降级为重命名/删除场景内部兜底(不对外暴露开关)
  • 新增 disable-line-match / disable-function-match(优先于 enable)/ skip-venv 入参;移除 enable-file-match

验收标准

likedislike
Ttzing_t成员
26 天前 关联了pull request:feat(precision-test): 重构为三仓统一 test_selector 插件
Ttzing_t成员
25 天前 关联了pull request:feat(precision-test): 重构为三仓统一 test_selector 插件
Ttzing_t成员
19 天前 关联了pull request:chore(precision-test): 同步 test_selector 上游并适配 torch_npu 改为 pytorch (#18)
Ttzing_t成员
18 天前 issue状态由 待办的 改变为 已完成
Ttzing_t成员
18 天前 关闭了 issue