Skip to content

feat(signups): Update templates for the new scoring formula#1982

Merged
mkmccarty merged 2 commits intomkmccarty:mainfrom
mutilis:main
Dec 25, 2025
Merged

feat(signups): Update templates for the new scoring formula#1982
mkmccarty merged 2 commits intomkmccarty:mainfrom
mutilis:main

Conversation

@mutilis
Copy link
Copy Markdown
Collaborator

@mutilis mutilis commented Dec 24, 2025

No description provided.

@mkmccarty mkmccarty marked this pull request as ready for review December 25, 2025 18:16
Copilot AI review requested due to automatic review settings December 25, 2025 18:16
@mkmccarty mkmccarty merged commit 381e497 into mkmccarty:main Dec 25, 2025
6 checks passed
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 PR updates signup and prediction templates to align with a new scoring formula. The changes primarily involve replacing hardcoded emojis with icon variables, updating template text, and removing the parade alts calculation from contract displays.

  • Updates PE Legacy signup template to use icon variables and revises contract selection prompts
  • Removes parade alts calculation and display from contract output formatting
  • Standardizes footer text capitalization and adds icon variables for better consistency

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

Comment thread src/boost/signups.go

content := fmt.Sprintf(
`## 🟢🟪 PE Leggacies Sign-up: %s 🟢🟪 ##
`## :egg_prophecy: PE Leggacies Sign-up: %s :Ultra: ##
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

The emoji/icon representation is inconsistent. The first occurrence uses ':egg_prophecy:' while the second uses ':Ultra:' (with capital U). For consistency and proper rendering, both should use the same casing convention as defined in the icon variables later in the file.

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go

content := fmt.Sprintf(
`## 🟢🟪 PE Leggacies Sign-up: %s 🟢🟪 ##
`## :egg_prophecy: PE Leggacies Sign-up: %s :Ultra: ##
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Spelling error: "Leggacies" should be "Legacies". The word "legacy" is misspelled throughout this template string.

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
content := fmt.Sprintf(
`## 🟢🟪 PE Leggacies Sign-up: %s 🟢🟪 ##
`## :egg_prophecy: PE Leggacies Sign-up: %s :Ultra: ##
-# PE Leggacy (Ultra or non-Ultra) that is harder to fill will be prioritized.
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Spelling error: "Leggacy" should be "Legacy".

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
writeContracts(&b, contracts, copyPaste, iconCoop, iconCR)

// Footer: show for copy-paste mode or when not first
// Footer
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

The comment change is misleading. The footer is still conditionally written based on the 'copyPaste || footer' condition, so describing it simply as "Footer" without noting the conditional nature is less accurate than the previous comment.

Suggested change
// Footer
// Footer (only written when copyPaste or footer is true)

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
// Footer
if copyPaste || footer {
b.WriteString("\n-# ")
b.WriteString("-# ")
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

The leading "\n" was removed from this line, which may cause the footer to appear immediately after the previous content without a blank line separator. This could affect the formatting/readability of the output.

Suggested change
b.WriteString("-# ")
b.WriteString("\n-# ")

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
:Ultra:Ultra
📜Leggacy

**Any additional __Co-Op Roles__ for this account? (optional) **
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

There is an extra space before the closing "**" on this line. The space should be removed for consistent formatting.

Suggested change
**Any additional __Co-Op Roles__ for this account? (optional) **
**Any additional __Co-Op Roles__ for this account? (optional)**

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
b.WriteString("-# ")
b.WriteString(iconCoop)
b.WriteString(" coop size | 🎏 parade alts | ")
b.WriteString(" Coop size | ")
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Capitalization change from "coop size" to "Coop size" is inconsistent with the variable name 'iconCoop'. Consider using "Co-op size" or keeping it lowercase for consistency with typical usage.

Suggested change
b.WriteString(" Coop size | ")
b.WriteString(" Co-op size | ")

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
if showNonUltra && len(peContracts) != 0 {
b.WriteString("**")
b.WriteString(iconPE)
b.WriteString(" PE Leggacy**\n")
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Spelling error: "Leggacy" should be "Legacy".

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
if showUltra && len(ultraContracts) != 0 {
b.WriteString("**")
b.WriteString(iconUltra)
b.WriteString(" Ultra PE Leggacy **\n")
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Spelling error: "Leggacy" should be "Legacy". Additionally, there is an extra space before the closing "**".

Copilot uses AI. Check for mistakes.
Comment thread src/boost/signups.go
b.WriteString(" Coop size | ")
b.WriteString(iconCR)
b.WriteString(" target CRs | 🌼Seasonal LB\n")
b.WriteString(" Target CRs | 🌼Seasonal LB\n")
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Capitalization change from "target CRs" to "Target CRs" should be consistent with the capitalization used for "Coop size" on the previous line.

Suggested change
b.WriteString(" Target CRs | 🌼Seasonal LB\n")
b.WriteString(" target CRs | 🌼Seasonal LB\n")

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.

3 participants