valhallasw added a comment.
I don't see why having step is related to having a continuation mechanism. It's a parameter that's passed to the api, which has a well-defined meaning.
I also don't see why returning duplicates is an issue. Random sampling is typically with replacement, unless specified otherwise, so the caller should not be surprised to see duplicates, and should filter them manually.
TASK DETAIL https://phabricator.wikimedia.org/T84944
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: gerritbot, valhallasw, jayvdb, Aklapper, Mpaa, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org