trend calculation test and upvote/downvote endpoints
vote rework and repository clash fix