acikyazilimagi / acikyazilimagi/musahit-harita-backend

Change Heat Map Method

Abierto
#53 0 comentarios 0 reacciones 1 asignado Reclamado por @gurkanguray Ver en GitHub
Lenguaje dominante
Go
Estrellas
21
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.