Skip to content

Threshold logic for ranking rounds is undefined -- advance_round silently raises NotImplementedResponse #543

@ayushshukla1807

Description

@ayushshukla1807

Problem

In advance_round (admin_endpoints.py), the function explicitly rejects ranking rounds:

if rnd.vote_method not in ("rating", "yesno"):
    raise NotImplementedResponse()  # see docstring above

The docstring acknowledges cases 3 and 4 (advancing from a ranking round) are unimplemented.

Separately, in get_round_results_preview, the ranking round path contains:

# TODO: What should this return for ranking rounds?
# import pdb;pdb.set_trace()

This means:

  1. Any coordinator who tries to advance from a ranking round gets a generic NotImplementedResponse with no guidance.
  2. There is no documented spec for what threshold semantics should mean for ranking rounds.

Impact

Campaigns that end with a ranking round (the standard flow) cannot be advanced further programmatically. While the current flow is yesno -> rating -> ranking (final), edge cases like re-running or multi-stage ranking are completely blocked.

Suggested Action

This should be triaged and either:

  • Documented explicitly as out-of-scope
  • Or specced and tracked as a feature

before the next major Wikimedia campaign season.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions