[LON-CAPA-users] "The submitted answer was too long."

Stuart Raeburn raeburn at msu.edu
Tue Apr 18 12:40:26 EDT 2017


"The submitted answer was too long." message is displayed when a submission
receives an award of "TOO_LONG" in the case of a submission for one of  
the following response types:

numericalresponse, forumularesponse or stringresponse.

The limit of 500 characters is hard-coded in default_homework.lcpm.

According to the commit logs this was added 5/23/2003 to address bug  
#941, because of a constraint from the CAPA engine, which is used to  
evaluate correctness for numericalresponse, stringresponse (excluding  
regular expression matches), and formularesponse (excluding those  
using Maxima, now the default).


Note: as things standard currently the limit of 500 characters still  
applies to formularesponse, even if the maxima CAS is used to evaluate  
correctness, and not the CAPA engine.

Stuart Raeburn
LON-CAPA Academic Consortium

Quoting "Mills, Douglas G" <dmills at illinois.edu>:

> HI All,
> Can anyone clue me in on what triggers the "The submitted answer was  
> too long."  message -- what is "too long" and can that be adjusted?   
> Is the "too long" answer stored and just not accepted? OR is it  
> truncated?  Thanks!
> Doug
> Douglas Mills
> Director of Instructional Technology
> Department of Chemistry
> University of Illinois

More information about the LON-CAPA-users mailing list