Skip to main content

answer_question_with_learning

Function answer_question_with_learning 

Source
pub fn answer_question_with_learning(
    conn: &Connection,
    question_id: i64,
    answer: QuestionAnswer,
    context: &TeachingContext,
) -> Result<QuestionAnswerOutcome>
Expand description

Answer one pending identity question. Yes confirms the subject cluster as the target person and teaches one positive membership; No teaches one negative membership without labeling; Skip only changes delivery state. Every answer revalidates subject, target, active profile, and evidence revision inside the transaction. Drift supersedes the stale question and returns Conflict without writing a label or teaching event.