Open johannes-titz opened 1 month ago
Done!
for all types, right?
only for essay()
i can do it for all types of questions easily, except 'entry' type
why?
content of entry must contain instances of Gaps, it has to be a list anyway
in this case an error will be thrown, right? Entry("my gap missing the gap will throw an error")
yes, because it is a character string, not a list
initiating procedure is looking for gaps inside content, if they are not found it gives an error (but not meaningful)
we can add a meaninful error; then my above example should throw it bcause gaps is missing not because the string ist no t a list.
btw. also applies to feedback. if i have only one string it can be converted to a list. UX would be better.
done!
@bondarenko-petr please cover these cases with tests
e.g.
essay(content = "my content")
throws an error, UX can be improved.