doc/contributing.rst: benchmark commands are stale (--quick, test_build.py, memory.py)
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
[!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).
- 主要言語
- Python
- スター
- 263
- フォーク
- 92
- 平均マージ
- 5日 13時間
- マージ済み PR(30日)
- 51
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyPSA/linopy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PyPSA/linopy#1064 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug solver interface
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
add_piecewise_formulation(mask=...) pins fully masked entities to zero instead of skipping themオープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#147104 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Document new required `shared-org-key` input for `obs-aw-dependency-review`対応中かも @github-actions が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
bot-triaged module: inductor oncall: pt2 topic: fuzzer triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
getchaintips leaves out the active tip once a header is staged on it, where Core always lists itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
btclib-org/btclib-node#2158 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
patrick-hudson/put.gd-desktop#979 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信