Marry agentic test-driven-development with human auditability
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading lib/iris/tests/AGENTS.md and the linked issues #7310 and #7318 for examples of agent instructions aimed at improving readability. Explore how tests are currently written and parameterised in the repository, then propose guidance that improves human auditability while preserving useful test coverage. Done means the instructions give contributors clear, reviewable practices for writing agent generated tests.
由索引模型根据 Issue 内容生成。
描述
Quality agentic coding relies heavily on test-driven-development, which makes sense:
- Best practice in development where possible
- An important deterministic backup for non-deterministic LLMs
But the thoroughness of these tests can cause reviewer fatigue[^1], reducing their available attention for other details[^2]. We have previously seen that careful agent instructions can markedly improve human readability of agent output - #7310 and #7318 - so I would like to make a similar attempt at improving test readability via more instructions in:
A couple of ideas from casual conversation with @pp-mo, @stephenworsley and @ukmo-ccbunney :
- More use of parameterisation
- Revisit the tests after all TDD code changes are complete - can tests be consolidated/aggregated to reduce size and enhance readability (e.g. rewrite with parameterisation, pull out common code to fixtures, etc)?
- Only capturing a subset of the total tests under source control
- We noted that the naming conventions are already excellent for easy understanding ❤️
[^1]: There are probably thousands of articles about this; here is one to illustrate: https://aipatternbook.com/approval-fatigue
[^2]: Even for those developers who believe in being less hands-on with humans reviewing agents, reviewing the tests is often still considered important as way of seeing the intent and output of the code, so all the more reason to protect human attention where possible.
- 主要语言
- Python
- 星标
- 730
- 派生
- 323
- 平均合并
- 3 天 21 小时
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SciTools/iris 的其他 Issue
-
Link Checker Report可能已有人在做 @stephenworsley 于 12 天前认领。 未关闭Bot Type: Bug Type: Documentation
难度 2/5 1-3 小时 新手友好度 70/100
SciTools/iris#7368 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
guess_bounds(yearly=True) fails on a single point, monthly=True works可能已有人在做 @pp-mo 于 48 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
SciTools/iris#7311 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Agentic
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
相似的 Issue
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shards未关闭status/accepted type/bug
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
bug vector-store
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
EverMind-AI/Raven#1413 ·
维护者通常 1 天内回复
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS pools可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
维护者通常 2 天内回复