Upgrade dynamic questions to authored parity
This commit is contained in:
@@ -17,6 +17,8 @@ public sealed class DynamicQuestionBlueprint
|
||||
public string PerformanceCategory { get; set; } = "";
|
||||
public string PhysicianTask { get; set; } = "";
|
||||
public int Difficulty { get; set; } = 3;
|
||||
public int QualityStandardVersion { get; set; } = 1;
|
||||
public string CorrectConceptId { get; set; } = "";
|
||||
public bool IsPublished { get; set; } = true;
|
||||
public string StemTemplate { get; set; } = "";
|
||||
public string LeadIn { get; set; } = "";
|
||||
@@ -31,6 +33,44 @@ public sealed class DynamicQuestionBlueprint
|
||||
public string UsmlePearl { get; set; } = "";
|
||||
public List<QuestionReference> References { get; set; } = [];
|
||||
public List<string> Tags { get; set; } = [];
|
||||
public List<DynamicReviewFollowupTemplate> ReviewFollowups { get; set; } = [];
|
||||
public Dictionary<string, DynamicWrongAnswerFollowupTemplate> WrongAnswerFollowups { get; set; } = [];
|
||||
public List<DynamicCaseFamily> CaseFamilies { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class DynamicCaseFamily
|
||||
{
|
||||
public string Id { get; set; } = "";
|
||||
public string StemTemplate { get; set; } = "";
|
||||
public string LeadIn { get; set; } = "";
|
||||
public Dictionary<string, DynamicVariableDefinition> Variables { get; set; } = [];
|
||||
public List<Dictionary<string, string>> ValueBundles { get; set; } = [];
|
||||
public Dictionary<string, DynamicDerivedDefinition> Derived { get; set; } = [];
|
||||
public List<DynamicConstraint> Constraints { get; set; } = [];
|
||||
public List<DynamicLabTemplate> Labs { get; set; } = [];
|
||||
public DynamicAnswerTemplate CorrectAnswer { get; set; } = new();
|
||||
public List<DynamicAnswerTemplate> Distractors { get; set; } = [];
|
||||
public string ExplanationTemplate { get; set; } = "";
|
||||
public string KeyTakeaway { get; set; } = "";
|
||||
public string UsmlePearl { get; set; } = "";
|
||||
public List<DynamicReviewFollowupTemplate> ReviewFollowups { get; set; } = [];
|
||||
public Dictionary<string, DynamicWrongAnswerFollowupTemplate> WrongAnswerFollowups { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class DynamicReviewFollowupTemplate
|
||||
{
|
||||
public string PromptTemplate { get; set; } = "";
|
||||
public List<DynamicAnswerTemplate> Choices { get; set; } = [];
|
||||
public string CorrectChoiceId { get; set; } = "";
|
||||
public string TeachingPointTemplate { get; set; } = "";
|
||||
}
|
||||
|
||||
public sealed class DynamicWrongAnswerFollowupTemplate
|
||||
{
|
||||
public string PromptTemplate { get; set; } = "";
|
||||
public List<DynamicAnswerTemplate> Choices { get; set; } = [];
|
||||
public string CorrectChoiceId { get; set; } = "";
|
||||
public string TeachingPointTemplate { get; set; } = "";
|
||||
}
|
||||
|
||||
public sealed class DynamicVariableDefinition
|
||||
@@ -82,6 +122,7 @@ public sealed class DynamicGenerationClaims
|
||||
public string Seed { get; set; } = "";
|
||||
public string Nonce { get; set; } = "";
|
||||
public int GeneratorVersion { get; set; } = 1;
|
||||
public string CaseFamilyId { get; set; } = "";
|
||||
public DateTime ExpiresUtc { get; set; }
|
||||
}
|
||||
|
||||
@@ -91,6 +132,7 @@ public sealed class DynamicRunClaims
|
||||
public List<string> SeenObjectiveIds { get; set; } = [];
|
||||
public string PreviousObjectiveId { get; set; } = "";
|
||||
public int Cycle { get; set; }
|
||||
public List<string> RecentCaseFamilyIds { get; set; } = [];
|
||||
public DateTime ExpiresUtc { get; set; }
|
||||
}
|
||||
|
||||
@@ -98,6 +140,7 @@ public sealed class DynamicGeneratedQuestion
|
||||
{
|
||||
public Question Question { get; set; } = new();
|
||||
public DynamicQuestionBlueprint Blueprint { get; set; } = new();
|
||||
public string CaseFamilyId { get; set; } = "";
|
||||
}
|
||||
|
||||
public sealed class DynamicQuestionEnvelope
|
||||
@@ -187,4 +230,5 @@ public sealed class DynamicGenerationDescriptor
|
||||
public int BlueprintVersion { get; set; }
|
||||
public int GeneratorVersion { get; set; }
|
||||
public string Seed { get; set; } = "";
|
||||
public string CaseFamilyId { get; set; } = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user