Notebook tooling: clear_outputs.py stops at the first dirty cell, wasm_check does not test the built wheel
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 42/100
调研方向
Start with docs/notebooks/clear_outputs.py and its process_notebook function, then inspect docs/lite/wasm_check/check_pyodide_install.mjs alongside _mvtb_nb_bootstrap.py. Check that every dirty cell is cleared and that the wheel is written where the bootstrap searches; the issue says both fixes are already present in the RTB copy, so use its notebook hygiene PR as a reference. Done when both tools operate on all dirty cells and the wheel built for the check.
由索引模型根据 Issue 内容生成。
描述
Likely smells in the notebook tooling, found while copying it to RTB. Worth checking out and fixing.
-
docs/notebooks/clear_outputs.py,process_notebook:changed = any(clear_cell(cell) for cell in nb.get("cells", []))is a generator, andany()stops at the first cell that returns True. Only the first dirty cell of each notebook is cleared, so a second run clears the next one, and so on. Use a list:any([clear_cell(c) for c in cells]). -
docs/lite/wasm_check/check_pyodide_install.mjswrites the wheel to/<wheel>in Pyodide's filesystem, but_mvtb_nb_bootstrap.pylooks for it withPath("/pypi").glob(...). It finds nothing, so it falls back to installingmachinevision-toolbox-pythonfrom PyPI and the check tests the last release, not the wheel just built. Also write the wheel to/pypi/<wheel>(FS.mkdirTree("/pypi")).
Both are fixed in the RTB copy, see the notebook hygiene PR in robotics-toolbox-python.
- 主要语言
- Python
- 星标
- 224
- 派生
- 31
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
petercorke/machinevision-toolbox-python 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 76/100
petercorke/machinevision-toolbox-python#160 ·
维护者通常 1 天内回复
-
tech-debt
难度 4/5 3-5 天 新手友好度 39/100
petercorke/machinevision-toolbox-python#159 ·
维护者通常 1 天内回复
-
Image.draw_* fail on images from Image.Read: pixel data is not C-contiguous (cv2 line/circle/putText layout error)可能已有人在做 @petercorke 今天认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 35/100
petercorke/machinevision-toolbox-python#158 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
petercorke/machinevision-toolbox-python#152 ·
维护者通常 1 天内回复
-
ROSBag: RealSense bags have a 4-byte depth-units trailer that is guessed, not parsed可能已有人在做 @theluckystrike 于 4 天前认领。 未关闭bug help wanted
难度 5/5 一周以上 新手友好度 25/100
petercorke/machinevision-toolbox-python#151 ·
维护者通常 1 天内回复
查看 petercorke/machinevision-toolbox-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
zach-blumenfeld/aip#13 ·
-
难度 2/5 1-3 小时 新手友好度 80/100
nathanmarlor/foxess_modbus#1287 ·
维护者通常 4 天内回复
-
bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 84/100
OpenLakeForge/openlakeforge#498 ·
维护者通常 1 天内回复
-
good first issue hacktoberfest help wanted python
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
pollen-robotics/reachy_mini#1493 ·
维护者通常 1 天内回复