SparseEfficiency
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with climada/entity/exposures/base.py near line 1465, where a sparse matrix is compared with > -2, then find the sparse-structure assignments flagged in climada/hazard/test/test_base.py and climada/engine/test/test_impact_calc.py. Run those tests with warnings enabled to reproduce the SparseEfficiencyWarnings. Done when the listed call sites no longer raise the warning and the test results are unchanged. The issue has been open for 262 days with no comments or owner, so confirm scope with maintainers first.
索引モデルが issue の本文から書いたものです。
説明
SparseEfficiencyWarning
Changing the sparsity structure of a csr_matrix is expensive. lil and dok are more efficient.
Occurrences
- scipy.sparse._index:168
- scipy.sparse._index:210
Raise in
- climada.hazard.test.test_base
- climada.engine.test.test_impact_calc
(4 times during tests)
SparseEfficiencyWarning
Comparing a sparse matrix with -2 using > is inefficient. Try using <= instead.
Occurrence
- climada.entity.exposures.base:1465
- 主要言語
- Jupyter Notebook
- スター
- 478
- フォーク
- 166
- 平均マージ
- 2日 31分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CLIMADA-project/climada_python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CLIMADA-project/climada_python#1337 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
CLIMADA-project/climada_python#1336 ·
メンテナーはふだん 3 日以内に返信
-
CartoDB basemaps now need an API key (somewhat urgent)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CLIMADA-project/climada_python#1332 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
warnings
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
CLIMADA-project/climada_python#1241 ·
メンテナーはふだん 3 日以内に返信
-
ResourceWarningオープンwarnings
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
CLIMADA-project/climada_python#1239 ·
メンテナーはふだん 3 日以内に返信
CLIMADA-project/climada_python の issue をすべて見る
似ている issue
-
room-commons replace accepts an empty old string and silently prepends the new text to the pageオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
backend enhancement priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
geolens-io/geolens#3310 ·
メンテナーはふだん 1 日以内に返信
-
Area: DVR P2 S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Dispatcharr/Dispatcharr#1867 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ronaldorfas/Tudoappn2#1 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
doobidoo/mcp-memory-service#1650 ·
メンテナーはふだん 1 日以内に返信