`SignalIn`/`SignalOut` names are overloaded
维护者通常 1 天内回复
@superwhiskers 已经在做这个了。
开始于 2026年10月2日。
评估
调研方向
首先查看 #570 中 SignalIn 和 SignalOut 的更改,并搜索它们的定义和用法,包括 ComponentData、Port 和 PortGroup。与 issue 参与者确认信号值、信号节点和端口之间预期的区别。完成的标准是在受影响的 API 及其引用中一致地应用一套达成共识的命名方案。
由索引模型根据 Issue 内容生成。
描述
@superwhiskers, @lukelowry, @abirchfield, @pelesh, @nkoukpaizan
TL;DR: The new SignalIn and SignalOut classes introduce some terminology confusion and should be renamed.
I failed to point this out before #570 was merged (great work on that, btw @superwhiskers).
This overloading of the terminology was part of the motivation behind the re-design. Based on multiple conversations leading to that design, my understanding was that there were three separate concepts all being referred to as "signals"...
- the actual "signal" (the value)
- the "signal node" carrying the signal
- the "port" by which a component sends or receives the signal
... and that we wanted to distinguish between those concepts, especially because they are all used together in the same context.
Since the terms SignalIn and SignalOut refer to the variable values that are communicated over signal nodes (and are in fact already used with that meaning in ComponentData), it doesn't make sense to use those names to refer to the "port" classes that receive/send those values.
I originally used simply InputPort and OutputPort. If the name itself needs to communicate that these are used exclusively for "signal" communication, it could be SignalInputPort and SignalOutputPort (but in that case we might also want to rename Port and PortGroup for consistency).
- 主要语言
- C++
- 星标
- 27
- 派生
- 11
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 15
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ORNL/GridKit 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
ORNL/GridKit#587 · 1 个 reaction ·
维护者通常 1 天内回复
-
Companion OPF models for PD initialization constraints可能已有人在做 @lukelowry 于 4 天前认领。 未关闭IVP question
维护者通常 1 天内回复
-
Extract CommonMath functions可能重新可做 @amandeep25100-a11y 于 7 天前认领,目前没有进行中的 PR。 未关闭cleanup
难度 4/5 3-5 天 新手友好度 54/100
维护者通常 1 天内回复
-
enhancement question
难度 5/5 一周以上 新手友好度 30/100
ORNL/GridKit#624 · 2 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
Add support for hierarchical modeling to the JSON format case file specifications可能已有人在做 @abirchfield 于 34 天前认领。 未关闭documentation enhancement new case question
ORNL/GridKit#619 · 8 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
audit-reference-check
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
schrodinger/pymol-open-source#532 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
xlnt-community/xlnt#174 ·