2
\$\begingroup\$

The Farfallino Alphabet

Hello everyone. Because of my cough cough dumbness cough cough I edited my code golf following many complaints in comments and downvotes, thus invalidating like every submission. I now understand that I should be much more accurate, avoiding any ambiguity. I think that now the requirements are much better but I would like to delete my thread and create another one naming it like "The Farfallino Alphabet v2".

Is this possible? Thanks.

\$\endgroup\$
  • \$\begingroup\$ Related. \$\endgroup\$ – user202729 May 30 '18 at 11:36
  • \$\begingroup\$ The more important part is "what should be done with the existing invalidated answers". They're upvoted, and nobody want to have their answers deleted. \$\endgroup\$ – user202729 May 30 '18 at 11:39
  • \$\begingroup\$ And currently there are 16 answers (plus 4 deleted ones) \$\endgroup\$ – user202729 May 30 '18 at 11:40
  • \$\begingroup\$ @user202729 I understand that, but this is really an opportunistic reason not to delete it. I think we should do code golfs because we like to do them, not because we want reputation... \$\endgroup\$ – Cris May 30 '18 at 11:47
  • \$\begingroup\$ Let's see how people will answer it... \$\endgroup\$ – user202729 May 30 '18 at 11:48
12
\$\begingroup\$

I'm repeating some things from my last comment, but leaving them here for completeness.


I think that now the requirements are much better

The requirements are much less clear with the added edge cases, so I have closed the challenge for now.

I went through and tested every single answer that I could (all but 2 of them without TIO links). Not a single one of them passed the AAAH → AfafaAfaH test case that you added after the fact. And that doesn't surprise me, since this is a very strange edge case that requires some guess work to figure out what you were intending.

  • Why not handle more than 2 consecutive vowels? My first assumption would be aaaa --> afafafafa, but clearly that's wrong.

  • Why does that case turn some letters into lower case? The second A became an a

Another rule that has to be inferred from test cases is how A becomes Afa rather than AfA.

As Dennis pointed out, the challenge can't be deleted anymore unless a moderator does it, and there is no benefit to having it deleted.

What next?

I have an idea to fix the situation that is pretty unorthodox to the way the site tends to work, so it might be unpopular. I'm not officially saying as a moderator that this is what we should do, it's just my thoughts on how we could move forward.

  1. Leave it closed. The challenge in it's current state is still rather unclear and has a lot of edge cases that aren't explicitly stated. And each revision of the challenge was pretty unclear too, so if we wanted it to be re-opened, it would require rolling back, significant editing, deleting nearly all the comments, and then going through and deleting a large portion of the answers. This seems really sloppy to me. Let's just say the challenge didn't work out the way you hoped, it's unclear, and that's OK.

    Note that this includes not deleting it since there are upvoted answers on the thread.

  2. Post the challenge in The Sandbox. This will allow people to suggest improvements without invalidating answers. While it's in here, I would recommend waiting at least a week, both because it needs some time for clarification, but also because I think it would be best to not repost the challenge immediately.

    While you have this challenge in the sandbox, focus quite a bit on simplifying the challenge. In particular,

    • There should be no rules that need to be inferred from the test cases.

    • There should be as few edge cases as possible. If this means removing uppercase altogether, then do that. If this means saying that no input will contain more than 2 consecutive vowels, do that.

    • The test cases should all be covered by a small set of simple rules that are consistent and cover everything. By "small set", I mean 2 rules, maybe a 3rd if necessary.

    For your challenge in particular:

    • Personally, I would recommend removing 2 consecutive vowels are not special. You have to handle 2 consecutive vowels. I think something like aaa --> afafafa is far more clear than aaa --> afafaafa. Either keep the double-vowel rule consistent with more than 2 vowels, or don't make people support inputs with more than 2 vowels.

    • Make sure you are clear and explicit about the capitalization of any added vowels. For example, in your current revision, it's completely unclear why the second 'A' becomes lowercase. Why is it AAH --> AfafaH and not AAH --> AfAfAH or even AfAfaH? Again, the challenge might be a lot better if you just remove handling of uppercase characters entirely.

  3. After improving the challenge and waiting long enough, I think it would be perfectly fine to post the challenge back on main. It's a little bit weird to advocate for a repost, but 1) The new challenge will be far better. 2) It's not really a duplicate since the current challenge is closed.

    And we could also close the current challenge as a duplicate of the new one to point people towards the better challenge. That's not even an unusual course of action.

I do think that it's a good challenge, it's was just ruined by changing the rules too many times. With some polishing and a more consistent spec, I think this would be a very enjoyable challenge to answer.

\$\endgroup\$
4
\$\begingroup\$

You cannot delete your challenge if it already has answers with a positive score; the system doesn't allow it.

Moderators can delete challenges upon request, but hardly ever do so. I don't think a challenge has ever been deleted by a moderator, just so it could be re-posted verbatim, mainly because there aren't any benefits. If the challenge has invalid answers, leave comments under them, so people are aware and can either amend or delete them.

Now, in general and for this particular case, if people ask for clarifications in comments, you usually have the option to clarify without invalidating preexisting answers. If there are already more than a couple of answers, that's usually the way to go.

Up to revision 4, there weren't any test cases with uppercase vowels. Thus, you could have added a sentence like

You may assume that the input doesn't contain any uppercase vowels.

or

Behavior for uppercase vowels is undefined.

If your edit really invalidates most of (or even a significant portion of) the current answers, I'd personally revert it and use one of the options above.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .