Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LPW achievement text based on count #128

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

shippy
Copy link
Collaborator

@shippy shippy commented May 15, 2024

Related to #120

Implements dynamic achievement descriptions based on LPW (Low Point Win) counts in the agg__lpw_count.sql file.

  • Introduces a case statement within the achievement_base CTE to assign different achievement descriptions based on the LPW count. This change allows for personalized feedback to users based on their performance in debates.
  • For LPW counts of 1-2, sets the achievement description to acknowledge the user has won a few debates despite the odds.
  • For LPW counts of 3-5, updates the description to highlight the user's consistent performance in challenging debates.
  • For LPW counts of 6 or more, changes the description to celebrate the user's exceptional skill in winning debates against higher-scoring teams.
  • Maintains the original structure of the SQL file while integrating the new conditional logic seamlessly into the existing codebase.

For more details, open the Copilot Workspace session.

@PiechZ
Copy link
Owner

PiechZ commented May 15, 2024

I approve to merge.

@PiechZ PiechZ merged commit c2544f2 into master May 15, 2024
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