Skip to content

Increase FriendsOfFriend entity population limit to 12

Manish requested to merge fix/fof-entity-limit into master

Ticket(s) / Related Merge Requests

minds#3022 (comment 918991549)

Summary of Changes

The FriendsOfFriend algorithm (used in channel contextual recommendations) only populates the first 3 entities of its response. While in the Regenerative Recommendations, we're getting 12 channels. This MR fixes that by increasing that limit from 3 to 12.

Testing Considerations

The https://feat-regenerative-recs.minds.io/api/v3/recommendations?location=channel&&currentChannelUserGuid=991438404115763219&limit=12 endpoint should return 12 recs with all their entities[].entity filled in

Deployment Considerations

...

Regression Scope

just friends of friend algorithm which is used in contextual channel recs

Platform Affected (web, mobile, etc)

backend

Developer Testing Completed

manual

Screenshots / Screen Recording

...

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Manish

Merge request reports