Fix flaky test_text_query_word_weights and re-enable test

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

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python, redis
领域
search, testing

调研方向

在测试套件中找到 test_text_query_word_weights,并检查其跳过标记和断言。重复运行该测试以识别非确定性,稳定断言策略,移除跳过标记,并验证重复运行、CI 以及完整的单元测试套件仍然全部通过。

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

描述

bug CI/CD

Summary

Investigate and fix flakiness in test_text_query_word_weights, then re-enable it in CI.

Level: Beginner

Current State

  • The test is currently skipped due to flaky behavior.
  • This hides potential correctness regressions in text query weighting behavior.

Proposed Change

  • Identify root cause of nondeterminism (ordering, floating-point sensitivity, or environment assumptions).
  • Stabilize assertion strategy.
  • Remove skip marker and verify reliability across repeated runs.

Definition of Done

  • Test is re-enabled.
  • Test passes consistently in repeated local runs and CI.
  • Full unit suite remains green.

Out of Scope

  • Broad refactor of text query architecture.
主要语言
Python
星标
432
派生
116
平均合并
8 天 1 小时
30 天内合并 PR
24

环境准备

从这里开始

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

redis/redis-vl-python 的其他 Issue

查看 redis/redis-vl-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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