Skip to content

Error in chart displaying resoults of a quiz #508

@tomaszpochron

Description

@tomaszpochron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions