This module runs in a background thread, not the browser's main (UI) thread. It grades documents submitted to it in serialized form, and transmits feedback messages about their contents back to the main thread. It is not yet at the level of sophistication we eventually plan for, but it can already do a lot. It imports all the validation tools from our deductive engine and uses them to validate documents.
None of the functions in this module are called by any external client, and hence none are documented here. Rather, this script is loaded into Web Worker instances, and messages are passed to it as documented above, and messages are received back from it as documented in the validation module.