doc/contributing.rst: benchmark commands are stale (--quick, test_build.py, memory.py)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Read the “Performance Benchmarks” section in doc/contributing.rst and compare its commands with benchmarks/README.md. Check the documented setup against the dev and benchmarks extras, then update the section to use the README’s current commands or link to it. Done when the instructions work with the required extras and match the benchmark layout; pull request #1066 is already open.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[!NOTE]
The following content was generated by AI.
The "Performance Benchmarks" section of doc/contributing.rst (lines 86-99) is out of date with benchmarks/:
# Quick timing benchmarks
pytest benchmarks/ --quick
# Compare timing between branches
pytest benchmarks/test_build.py --benchmark-save=master
pytest benchmarks/test_build.py --benchmark-save=my-feature --benchmark-compare=0001_master
# Compare peak memory between branches
python benchmarks/memory.py save master --quick
Verified on master (ae80bc89), after uv sync --extra benchmarks:
pytest benchmarks/ --quick→pytest: error: unrecognized arguments: --quick.benchmarks/conftest.pyonly registers--pipeline;benchmarks/README.mdusespytest benchmarks/ --benchmark-disable -qas the smoke run.benchmarks/test_build.pydoes not exist; it moved tobenchmarks/drivers/test_build.py.benchmarks/memory.pydoes not exist (can't open file ... benchmarks/memory.py).
The uv sync --extra benchmarks line (87) is required and correct: with only the dev extra, pytest benchmarks/drivers/test_build.py fails with fixture 'benchmark' not found. Worth stating that explicitly, since uv sync --extra benchmarks alone drops dev.
Proposed fix: replace the block with the commands from benchmarks/README.md (or just point there).
- Ngôn ngữ chính
- Python
- Star
- 263
- Fork
- 92
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 32
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 PyPSA/linopy
-
Độ 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
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Constant LinearExpression * multi-term LinearExpression raises TypeError (mirrored product works)Có thể đã có người làm @anveshachuri đã nhận 2 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
PyPSA/linopy#1055 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ 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
-
bug solver interface
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Support .aac audio uploadsCó thể đã có người làm @julien731 đã nhận hôm nay. Đang mởfeature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nimblehq/audio-transcriber#153 ·
-
help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
antonyrag/ragleap-core#1062 ·
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
gke-labs/kube-agents#4321 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Git-Hospital/githealthcheck#61 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
changelog investigate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
ramnes/notion-sdk-py#433 ·