Instead of specific formats for separate questions, why not have one general format that directs good questions and funnels worthless information into the background without rigidly requiring information. Sort
I'd suggest some sort of following a condensed OPORD format:. This is a standard military format for writing "orders" and are designed to make requests as clear, concise and complete as possible while still being flexible enough for almost any sort of request. It also forces the "meat" into paragraphs 2-4 without leaving out important stuff like background and data tables. These things could even be "rolled up" into links, especially after the question is answered and the specific background and test cases are not so important for future readers.
- Situation:
Things in this field are the background of your question. Who you are, what you're doing and why. All the stuff that clutters the question body and obscures the problem but is nearly always included. This info rolls up into a link at the top of the actual question page - answerers can reference it, especially for "why do you need this" questions, but don't have to read it really.
- Mission:
What do you want to do. This should really be the title, Inputs, expected outputs, plus any special circumstances. Tight word/character count in this field. Pick your tags here as well
- Execution
What's your intended method. What have you tried, what have you researched, what do you expect. This is "the question." Throws a warning if there's more than a few lines of code here, as most of that should go down in 5.
- Communication
What's actually happening. What's the output. What's your error message. What do the docs say. What have you found in your research.
- Supporting data
What's going on around your question. Put your code dump here. Put your big block of test input data here. Put the full error trace here if it's pages long. This also rolls up into a link for the- it can be referenced by answerers, but doesn't clutter the question.
You'd probably want to change the terminology to be a little less "military" (situation -> background, mission -> task etc), but that's the basic idea.
All you'd absolutely need to submit a question is 2. If you have 1 or 5 youyou'd need 2-3-4 as well.
Under this format it would seem that bad questions would be instantly apparent. 2 #2 isn't specific enough? Too broad. 2 #2 isn't programming related? Off-Topic. No 4#4 on a debugging question? No 3#3 on a "how do I" question? Question buried in 5#5? Easy flags/downvotes.
It's also easier on the asker. Not sure whether that bit of code is relevant? Drop it in 5. Not sure what bits of backround are relevant? Dump it in 1. Not sure what you need? Being forced to state it a few words in 2 will help clarify. Input, output, method and gap are built into 2-3-4 without being a formula that might not suit your request.
It might be a bit intimidating for newcomers and tedious for old-timers (maybe relax some rules with higher rep), but it t really does force you to make a good request, and I think it could be easily adapted to asking good questions as well.