http://github.com/timhunt/Moodle-Question-Engine-2/blob/new_qe/question/engine/lib.php is pretty. http://git.moodle.org/gw?p=moodle.git;a=blob;f=question/editlib.php;h=af49fae3c8e75e9a7a90a115601f075bc2e7c461;hb=HEAD isn't.
Prettiness would be nice.