I've been poking around Data Explorer looking for queries that can reliably turn up posts with questionable formatting or quality issues. I found that the behavior of the Markdown engine can be leveraged to find un-indented code blocks in the rendered HTML of posts.
I started editing a few of the posts I found already, but I realized that the queries could probably be incorporated into the query (queries?) used to automatically identify possible low quality posts for the /review path. Is this possible to implement?
It would certainly be superior to using Data Explorer to do this, as DE only gets fresh data every month or so, whereas the low quality posts in /review are re-evaluated much more often based on live data. And of course /review allows inline editing, much wider editor exposure, etc.
I'll give a list of queries here. If there are any other queries that would be useful, please add them to the list.
posts containing a line feed followed by
}</p>(likely un-indented code, especially functions)
<h1>headerand similar (likely un-indented CSS code)
posts with possibly un-formatted 'import' statements (Java, Python)
posts with > 500 characters and no uppercase characters (possibly indicative of poor English)