Freetext errors - #1817
Freetext errors#1817
Conversation
|
@sangwinc I point us both to the PR description and included documentation: The errors need to be switched on for an extractor by setting Example for 'Free-text input with multiple extractors' with errors for just the first extractor switched on.
|
|
Thanks @EJMFarrow ! |
|
Thanks Edmund, after a little bit of cache chasing, that's working very well indeed.
Otherwise, this is really exactly what I asked for. Let's see how the extractors get used. |
|
@sangwinc I've updated so filters can now use the error display. It's a relatively small change in stackascii.js but I've also changed the extractorhelper file to a more generic asciihelper file and moved it so the change has touched all the extractors and their test files. 😞 I updated the calculation and cas filters to output errors. (NB Most of the error messages come directly from mathjs so won't be translated e.g. |
|
Thanks @EJMFarrow that's great. I think we are now done with this issue? |
|
Yes - it's just a case of trying it out in dev for now and tweaking as necessary. |
|
Thanks - the error message from the regex extractor is going to look very odd to students. I suspect that's one people will want to turn off. I suspect there might be a PR from an enthusiastic user about options for custom error messages.... |

errors="false"in parameters of extractor block to switch off.