Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET /api/v1/suggestions is undocumented #645

Closed
garbados opened this issue Jul 6, 2018 · 6 comments
Closed

GET /api/v1/suggestions is undocumented #645

garbados opened this issue Jul 6, 2018 · 6 comments

Comments

@garbados
Copy link

garbados commented Jul 6, 2018

Added in mastodon/mastodon#7918, the follow recommendation API endpoint is not documented in this repository, though it has been included in a pre-release.

What does it do? How does it work? What is the math involved?

@nevillepark
Copy link

From here:

Track interactions with people you don't follow

Replying to, favouriting and reblogging someone you're not following
will make them show up in follow recommendations. The interactions
have different weights:

  • Replying is 1
  • Favouriting is 10 (decidedly positive interaction, but private)
  • Reblogging is 20

Following them, muting or blocking will remove them from the list,
obviously.

@Gargron
Copy link
Member

Gargron commented Jul 6, 2018

It has not been included in public releases (especially not plural), its first appearance is in 2.4.3rc1 (release candidate, "pre-release") which came out today.

The PR from the changelog includes both the API documentation and explanation of the math: mastodon/mastodon#7918

@garbados
Copy link
Author

garbados commented Jul 6, 2018

Updated the initial comment to reflect that it is included in a pre-release. Thanks for the clarification.

However, I don't find the API documentation in the PR sufficient. For example:

What interactions? If you engage with a person you're not following, it bumps their score on your hidden list. Between replies, favourites and reblogs, the weight of the score bump is different. The idea is that you may have lots of positive interactions with a person, but forget to follow them.

The bump score is different. How? What is the math, rather than "the idea"?

@garbados
Copy link
Author

garbados commented Jul 6, 2018

The documentation included in the commit message is good and I believe it makes sense to include that information in the API documentation.

@Gargron
Copy link
Member

Gargron commented Jul 6, 2018

The numbers are arbitrary, replying is the baseline, favouriting is more indicative than replying, and boosting is even more indicative than favouriting. 1-10-20.

@rinsuki
Copy link
Contributor

rinsuki commented Jul 17, 2018

I think this issue is closable in #646

@Gargron Gargron closed this as completed Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants