This commit is contained in:
2026-05-25 14:02:56 +02:00
parent 29bd42e52e
commit 758b152a0c
1798 changed files with 1991205 additions and 481068 deletions
@@ -0,0 +1,76 @@
# QuizResult
- File ID: file:1wyr0y8:quizresult-cs
- Path: NexusReader.Domain/Entities/QuizResult.cs
- Role: entity
- Layer: domain
## Purpose
Domain entity that models and persists the result of an AI-generated quiz taken by a user, including score, totals, tenant scoping and completion timestamp.
## Key Details
Entity includes attribute metadata for EF (Key, Required, ForeignKey, MaxLength), default initializers (Guid.NewGuid, DateTime.UtcNow), and a computed Percentage property which guards against division by zero.
## Symbols
- QuizResult: Domain entity that models and persists the result of an AI-generated quiz taken by a user, including score, totals, tenant scoping and completion timestamp.
- .ctor (implicit): Implicit object initializer that sets default values for several properties when a QuizResult is created.
- Percentage (getter): Computes the score percentage of correct answers; guards against division by zero.
- QuizResult: Represents a persisted quiz attempt by a user, including score details, topic and tenant context.
## Dependencies
- No resolved dependencies.
## Calls
- No resolved calls.
## Coverage
- Symbols: 4
- Executable symbols: 2
- Executable symbols with control flow: 2
- Grounded edges: 4
- Unresolved references: 0
- Control-flow fragments: 2
- Unresolved jumps: 0
- Unsupported constructs: 0
- Control-flow coverage: 100%
- Required diagrams: 2
- Generated diagrams: 2
## Control Flow Fragments
- .ctor (implicit): 7 nodes, 6 edges, 0 jumps, 0 unsupported constructs
- Percentage (getter): 6 nodes, 6 edges, 0 jumps, 0 unsupported constructs
## Diagrams
### QuizResult Neighborhood
```mermaid
flowchart LR
class_xbp5rm_quizresult("QuizResult")
file_1wyr0y8_quizresult_cs("QuizResult")
method_160zwvx_ctor_implicit[[".ctor (implicit)"]]
method_ml3mse_percentage_getter[["Percentage (getter)"]]
type_1j77tf7_quizresult[/"QuizResult"/]
```
### QuizResult Execution Overview
```mermaid
flowchart TD
class_xbp5rm_quizresult("QuizResult")
method_160zwvx_ctor_implicit[[".ctor (implicit)"]]
method_ml3mse_percentage_getter[["Percentage (getter)"]]
class_xbp5rm_quizresult -->|contains| method_160zwvx_ctor_implicit
class_xbp5rm_quizresult -->|contains| method_ml3mse_percentage_getter
```
## Diagram Validation
- Status: pass