Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

doc/contributing.rst: benchmark commands are stale (--quick, test_build.py, memory.py)

クローズ
#1,065 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@dbisina がすでに取り組んでいます。

2026年10月26日 から。

  • #1066 @dbisina による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
documentation

調査の方向性

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 の本文から書いたものです。

説明

documentation

[!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.py only registers --pipeline; benchmarks/README.md uses pytest benchmarks/ --benchmark-disable -q as the smoke run.
  • benchmarks/test_build.py does not exist; it moved to benchmarks/drivers/test_build.py.
  • benchmarks/memory.py does 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PyPSA/linopy のほかの issue

PyPSA/linopy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。