So I normally peruse numpy questions, and recently got tag-editing capability. I noticed that sometimes folks like to tag the common abbreviation of numpy to np. OK, simple, ask meta to synonymize it, right?
Maaaybe not. As per np's tag wiki:
NP ("nondeterministic polynomial") is a complexity class of decision problems that can be solved by a nondeterministic Turing machine in polynomial time. Equivalently, it is the set of decision problems for which an answer can be verified in polynomial time by a deterministic Turing machine.
Wait, is that even on-topic? There seems to be quite a few questions and answers in np along those lines, and I don't know enough theoretical CS to judge, so I'm bringing it to meta!
Basically I see 3 options:
- NP-complexity is off-topic for SO, and therefore burninate np questions on it and then synonimize np with numpy
- NP-complexity is on-topic for SO, but rare/esoteric enough to justify renaming np to np-complexity and then synonimizing np with numpy or burninating np entirely.
- Do nothing, retagging the occasional question is not high-effort and np is just as or more valid as a computer science term than as an alias for a
python
package.
But I'm not even sure which to request, if any. Or if that last option is just my impostor syndrome acting up.
np
should not be a synonym ofnumpy
even when NP questions were off-topic. NP is a common abbreviation of "nondeterministic polynomial" and widely used in computer science, whereas NP as a abbreviation of NumPy is only/mainly used in the Python community. So this (for most) unexpected link to NumPy could result in incorrect tagging. I would then rather suggest to rename the tag, like suggest in the question, and block the re-creation of annp
tag to prevent further ambiguity.np
frequently being imported asimport numpy as np
. I support renaming np to np-complexity, but in the style of a burnination and rather getting rid of np entirely rather than renaming it precisely to prevent ambiguous use.np
potentially has several uses that leads to a high risk of misuse. TL;DR: move polynomial questions to np-complexity, move numpy questions to the numpy tag, and burn the tag to prevent further ambiguous use