The notes at:
http://math.webwork.rochester.edu/docs/docs/pglanguage/answerevaluators.html
give you an idea of how answers are evaluated -- but the page is historical and the sophistication of the answer evaluators has
increased dramatically from the time this page was written.
The basic idea that the author of the problem also has complete
freedom in writing the answer evaluator subroutine remains.
Roughly speaking the response evaluator subroutine takes a string which is the student's response and returns a 0 or 1 depending upon whether their response is correct.
Most often the author chooses from one of the preprogrammed response evaluators such as those supplied by fun_cmp or num_cmp.
The manuscript
http://webwork.dartmouth.edu/webwork_local_html/
also gives information on the most basic response evaluators.
We're working on documentation for the newest evaluators, but there is not a lot available yet.
Features & Development
What are the testing mechanisms used by Webwork
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day