Recalculate history when the power of a model or the category of a type changes
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- PHP
- スター
- 5
- フォーク
- 7
- 平均マージ
- 2時間 26分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pluginsGLPI/carbon のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
pluginsGLPI/carbon#396 ·
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
pluginsGLPI/carbon#239 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
pluginsGLPI/carbon#395 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
pluginsGLPI/carbon#392 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
pluginsGLPI/carbon#391 ·
pluginsGLPI/carbon の issue をすべて見る
似ている issue
-
[BUG] Bundle products lose their price in RSS feeds: getPrices() was removed対応中かも @pcvelz が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
OpenMage/magento-lts#5869 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
modelcontextprotocol/php-sdk#746 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
OpenGIS/waymark-wp#82 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
claude
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
sprain/sprainocchio#39 ·
メンテナーはふだん 1 日以内に返信