Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Length of day and month outage probability arrays

Aperta
#207 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

Esamina il codice che produce resillience_stats e i campi outage_durations, probs_of_surviving_by_hour_of_the_day e probs_of_surviving_by_month. Riproduci la discrepanza con run_uuid 2c65dede-f009-4ffc-9695-a832a9898887, determina se l'elemento aggiuntivo è dovuto a un bug di indicizzazione o a un comportamento previsto, e rendi coerenti le lunghezze dell'output o la documentazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
127
Fork
69
Merge medio
9g 15h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NatLabRockies/REopt_API

Tutte le issue di NatLabRockies/REopt_API

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.