Skip to content

🔧 fix: Remove conditional seasonal scoring logic#1970

Merged
mkmccarty merged 1 commit intomainfrom
mm-branch-1
Dec 22, 2025
Merged

🔧 fix: Remove conditional seasonal scoring logic#1970
mkmccarty merged 1 commit intomainfrom
mm-branch-1

Conversation

@mkmccarty
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 22, 2025 20:45
@mkmccarty mkmccarty merged commit a374b3c into main Dec 22, 2025
14 checks passed
@mkmccarty mkmccarty deleted the mm-branch-1 branch December 22, 2025 20:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request simplifies the seasonal scoring logic by removing a conditional check that applied "nerfed" scoring only to specific seasons (fall_2025 and 2026+), and instead applies the nerfed scoring unconditionally to all contracts.

Key changes:

  • Removes the season-based conditional logic for determining SeasonalScoring
  • Sets all contracts to use SeasonalScoringNerfed unconditionally
  • Attempts to remove the "strings" package import (which is still needed elsewhere)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/boost/boost_import.go
@@ -6,7 +6,6 @@ import (
"log"
"math"
"os"
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "strings" package import cannot be removed because it is still used on line 265 (strings.Builder). Removing this import will cause a compilation error.

Suggested change
"os"
"os"
"strings"

Copilot uses AI. Check for mistakes.
Comment thread src/boost/boost_import.go
Comment on lines +105 to +109
/*
if c.SeasonID == "fall_2025" || strings.Contains(c.SeasonID, "2026") {
c.SeasonalScoring = ei.SeasonalScoringNerfed
}
*/
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of commenting out the conditional logic, it should be removed entirely. Commented-out code (dead code) reduces code maintainability and can be confusing to future developers. The version control system preserves the history if the code needs to be referenced later.

Suggested change
/*
if c.SeasonID == "fall_2025" || strings.Contains(c.SeasonID, "2026") {
c.SeasonalScoring = ei.SeasonalScoringNerfed
}
*/

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants