Skip to content

test: cover reference.instrument_procedures catalog - #22

Merged
Anai-Guo merged 1 commit into
mainfrom
chore/auto-maint-2026-09-22
Sep 23, 2026
Merged

Anai-Guo merged 1 commit into
mainfrom
chore/auto-maint-2026-09-22

Conversation

@Anai-Guo

Copy link
Copy Markdown
Owner

自动维护改动

类型:维护
改动:为零覆盖的 reference/instrument_procedures.py 新增 tests/test_instrument_procedures.py(71 个参数化用例,覆盖率 0%→100%):list_procedures/get_procedure、每个条目结构、命令序列中的 {占位符} 均有默认参数(或为已登记的扫描变量,如 IV_K2400 的 current)、用默认值渲染、以及 procedures CLI 列表输出。未改动 src/。
测试:通过(本地全量 367 passed / 1 skipped;ruff check + format 通过)
参考:无

本 PR 由每日维护任务生成,请人工 review 后再合并。

🤖 Generated with Claude Code

The PICA-derived procedure catalog had no direct tests. Add checks for
list_procedures/get_procedure, per-entry structure, that every
{placeholder} in a command sequence has a default parameter (or is a
documented sweep variable), rendering with defaults, and the
`procedures` CLI listing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Anai-Guo
Anai-Guo merged commit 73f462b into main Sep 23, 2026
3 checks passed
@Anai-Guo
Anai-Guo deleted the chore/auto-maint-2026-09-22 branch September 23, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant