Skip to content

Kata search incorrectly consider solved kata as unsolved #2748

Open

Description

@Voileexperiments

When I search by approved katas I haven't completely today, sorted by easiest, this is the first result:

image

However, I have solved this kata. It is marked as solved when I click inside the kata, and even displays my previous solution just as fine:

image

image

┆Issue is synchronized with this Clickup by Unito

Activity

  1. kazk commented on Jul 14, 2022

    @kazk
    Member

    Yeah, this is a known issue, but apparently was never filed here. It's caused by duplicate project documents. #1683 (comment)

    You had 2 projects for that kata, and the data used to derive the search query was inaccurate because it was overridden by the second invalid project for it.
    I've manually inspected and removed the invalid one, so that should fix for this kata for you, but you probably have more considering the number of kata you've solved and how long you've been on Codewars.

    A short-term fix is to improve how the data used to derive the search query is created to prevent having multiple projects from affecting the search.

    A longer-term fix is to merge the projects correctly and remove dupes, and add a unique index to prevent creating multiple projects per kata.

  2. pinned this issue on Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions