Notebook tooling: clear_outputs.py stops at the first dirty cell, wasm_check does not test the built wheel
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 224
- Fork
- 31
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của petercorke/machinevision-toolbox-python
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
petercorke/machinevision-toolbox-python#152 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ROSBag: RealSense bags have a 4-byte depth-units trailer that is guessed, not parsedCó thể đã có người làm @theluckystrike đã nhận 3 ngày trước. Đang mởbug help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
petercorke/machinevision-toolbox-python#151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sources.py: quick wins, split into a package, and API unificationCó thể đã có người làm @zw1915 đã nhận 3 ngày trước. Đang mởhelp wanted tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
petercorke/machinevision-toolbox-python#150 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
petercorke/machinevision-toolbox-python#148 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
petercorke/machinevision-toolbox-python#147 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của petercorke/machinevision-toolbox-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
changelog investigate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ramnes/notion-sdk-py#423 ·
-
type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày