Description
In the Score method of pkg/plugins/dynamix/plugins.go , there's a logging issue where the displayed "score" value is actually the post-hotValue-adjusted value rather than the original score. This makes debugging and analysis difficult as the logs don't show the original score before hotValue adjustment.
Steps to reproduce:
Enable debug logging (V=4)
Observe scheduler scoring logs
Compare the logged "score" value with what would be expected from getNodeScore
Expected behavior:
The log should show:
· The original score from getNodeScore
· The hotValue adjustment
· The final normalized score
Actual behavior:
The log shows the adjusted score (after hotValue subtraction) in both the "score" and "final score" positions, making it impossible to see the original score.
Description
In the Score method of pkg/plugins/dynamix/plugins.go , there's a logging issue where the displayed "score" value is actually the post-hotValue-adjusted value rather than the original score. This makes debugging and analysis difficult as the logs don't show the original score before hotValue adjustment.
Steps to reproduce:
Enable debug logging (V=4)
Observe scheduler scoring logs
Compare the logged "score" value with what would be expected from getNodeScore
Expected behavior:
The log should show:
· The original score from getNodeScore
· The hotValue adjustment
· The final normalized score
Actual behavior:
The log shows the adjusted score (after hotValue subtraction) in both the "score" and "final score" positions, making it impossible to see the original score.