# Save task and compute feedback for saved task Compute feedback for our task in two steps: 1. Send task to the Taskbase platform. 2. Request feedback for a learner's answer to the task. ## Setup You will need - a valid API token - a specific task - some learners' answers ## Tutorial ### Step 1: Send task Send task and obtain its relevant evaluation criteria. The [`taskDefinition.id`](http://127.0.0.1:4000/apis/specification/aspects/computetaskaspects#aspects/computetaskaspects/t=request&path=taskdefinition&d=0/id) is the identifier used in subsequent requests to target this task. The identifier is provided by your system and needs to be unique. The response will include a list of aspects, which are the evaluation criteria used to assess a learner's answer. For API reference see [Returns all relevant Aspects for a given task](/apis/specification/aspects). **API Call Example:** **API Call Response Example Excerpt:** ```json [ ... { "name": "Present 3rd person singular of regular verbs", "description": "The student can correctly form the present 3rd person singular of regular verbs.", "type": "CONCEPT", "aspectGroup": { "name": "Grammar", "description": "Grammatical concepts such as conjugation, tenses and conditionals" } }, ... ] ``` ### Step 2: Request feedback You now have a task in the Taskbase platform. You can request feedback by providing the learner's answer To target that task, use the same [`taskDefinition.id`](http://127.0.0.1:4000/apis/specification/aspects/computetaskaspects#aspects/computetaskaspects/t=request&path=taskdefinition&d=0/id) as part of the URL. For API reference see [Compute feedback for an existing task](/apis/specification/feedback/computefeedbackbytaskid). **API Call Example:** **API Call Response Example Excerpt:** ```json { ... "result": { "sampleSolution": { "content": "The Battle of Waterloo was in 1815." }, "feedback": [ { "correctness": "correct", "aspects": [ { "name": "Present 3rd person singular of regular verbs", "description": "A student can correctly form the present 3rd person singular of regular verbs.", "type": "CONCEPT", "aspectGroup": { "name": "Grammar", "description": "Grammatical concepts such as conjugation, tenses and conditionals" } } ], "message": "Indeed, the Battle of Waterloo was on Saturday, the 15th of June 1815", "context": [ { "content": "was in 1815", "offset": 23, "length": 11 } ] } ], "answer": { "content": "The Battle of Waterloo was in 1815." }, ... } } ``` ## Outcome You sent a task and then requested feedback on a learner's answer to it.