Recalculate history when the power of a model or the category of a type changes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 56/100
Direzione di ricerca
Issue #213 already handles recalculation when lifespan changes; read that implementation first to find the relevant entry points. Then trace how model power changes affect existing usage rows and how type category changes affect embodied impacts. Done means both changes trigger recalculation for existing history, without manual data updates.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Changing the power of a computer model or type does not affect the days already calculated: only new days use the new value. Changing the category of a computer type does not mark the embodied impacts for recalculation either.
We replaced the power of several server models (it was the PSU rating) with measured values. We had to rescale the existing usage rows ourselves and set recalculate = 1 by hand on the embodied impacts.
#213 already does this when the lifespan changes. Doing the same for power and category would keep the history consistent with the current settings.
Laurent Tison, Afnic
- Lingua principale
- PHP
- Stelle
- 5
- Fork
- 7
- Merge medio
- 2h 26m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pluginsGLPI/carbon
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
pluginsGLPI/carbon#396 ·
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
pluginsGLPI/carbon#239 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
pluginsGLPI/carbon#395 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
pluginsGLPI/carbon#392 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
pluginsGLPI/carbon#391 ·
Tutte le issue di pluginsGLPI/carbon
Issue simili
-
[BUG] Bundle products lose their price in RSS feeds: getPrices() was removedForse già presa @pcvelz l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
OpenMage/magento-lts#5869 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
modelcontextprotocol/php-sdk#746 ·
I maintainer di solito rispondono entro 1 giorno
-
Map Info Window ButtonsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
OpenGIS/waymark-wp#82 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
claude
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
sprain/sprainocchio#39 ·
I maintainer di solito rispondono entro 1 giorno