ClimateMind / ClimateMind/climatemind-backend
Refactor feed Blueprint usage
- Dominant language
- Python
- Stars
- 24
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
### What to refactor?
- app/feed/routes.py use feed bp instead of scores
-
https://github.com/ClimateMind/climatemind-backend/blob/develop/app/feed/routes.py#L4
- app/feed/tests/test_feed_routes.py
### Refactor reason
In #464 @brianpeiris noticed that we used the wrong Blueprint object in the feed.
### Tests
- [ ] fix unit tests app/feed/tests/test_feed_routes.py
- [ ] check other usages for `scoring.get_feed` string and other URL usages
- [ ] check that this will not break the feed
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at app/feed/routes.py around line 4 and inspect app/feed/tests/test_feed_routes.py. Run the feed route tests, then search for scoring.get_feed and other feed URL usages. Done means the feed uses the intended Blueprint, the unit tests pass, and the feed remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100