Hierarchy

  • SessionInteractor

Implements

Constructors

Properties

codeTransformer: ILanguageAdapter
log: ILogger
session: ISession
transformerResolver: ILanguageAdapterResolver

Methods

  • Handle feedback from the session.

    This handler expects that the response from the session is a single plain text string that contains a JSON object. The JSON object should have the following structure:

    { "correct": boolean, "content": string }
    

    If the feedback is about the specification of the tests, the JSON object should have the following structure:

    { "broken": boolean, "content": string }
    

    Parameters

    Returns IFeedback

    the feedback

Generated using TypeDoc