Closed tibosmn closed 8 months ago
To ease future maintainability I removed constant_core_impact
and core_impact
altogether.
Also updated the unit tests, sry :clown_face:
I've fixed the conflict linked to updating unit tests in the PR : https://github.com/Boavizta/boaviztapi/pull/272.
[!IMPORTANT]
This change may slightly update the values of embedded impacts returned by he API (e.g. https://github.com/Boavizta/cloud-scanner/issues/467)
Fixes #275
In the current computation of CPU die size, we include a constant value of 0.491 cm², derived from Green Cloud Computing (Figure 31, where the precise value is 0.49157).
Given that we now utilize a die size derived from a more extensive range of CPU models than those examined in the referenced study, the addition of such a constant is unnecessary to the computation die size = die size per core * number of cores.
Consequently, I suggest setting
constant_core_impact
to 0 to easily handle this issue. Please advise if I should removecore_impact
altogether.