Skip to content

PipelineInference\RocketEngine bug fix for taking top k items. #262

Closed

Description

@george-microsoft

There is a bug in the RocketEngine GetTopLearners() method which potentially allows for duplicated pipelines to show up in the results. Bug found and diagnosed by @yaeldekel. Fix should be easy.

More detail: The logic in GetTopLearners() looped through two arrays, and compared the items in the second array to the items in the first, replacing them if some criterion was met (had higher weights). The way it was written could allow for a learner to replace more than one item in the first list, leading to two or more copies of the learner in our Top K array (which is a bug).

Activity

  1. TomFinley commented on May 30, 2018

    @TomFinley
    Contributor

    I wonder if the nature of this bug could be added to the issue so I don't have to ask @yaeldekel . ;)

  2. george-microsoft commented on May 30, 2018

    @george-microsoft
    ContributorAuthor

    Bug description updated with a bit more detail.

  3. added this to the 0618 milestone on May 31, 2018
  4. ghost locked as resolved and limited conversation to collaborators on Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions