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

Length of day and month outage probability arrays

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api, backend

調査の方向性

resillience_stats と、outage_durations、probs_of_surviving_by_hour_of_the_day、probs_of_surviving_by_month フィールドを生成するコードを調査してください。run_uuid 2c65dede-f009-4ffc-9695-a832a9898887 で不一致を再現し、追加の要素がインデックスのバグによるものか意図された動作かを判断し、出力の長さまたはドキュメントに一貫性を持たせてください。

索引モデルが issue の本文から書いたものです。

説明

Description

resillience_stats: The length of the outage_durations array does not match the length of each hour and month in probs_of_surviving_by_hour_of_the_day and probs_of_surviving_by_month respectively. I suspect this is a bug related to 1-indexing of time steps.

In an example (run_uuid 2c65dede-f009-4ffc-9695-a832a9898887) outage_durations is a list that is 6826 long, probs_of_surviving is 6826 long, probs_of_surviving_by_hour_of_the_day is 24 arrays each 6827 long and probs_of_surviving_by_month is 12 arrays each 6827 long.

Resolution

This may be ok, at the least better documentation is needed to explain why the length are different.

主要言語
Python
スター
127
フォーク
69
平均マージ
9日 15時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

NatLabRockies/REopt_API のほかの issue

NatLabRockies/REopt_API の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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