ClimateMind / climatemind-backend

Your climate action is here 🌎 Our API is a source for learning how climate change personally affects you and the things you care about most. Additionally, it will teach a scientifically proven method for communicating to others that climate change is a personally relevant issue to inspire action.
https://contribute.climatemind.org/v/rest-api/
MIT License
18 stars 19 forks source link

Update score_nodes.py #496

Closed rodriguesk closed 1 year ago

rodriguesk commented 1 year ago

Detailed information:

Added relatedPersonalValues to the GET response of the /feed endpoint to include all the personal values associated with each climate change impact for user's feed.

Closing issues:

List all issues the pull request solve:

closes #495

Test plan (required)

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.38 :warning:

Comparison is base (36b8aef) 73.88% compared to head (ab24a66) 73.51%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #496 +/- ## =========================================== - Coverage 73.88% 73.51% -0.38% =========================================== Files 83 82 -1 Lines 2635 2598 -37 Branches 315 314 -1 =========================================== - Hits 1947 1910 -37 Misses 656 656 Partials 32 32 ``` | [Impacted Files](https://app.codecov.io/gh/ClimateMind/climatemind-backend/pull/496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind) | Coverage Δ | | |---|---|---| | [app/scoring/score\_nodes.py](https://app.codecov.io/gh/ClimateMind/climatemind-backend/pull/496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL3Njb3Jpbmcvc2NvcmVfbm9kZXMucHk=) | `32.83% <100.00%> (+1.01%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/ClimateMind/climatemind-backend/pull/496/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.