Talk:Determine if a string is collapsible: Difference between revisions

→‎Back to draft ?: Specific requirements for repairing this task.
(→‎What does determine mean?: Measured, helpful and polite.)
(→‎Back to draft ?: Specific requirements for repairing this task.)
Line 6:
 
My feeling is that it probably needs to go back to draft status, until the defects in its test set, and in the broken relationship between those tests and the name of the task, have been taken back to the repair shop, and emerged in a more convincing state of health. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 19:44, 9 June 2020 (UTC)
 
'''Specifically'''
 
# The collapsability '''test''' foregrounded by the ''Determine if ...'' title needs to be included (prominently and thoroughly) in the test requirements.
# The test predicate and the repetition pruning (unmentioned in the title, but perfectly reasonable) need to be '''separately''' tested, as they are quite different coding exercises. A test can exit quickly – as soon as a single consecutive repetition is found, whereas a string rewrite (repetition pruning, in this case) has to continue all the way to the end.
# The task lacks any stretch element. An obvious possibility is to require the testing and (separately) compression of very long strings (brought in from file or computationally defined), which are beyond the scope (for some languages) of the obvious '''recursive''' solutions to theses two coding tasks (the early-exit testing identified by the task title, and the quite different long-haul pruning which dominates the test strings).
 
[[User:Hout|Hout]] ([[User talk:Hout|talk]]) 22:14, 9 June 2020 (UTC)
 
== Harry S Truman ==
9,659

edits