`tsci check netlist` prints `undefined` after a resistor's value and labels resistor pins anode / cathode
维护者通常 1 天内回复
@cocvn157 已经在做这个了。
开始于 2026年11月5日。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
调研方向
Start by reproducing the example with the listed tscircuit and CLI versions, then trace how tsci check netlist formats resistor metadata and pin aliases. The issue gives no source files or tests, so locate the relevant formatter and its coverage before making changes. Done means the output omits undefined and shows appropriate resistor pin labels; an open linked pull request (#5475) is already working on the issue.
由索引模型根据 Issue 内容生成。
描述
For a header, a 1 kΩ 0603 resistor and an LED in series:
export default () => (
<board width="20mm" height="12mm" layers={2}>
<pinheader name="J1" pinCount={2} pitch="2.54mm" pcbX={-6} pcbY={0} />
<resistor name="R1" resistance="1k" footprint="0603" pcbX={1} pcbY={2} />
<led name="D1" color="green" footprint="0603" pcbX={6} pcbY={0} />
<trace name="VIN" from=".J1 > .pin1" to=".R1 > .pin1" />
<trace name="LED_A" from=".R1 > .pin2" to=".D1 > .anode" />
<trace name="GND" from=".D1 > .cathode" to=".J1 > .pin2" />
</board>
)
tsci check netlist prints:
R1 (1kΩ undefined)
- pin1(anode, pos, left): NETS(R1_pos)
- pin2(cathode, neg, right): NETS(D1_pos)
undefined: probably an empty manufacturer part number or package field. Expected: the field left out, or a real value such as0603.- Pin aliases: a resistor's pins are listed with the aliases
anode/cathode(andpos/neg), which belong to diodes and polarised parts. Expected:pin1/pin2, orpos/negat most.
Versions: tscircuit 0.0.2942 (@tscircuit/cli 0.1.2364).
- 主要语言
- TypeScript
- 星标
- 19
- 派生
- 115
- 平均合并
- 1 小时 50 分钟
- 30 天内合并 PR
- 260
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tscircuit/cli 的其他 Issue
-
`tsci check` and `tsci check netlist` exit 0 when they report errors可能已有人在做 @aswadi 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 57/100
维护者通常 1 天内回复
-
@tscircuit/cli 0.1.2452 bundles brace-expansion 2.0.1 and minimatch 5.1.2 (via make-vfs), both with published advisories可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
tsci dev: ngspice spiceEngine from tscircuit.config.ts fails three ways (package.json, top-level await, blob import)可能已有人在做 @cocvn157 于 11 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 22/100
维护者通常 1 天内回复
-
tsci export -f glb can't load a relative cadModel stepUrl (404); build --glbs can可能已有人在做 @jeffrey-graham 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
维护者通常 1 天内回复
-
The CLI needs Bun: under Node alone `tsci` fails and the Node entry can't load `.tsx`可能已有人在做 @cocvn157 于 7 天前认领。 未关闭
难度 4/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
tintinweb/pi-subagents#459 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
danielmiessler/LifeOS#2830 ·
维护者通常 6 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
freshframework/fresh#3920 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
area: client enhancement priority: low
难度 2/5 1-3 小时 新手友好度 75/100
opensro-dev/opensro#3681 ·
维护者通常 1 天内回复