Implement nested question remediation and review content
This commit is contained in:
@@ -9,6 +9,9 @@ public class QuestionResponse
|
||||
public List<QuestionChoice> Choices { get; set; } = [];
|
||||
public string CorrectChoiceId { get; set; } = "";
|
||||
public string Explanation { get; set; } = "";
|
||||
public string KeyTakeaway { get; set; } = "";
|
||||
public string UsmlePearl { get; set; } = "";
|
||||
public List<QuestionReviewFollowup> ReviewFollowups { get; set; } = [];
|
||||
public Dictionary<string, string> ChoiceExplanations { get; set; } = [];
|
||||
public Dictionary<string, WrongAnswerFollowup> WrongAnswerFollowups { get; set; } = [];
|
||||
public Dictionary<string, int> ChoiceSelectionPercentages { get; set; } = [];
|
||||
@@ -41,6 +44,9 @@ public class QuestionResponse
|
||||
Choices = choices,
|
||||
CorrectChoiceId = question.CorrectChoiceId,
|
||||
Explanation = question.Explanation,
|
||||
KeyTakeaway = question.KeyTakeaway,
|
||||
UsmlePearl = question.UsmlePearl,
|
||||
ReviewFollowups = question.ReviewFollowups,
|
||||
ChoiceExplanations = question.ChoiceExplanations
|
||||
.Where(entry => choiceIds.Contains(entry.Key))
|
||||
.ToDictionary(),
|
||||
|
||||
Reference in New Issue
Block a user