acikyazilimagi / acikyazilimagi/musahit-harita-backend

Change Heat Map Method

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

説明

The method needs to be changed when sending intensity for the heatmap. A general intensity will be subtracted from the average of the sum of the ballot box numbers for the neighbourhoods. For chests, complete or incomplete information will be sent (1-0)
by @kingofsevens
```
maturity_total = 10
neighbourhood = []
for building in neighbourhood_building:
for box in building_boxes:
if box.approved:
intensity = 0
box.state = 1
else:
intensity = math.ceil(count / maturity_total * 5)
box.state = 0
neighbourhood.append(box.intensity)
neighbourhood_intensity = sum(l) / len(l)

```

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

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

評価

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

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

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