1
\$\begingroup\$

As seen in this challenge and this one in the sandbox, some questions ask for pseudorandom numbers to be applied in a mathematical operation. Frequently, these questions are trivial mathematical operations for which the only difference is the operations use a pseudorandom number. Should generation of pseudorandom numbers be allowed as a requirement for a challenge?

\$\endgroup\$
  • \$\begingroup\$ Just because some challenges don't use randomness in a proper manner doesn't mean there aren't challenges that do. \$\endgroup\$ – Nathan Merrill Feb 7 '17 at 21:53
  • \$\begingroup\$ Why do you think shouldn't the generation of pseudorandom numbers not be allowed under the current rules? \$\endgroup\$ – flawr Feb 7 '17 at 22:03
  • 2
    \$\begingroup\$ Maybe a better question here might be "If a challenge is identical to another, but replaces an operand with a random value, should they be considered duplicates?" In a similar vein we usually close challenges as duplicates which fix one of the operands to a specific value. \$\endgroup\$ – Martin Ender Feb 7 '17 at 22:42
4
\$\begingroup\$

Varies by the question.

Some questions use psuedorandom numbers, and theres a tag for that.

Since there is no rules which restricts them, it will be allowed.

However, Trivial ones, like what you posted, are discouraged, and will most likely be disliked or flagged. (by any reason, most likely duplicates or not clear)

If they don't violate other rules, questions containing psuedorandom numbers are fine.

\$\endgroup\$

You must log in to answer this question.

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