acikyazilimagi / acikyazilimagi/musahit-harita-backend

Define the formulation for the heat markers

オープン
#8 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
21
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

- 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))`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。