Skip to main content

ResponseFeedback

Defined in: parser/types.ts:1293

Custom training messages. Arrays select a message for each answer-checking attempt (first entry for attempt 1), repeating the last entry for later attempts. Tokens: {attemptsUsed} and {attemptsLeft}.

Properties​

PropertyTypeDescriptionDefined in
correctText?string | string[]Message when this response is correct.parser/types.ts:1295
exhaustedText?string | string[]Message when this response is incorrect and all attempts have been used.parser/types.ts:1299
hints?string[]Progressive hints shown alongside incorrect feedback while attempts remain. One per trial-wide answer-checking attempt, repeating the final hint for later attempts.parser/types.ts:1301
incorrectText?string | string[]Message when this response is incorrect. Also used after the final attempt when exhaustedText is absent.parser/types.ts:1297