Fix flaky test_text_query_word_weights and re-enable test
维护者通常 5 天内回复
还没有人认领这个 Issue。
评估
调研方向
在测试套件中找到 test_text_query_word_weights,并检查其跳过标记和断言。重复运行该测试以识别非确定性,稳定断言策略,移除跳过标记,并验证重复运行、CI 以及完整的单元测试套件仍然全部通过。
由索引模型根据 Issue 内容生成。
描述
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
redis/redis-vl-python 的其他 Issue
-
SVS-VAMANA `compression` does not survive `IndexSchema.to_dict()`, breaking YAML round-trips and migration planning可能已有人在做 @Bhavy-Ranka 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
redis/redis-vl-python#808 · 2 条评论 ·
维护者通常 5 天内回复
-
from_existing fails on SVS-VAMANA indexes created without compression可能已有人在做 @itsrayeedscodespace 于 5 天前认领。 未关闭bug index
难度 2/5 1-3 小时 新手友好度 84/100
redis/redis-vl-python#787 ·
维护者通常 5 天内回复
-
RedisVL warnings are never shown when the application has not configured logging可能已有人在做 @hippi345 于 5 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 77/100
redis/redis-vl-python#786 ·
维护者通常 5 天内回复
-
exists() depends on exact FT.INFO error wording; an unrecognised "missing index" message makes create() never create the index (regression from #672)可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
redis/redis-vl-python#773 · 1 条评论 ·
维护者通常 5 天内回复
-
Vector field with index_missing=True cannot be created可能已有人在做 @RaphaelFakhri 于 15 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
redis/redis-vl-python#770 ·
维护者通常 5 天内回复
查看 redis/redis-vl-python 的全部 Issue
相似的 Issue
-
URLValidator ignores an explicit empty scheme allowlist可能已有人在做 @IlyaKhalafi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
tortoise/tortoise-orm#2393 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
frappe/frappe_docker#2046 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
AXI SMU SPEC
难度 2/5 1-3 小时 新手友好度 62/100
tenstorrent/tt-oca-harness#3556 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
microsoft/agent-framework#9946 ·
维护者通常 1 天内回复