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

feat: Adapt winners calculation for yes,abstain choices | NPG-8970 #672

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

coire1
Copy link
Collaborator

@coire1 coire1 commented Feb 7, 2024

Description

This PR adapts the script for the calculation of fund winners.

  • A new option to apply the yes/abstain vote is included
  • "Sponsored by Leftovers" calculation is included in the script
    • Specific categories can be excluded from this
  • Winner list with project IDS is automatically generated and exported
  • Proposers/Co-proposers emails are automatically pulled from Ideascale (optional)
  • Threshold logic fixed and adapted for yes/abstain vote

Fixes # (issue) if applicable

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration: if applicable

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

List of new dependencies: if applicable

Provide a list of newly added dependencies in this PR, with the description of what are they doing and why do we need them.

  • Crate A: description
  • Crate B: description

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@coire1 coire1 self-assigned this Feb 7, 2024
Copy link
Contributor

@saibatizoku saibatizoku left a comment

Choose a reason for hiding this comment

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

LGTM

@coire1 coire1 merged commit 5a6d91a into main Feb 8, 2024
26 of 27 checks passed
@coire1 coire1 deleted the feature/abstain-logic-proposers-rewards branch February 8, 2024 10:53
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