OpenDRR / riskprofiler

Web Application to Support Disaster Resilience / Application web pour soutenir la résilience aux catastrophes
MIT License
10 stars 7 forks source link

[ISSUE 2] Detail box for Probably of Slight Damage incorrectly showing "0%" #81

Open anthonyfok opened 2 years ago

anthonyfok commented 2 years ago

(from @tieganh)

The detail box for the probabilistic calculator for probability of slight damage is showing “0%” even though the legend indicates that this shade of red should be >44%. So the “0%” is both too low and should have different rounding applied?

Screen Shot 2022-10-13 at 7 14 02 PM

anthonyfok commented 2 years ago

@phil-evans replies:

This looks like an issue with the data coming from the API for that specific feature. If I log a sample of values, they are almost all 0.000X, but that Sauid (#59025859) gives a value of 1.61836

Screen Shot 2022-10-14 at 11 02 03 AM