GeneralMagicio / GeneralMagicio/pairwise-rf4

Weighted-Aggregated-Attestation-API

Open
#36 7 comments 0 reactions 1 assignee Assigned to @mmahdigh View on GitHub
P3
Dominant language
TypeScript
Stars
18
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Related to #23 and #24

we should have an aggregated weighted results API which is calculated daily or twice a day. This API is a result of reading all user attestations and weighting them with voting power points and calculating the aggregated results.
More information is here: https://www.notion.so/giveth/Weighted-Aggregated-Attestation-APIs-0d7c33180e2744e5943b31f1f53d67d5

### **Success Criteria**
- Calculations will be made on Pairwise servers.
- We need to divide data into 4 views by stakeholder
- each view has a final overall ranking for every project.
- Final number would be like: ProjectX {rankTotal} ({rankInTheirCategory})
- APIs Requirements:
1. Ranked Projects List and Ranked Category List in Four views:
1. Filtered by Holders’ vote
2. Filtered by Delegates’ vote
3. Filtered by Badgeholders vote
4. Filtered by Recipients’ vote
2. The list of projects should include
1. the logo of the project,
2. the name of the project,
3. The category of the project
4. The rank of the project inside their category.
5. a relation to RPGF Project ID
3. The Ranked list of projects should be able to be filtered by category
4. The list of categories should include
1. Name
2. Rank (based on the votes)
5. Each service preferably has sorting and paginations for all views
6. A final metric for each project: ProjectX {rankTotal} ({rankInTheirCategory})
- Distribution formula can be kept as pairwise % for now until it has been decided and replaced later.[ Some Thoughts Are Here](https://docs.google.com/spreadsheets/d/1nc_Td6LI62imyqfp4eN5GWUB3scjTeHvCs6nwa65jwQ/edit?usp=sharing)
- Sample of [Badges Points ](https://docs.google.com/spreadsheets/d/1tdDKE0qv2alkzmVy78WFjxqDyYyo3fQNiUe_TuXqcsk/edit#gid=0)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.