Comments (17)
another case here...: https://www.codewars.com/kata/55a9a6ffd7f21d7d000000e5/discuss
Author gone since 2015 / got unpublished with my issue...
edit: on the other hand, this one didn't get pushed to draft while dfhwze also raised an issue on it while both kata already add an old issue... => ??
from codewars.com.
Escalated to CW-172
from codewars.com.
This was introduced in June 2022:
Recently published kata (within the past 48h) is now automatically unpublished if it has 2 unresolved issues.
#2600 (comment)
We overlooked that the "last published at" timestamp is modified by actions other than the original author publishing the kata. Not sure what's best to do. I don't want to change this and affect other stuff, nor add a new field just to track when the original author published the kata.
If its author is inactive, the kata cannot be recovered.
Can you (a mod) publish the draft kata from the editor? Maybe I'm overlooking something, but I don't think I see anything preventing that. Note that we don't allow publishing draft kata with unresolved issues, as proposed in #2598, so the "Publish" button should be disabled until the issues are resolved.
from codewars.com.
Attempting to republish a draft with no issues initially looked like it was working, but then I found myself on a page "You do not have permissions to view this page", and the publish did not work.
from codewars.com.
Can you (a mod) publish the draft kata from the editor? Maybe I'm overlooking something, but I don't think I see anything preventing that.
I think it's never been possible?
I just tried and got the same result as Kacarott: the Publish button is clickable, but after clicking it I end up with "You do not have permissions to view this page" and kata state seems to be not changed.
from codewars.com.
Thanks for checking. It took me forever to find why mods can save, but not publish a draft kata you don't own 🤦♂️
I'll make these kata recoverable by allowing the mods to publish them like admins.
from codewars.com.
Would love to see the if
which caused this :D
from codewars.com.
Will this also allow mods to publish even with open issues? This behaviour happens when some recently updated kata gets some new issues, so it would be nice to be able to directly republish without having to close the issues, republish, then re-open the issues. (especially if adding the issues again would revert it back to draft again lol)
from codewars.com.
When you close the issues, publish the draft, and re-raise the issues, the kata will get unpublished again :D (unless you merge the pending issues into one).
from codewars.com.
Will this also allow mods to publish even with open issues?
No, everything else stays the same. But I'm open to suggestions.
I forgot exactly why we decided to disable publishing with unresolved issues, but can't you confirm that the issue is resolved, close the issue, then republish? Isn't that what the author is doing?
from codewars.com.
can't you confirm that the issue is resolved, close the issue, then republish? Isn't that what the author is doing?
That's what's currently happening, yes.
I forgot exactly why we decided to disable publishing with unresolved issues
There were mostly 2 reasons (maybe I forgot some others, tho):
- Most (newbie) authors will insta-republish if they can, even without solving the issues, so the kata will definitely get retired even if it has potential. This "delay" makes the beta process less destructive for authors, and less upsetting for beta testers.
- At some point in the past, this also was an anti-troll-kata/author measure.
from codewars.com.
In most cases when a kata is unpublished, the original author will still be active, and they have easy access to their own kata and are usually the main person responsible for fixing the issues, so it works out well. But in the case where a kata is old and the author long gone, then theoretically mods can fix the issues and then resolve and republish, but it means that the responsibility for fixing the kata lies mostly on the mods, and in the time until its fixed, no one has easy access to the kata, they have to save the url somewhere.
I think it would be a lot more convenient if mods could republish even with open issues, because it allows old kata to still be accessed by other community members who might be interested in fixing it, and it also allows the kata to be republished quickly, before the link is lost.
from codewars.com.
I think it would be a lot more convenient if mods could republish even with open issues, because it allows old kata to still be accessed by other community members who might be interested in fixing it, and it also allows the kata to be republished quickly, before the link is lost.
Adding a condition to the unpublishing so that it doesn't happen when more than 2 issues are opened would avoid to auto-unpublish the old ones, maybe?
from codewars.com.
The change to allow mods to publish drafts was deployed, but I'm still thinking about republishing with unresolved issues and old betas with inactive authors.
Even if we allow the mods to republish with open issues, the kata will be unpublished whenever the current condition is met. I thought maybe we can check the date when the author last signed in, but that doesn't mean anything if they've lost interest in maintaining the kata.
Maybe we can add a way to flag a kata as "abandoned by author" and use it for special casing. If a kata is flagged as "abandoned", we won't auto-unpublish and allow mods to republish with open issues.
from codewars.com.
Maybe another metric could be kata age? Not 48h after "last published at", but (for example) 48h or 5 days or a week after "first published"? Kata seem to have such property because it is visible in "STATS" section of kata details? Or after first non-author solution, or attempt? This way, old kata would not get auto-unpublished regardless of the author's activity.
from codewars.com.
Good idea. Let's include when the kata was first published, and only consider unpublishing if the kata was first published at most a week ago. I think it still makes sense to only unpublish if the kata was last published within 48 hours. For example, don't unpublish if the kata had survived 3 days before 2 issues were opened.
Current condition:
total_unresolved_issues >= 2 && last_published_at >= 2.days.ago
New condition:
published_at >= 1.week.ago && total_unresolved_issues >= 2 && last_published_at >= 2.days.ago
from codewars.com.
Deployed the change
from codewars.com.
Related Issues (20)
- Internal Server Error while reaching the solutions/discourse HOT 1
- All Test Cases HOT 1
- Internal Server Error while reaching the solutions HOT 3
- Internal Internal Server Error HOT 1
- cannot practice HOT 1
- Internal Server Issue HOT 1
- Page automatically tries to save as on windows
- Internal Server Error HOT 1
- Please comment on the kata instead
- Please comment on the kata instead
- [short description of the bug] HOT 2
- ISE for get_sum HOT 1
- Internal Server Error HOT 1
- Internal Server Error HOT 2
- Internal server error HOT 1
- suspected outage (June 5 2024) HOT 1
- [internal server error on kata submission] HOT 9
- Every other submission gives an Internal Server Error HOT 1
- Vertical scrollbar is added when email isn't confirmed. HOT 1
- CW-359: CW is showing Codewars Red ad to users already subscribed to Codewars Red HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codewars.com.