Replies: 3 comments 8 replies
-
As I stated in other discussions, I will also say here for the record: Your idea assumes that the invalidated solutions are valuable. And I agree that your, or any other, idea would be nice to protect valuable solutions from invalidation. But still, I've seen only one occurrence of someone giving an example of a valuable solution being invalidated. Everything else are attempts to save worthless solutions to 7 kyus which are never going to be looked back at, are top-voted golfed one-liners with O(n!) complexity, and will be replenished in hundreds right after the kata gets bumped up in the search list. The most common problem is not with attempts of saving potentially valuable solutions, which I would fully support. The problem is with attempts to save worthless solutions, which drives me crazy. I think the real stress is not at the point you put it. |
Beta Was this translation helpful? Give feedback.
-
sounds good to me. I'd just move the |
Beta Was this translation helpful? Give feedback.
-
There are cases where the old tests are too weak and the poupose of the fix is invalidate wrong solutions. Another idea: the choice between "normal" (keep old solutions) and "revalidating" update in fork/translation editor. |
Beta Was this translation helpful? Give feedback.
-
An often heard concern when updating or fixing a kata is "but this will invalidate many/all solutions!". Deliberating on this issue usually slows down the whole process of getting the kata fixed, and even then there is no good outcome. Either:
My idea is simple. To eliminate this problem, only solutions which are younger than some threshold (eg. 3 months) are ever revalidated when a kata is updated. All other kata simply stay visible. To make this behaviour more clear, a small alert could be present on all old solutions saying something like "This solution is old and may not pass the kata in its current state". But this alert may not be necessary at all. I would also make an exception for beta kata, which should revalidate all solutions on update/approval.
A simple idea, but the benefits are great. Contributors can freely fix issues without fear of invalidating thousands of solutions. Similarly language versions can be updated without much loss. It's probably also easier for the server, not having to validate as many solutions.
Beta Was this translation helpful? Give feedback.
All reactions