Initial commit: standalone quiz-testing system
Full-stack F# (Domain/Server/Client via Fable+Elmish+Feliz), PostgreSQL persistence via Dapper, Docker Compose deployment. Student quiz-taking flow with time-limit enforcement and focus-loss tracking, Teacher question bank and quiz builder with results analytics, Admin user management.
This commit is contained in:
15
src/Domain/Features/GetMyAttempts.fs
Normal file
15
src/Domain/Features/GetMyAttempts.fs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Domain.Contracts
|
||||
|
||||
open System
|
||||
open Domain
|
||||
|
||||
/// One of the student's own past attempts at a quiz — only graded attempts
|
||||
/// are ever returned (an abandoned in-progress attempt has nothing to show).
|
||||
type MyAttemptSummary =
|
||||
{ AttemptId: AttemptId
|
||||
StartedAt: DateTimeOffset
|
||||
Score: float
|
||||
MaxScore: float
|
||||
Passed: bool option }
|
||||
|
||||
type GetMyAttemptsRequest = { QuizId: QuizId }
|
||||
Reference in New Issue
Block a user