{
  "version": 1,
  "fileId": "file:yno7se:knowledgecheck-razor",
  "fingerprint": "1ktnlem",
  "path": "NexusReader.UI.Shared/Components/Molecules/KnowledgeCheck.razor",
  "absolutePath": "c:/Users/micht/source/repos/Nexus.Reader/src/NexusReader.UI.Shared/Components/Molecules/KnowledgeCheck.razor",
  "shortLabel": "KnowledgeCheck",
  "longLabel": "NexusReader.UI.Shared/Components/Molecules/KnowledgeCheck.razor",
  "purpose": "Blazor UI component that renders a knowledge-check quiz, manages local answer state, reacts to quiz service updates, and submits answers via MediatR with haptic feedback via a platform service.",
  "classification": {
    "role": "ui-component",
    "layer": "frontend",
    "confidence": 0.9,
    "evidence": [
      "Middleware pattern",
      "Frontend path heuristic",
      "Razor markup with @inject directives (lines 1-7)",
      "Component lifecycle methods OnInitialized/Dispose and StateHasChanged usage (lines 56-66, 61, 85)",
      "UI rendering of questions/options and local state dictionary (lines 9-48, 54)"
    ]
  },
  "domainConcepts": [
    "Quiz",
    "QuizQuestionDto",
    "Answer / submission"
  ],
  "patterns": [
    "Event subscription (QuizService.OnQuizUpdated)",
    "CQRS command dispatch (SubmitAnswerCommand via IMediator)",
    "Stateful UI component local state"
  ],
  "keyDetails": "Component maintains a local dictionary mapping QuizQuestionDto -> (SelectedIndex, IsCorrect), subscribes/unsubscribes to quiz updates, uses MediatR to send SubmitAnswerCommand, and uses IPlatformService for haptic feedback on interactions.",
  "coverage": {
    "symbolCount": 7,
    "executableSymbolCount": 7,
    "executableSymbolsWithControlFlowCount": 7,
    "groundedEdgeCount": 7,
    "unresolvedReferenceCount": 14,
    "controlFlowFragmentCount": 7,
    "unresolvedJumpCount": 8,
    "unsupportedConstructCount": 0,
    "controlFlowCoverage": 1,
    "requiredDiagramCount": 2,
    "generatedDiagramCount": 8,
    "missingRequiredDiagramCount": 0
  }
}