Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in chart displaying resoults of a quiz #508

Open
tomaszpochron opened this issue Jan 11, 2024 · 1 comment
Open

Error in chart displaying resoults of a quiz #508

tomaszpochron opened this issue Jan 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tomaszpochron
Copy link

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.
Zrzut ekranu 2024-01-10 205836
Zrzut ekranu 2024-01-08 105330
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

Best regards,
Tomasz Pochron

@tomaszpochron tomaszpochron added the bug Something isn't working label Jan 11, 2024
@danmash
Copy link
Member

danmash commented Jan 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants