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

SparseEfficiency

オープン
#1,238 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

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

説明

warnings

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

環境構築

はじめの一歩

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

CLIMADA-project/climada_python のほかの issue

CLIMADA-project/climada_python の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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