8
\$\begingroup\$

It has been mentioned recently that ~62% of close votes come from the "broken code" or "code not yet written" category. I'm wondering if we could help lower that percentage by detecting certain key phrases in the title (or possibly body) of the question and give a red warning banner before the user posts it?

For example, this week, I've seen:

I notice some patterns in these questions. Words like "bug", phrases like "not working" and question titles ending in a question mark seem to have a high occurrence (in my very very brief look) of getting put on hold. Would it be worth detecting some of these things and warning users that their post may be off-topic? Would anyone be able to do an analysis of "on hold" questions and see if there are correlations with certain phrases?

\$\endgroup\$
4
  • 1
    \$\begingroup\$ Related: codereview.meta.stackexchange.com/questions/435/… \$\endgroup\$
    – Heslacher
    Jan 17, 2018 at 7:54
  • 4
    \$\begingroup\$ Related: Code Review Clippy \$\endgroup\$
    – Peilonrayz Mod
    Jan 17, 2018 at 10:32
  • \$\begingroup\$ We do have some clippy-like features, like if you write the title "Help me with this code" you get a few popups, we should definitely get such for "Bug" and "Not working" too. \$\endgroup\$ Jan 17, 2018 at 18:13
  • \$\begingroup\$ That would be great! \$\endgroup\$ Jan 18, 2018 at 1:41

1 Answer 1

5
\$\begingroup\$

Ok, this is done. My bug is not working

A title of "My bug is not working" will now produce a warning. Other titles containing one or both of these phrases should do the same.

\$\endgroup\$
2
  • 3
    \$\begingroup\$ Awesome! Thank you so much! Hopefully this will reduce our number of posts to close. \$\endgroup\$ Jan 19, 2018 at 3:10
  • \$\begingroup\$ Would it be possible to add questions starting with "why"? Such as this one. \$\endgroup\$ Jan 24, 2018 at 3:29

You must log in to answer this question.

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