Open tomaszpochron opened 7 months ago
Hi @tomaszpochron, Thanks for the report! Looks like you've spotted the issue already, If you feel confident about the reason you could propose a fix in a PR. I would really appreciate it. Thanks! FYI @rodriguesk
Dear ClimateMind Development Team,
I am writing to report an issue encountered in the ClimateMind app, specifically related to the "Personal Values" chart that appears after completing a quiz. The issue arises when at least two of the personal values calculated from the quiz results are zero.
The tooltip on the chart is stacked with multiple entries, all showing "Your Values: 0" for what seems to be the same personal value. The expected behavior would show a single entry per value, not multiple overlapping entries.
I think it should be resolved by changing normalisation of the resoults of a quiz by changing lower bound to 1.
https://github.com/ClimateMind/climatemind-backend/blob/develop/app/personal_values/normalize.py
![Zrzut ekranu 2024-01-11 160550](https://github.com/ClimateMind/climatemind-backend/assets/23237107/f459d04f-dcab-4f0b-b7e0-831fb79dd563)
Best regards, Tomasz Pochron