test: cover reference.instrument_procedures catalog - #22
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
自动维护改动
类型:维护
改动:为零覆盖的
reference/instrument_procedures.py新增tests/test_instrument_procedures.py(71 个参数化用例,覆盖率 0%→100%):list_procedures/get_procedure、每个条目结构、命令序列中的{占位符}均有默认参数(或为已登记的扫描变量,如 IV_K2400 的current)、用默认值渲染、以及proceduresCLI 列表输出。未改动src/。测试:通过(本地全量 367 passed / 1 skipped;ruff check + format 通过)
参考:无
本 PR 由每日维护任务生成,请人工 review 后再合并。
🤖 Generated with Claude Code