ClimateMind / ClimateMind/climatemind-backend
Error in chart displaying resoults of a quiz
- Dominant language
- Python
- Stars
- 24
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
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

Best regards,
Tomasz Pochron
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading app/personal_values/normalize.py and trace how quiz results with at least two zero personal values are normalized. Reproduce the reported chart data, then verify that the normalized results no longer create multiple overlapping zero-value tooltip entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100