acikyazilimagi / acikyazilimagi/musahit-harita-backend

Define the formulation for the heat markers

Aberta
#8 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
21
Forks
2
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

- set threshold to 7 default for all locations
- 7 is derived from 2 big org x 3 + 1 for small org.
- if new org comes we need to update the threshold
- Below is the main formula for necessity calculation over 10 - change 10 to 5 to get the rate over 5

- `heatRank = roundUp((1 - ((confirmed volunteers in location.id) / (threshold x (ballot_boxes count in location.id)))) * 10)`

- To include the OvO data we can use the weighted average method and the total calculation is below:
- `ovoAverage = volunteer_counts.priority (for ovo) in location_id / count(buildings in volunteer_counts)`
- `finalRank = roundUp((3/7 * ovoAverage) + (4/7 * heatRank))`

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.