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

Kata search incorrectly consider solved kata as unsolved #2748

Open
Voileexperiments opened this issue Jul 14, 2022 · 1 comment
Open

Kata search incorrectly consider solved kata as unsolved #2748

Voileexperiments opened this issue Jul 14, 2022 · 1 comment

Comments

@Voileexperiments
Copy link

Voileexperiments commented Jul 14, 2022

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

@kazk
Copy link
Member

kazk commented Jul 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants