I've seen a lot of questions (example) get approved as documentation, and they follow a distinct pattern, so I'm suggesting that there be a type of audit task in documentation that attempts to ask a programming question. My imagined steps for creating these tasks are this:
- Take a zero-scoring but open question from Q&A (the questions posted in Documentation seem to be very similar to these).
- Create a new topic with the code blocks from the questions inside examples. The example titles would be the last sentences before the respective code blocks, or "Code" if it's at the beginning.
- Add the body of the question (without code blocks) in the Remarks section.
- Use the title of the question as the topic title.