Skip to content

Commit

Permalink
feat: Adapt winners calculation for yes,abstain choices | NPG-8970 (#672
Browse files Browse the repository at this point in the history
)

# 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
  • Loading branch information
coire1 authored Feb 8, 2024
1 parent b9c4e64 commit 5a6d91a
Show file tree
Hide file tree
Showing 2 changed files with 392 additions and 93 deletions.
Loading

0 comments on commit 5a6d91a

Please sign in to comment.