For both types of error corpus, it is not enough to collect a large set of sentences which are likely to contain an error -it is also necessary to examine each sentence in order to determine whether an error has actually occurred, and, if it has, to note the nature of the error.
like the creation of a treebank, the creation of a corpus of ungrammatical sentences requires time and linguistic knowledge, and is by no means a trivial task.