Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2013-01-14

| Channels | #webwork index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:35 djun joined #webwork
02:46 mgage__ joined #webwork
14:12 mgage advengers: I don't think there is an existing solution to your problem.  You can look at the code to MultiAnswer to see the techniques you would need to use to accomplish this.
14:31 goehle joined #webwork
15:31 aubreyja joined #webwork
18:23 theseb joined #webwork
18:23 theseb How PREVENT Webwork from doing error checks before sending student's answer text to custom grader?
18:24 theseb (Webwork tries to detect implied multiplications and other things....I DO NOT want Webwork to do that?)
18:24 theseb just to send raw text
18:24 mgage Hi Chris,
18:24 theseb mgage: HELLO!
18:24 theseb Prof Gage!
18:24 theseb nice seeing you here!
18:25 theseb I put this question on the forum as well
18:25 theseb thought i'd try here too
18:25 mgage (mike)   I think what you want to do is to avoid MathObjects all together and create and AnswerEvaluator -- somewhat lower level machinery
18:26 theseb ok
18:26 theseb so avoid Computer("something")->cmp(....)
18:26 theseb I mean Compute("something")->cmp(....)
18:26 mgage http://webwork.maa.org/pod/pg_TRUNK/
18:27 mgage http://webwork.maa.org/pod/pg_TRUNK/lib/AnswerHash.html
18:28 theseb ah thanks so much
18:29 mgage The answerHash is just a hash with a bunch of information -- it's what you see when you use PGLabs --   The AnswerEvaluator allows you to take a string of filters which input the answer Hash, process the information in it and then out the answer hash to be passed on to the next filter.  This is how the basic evaluators were created.  The MathObject evaluators were created somewhat separately but hook in to this mechanism.  You want to hook into th
18:29 mgage mechanism directly since you want to by pass the features provided by the MathObjects class.
18:30 mgage http://webwork.maa.org/pod/pg_TRUNK/lib/AnswerHash.html  is also relevant
18:31 theseb sounds good...i don't suppose there are any examples or sample problems where others have done something similar are there?
18:32 mgage Looking at the code of the files with PG***evaluators.pl will give you some ideas.  The old macros num_cmp() and fun_cmp() used the AnswerEvaluators directly but they have been modified to use the MathObjects routines in order to provide the students with superior feedback.
18:33 mgage There is still legacy code lying around in those files which will help give you some ideas.
18:38 mgage Value/AnswerChecker.pm   the cmp() method around line 79 gives you another example of creating the answer evaluator and using it.
19:15 theseb thanks
20:28 aubreyja ccccccbjlekdljkkkihlcdhltifcrtuucjbgtubukhef
20:29 aubreyja oops :)
20:57 goehle joined #webwork
21:45 djun joined #webwork
22:48 djun joined #webwork
22:50 mgage aubreyja: same to you
23:31 aubreyja :)

| Channels | #webwork index | Today | | Search | Google Search | Plain-Text | summary