Files
live-quiz/docs/decisions
kiskaadee 5f3295b948 docs(architecture): define draft preservation, recovery paths, and terminal export contracts in Issue 4
- Establish the response state triad (SUBMITTED, DRAFT, UNANSWERED) in attempt.json.
- Decouple interaction submission status from demonstrated cognitive attainment.
- Mandate valid lifecycle combinations: COMPLETED requires all SUBMITTED; CLOSED_EARLY and TIMED_OUT require at least one DRAFT or UNANSWERED.
- Enforce generalized server-side serialization with strictly absorbing terminal states.
- Commit final required response submission and transition to COMPLETED atomically.
- Delineate nonterminal recovery (live resume) from terminal export recovery (retry publication without reopening session).
- Define evaluator rules across response states: evaluate drafts without penalty; report no evidence for UNANSWERED without negative knowledge inference.
- Clarify that drafts require learner-generated modifications; untouched initial fields remain UNANSWERED.
2026-11-11 14:45:46 -05:00
..

Architecture Decision Records (ADRs)

This directory contains the Architectural Decision Records for the live-quiz assessment engine and its companion reference skills, following the Markdown Any Decision Record (MADR) format.

Decision Index

ADR ID Title Status Date
ADR-0001 Standalone Local Web Application Accepted 2026-11-10
ADR-0002 Harness-Agnostic Process Lifecycle Accepted 2026-11-10
ADR-0003 Static Code Challenges Without Runtime Execution Accepted 2026-11-10
ADR-0004 Physical Separation of Questionnaire and Rubric Accepted 2026-11-10
ADR-0005 Python/FastAPI Backend and Vite Plus (vp) Frontend Stack Accepted 2026-11-10
ADR-0006 Ephemeral SQLite Session Journal & Recovery Accepted 2026-11-10
ADR-0007 Atomic Versioned JSON Export Contract Accepted 2026-11-10
ADR-0008 Two-Product Repository Architecture Accepted 2026-11-10
ADR-0009 Modular, Portable Reference Skills Collection Accepted 2026-11-10

Template

New decisions should follow this structure:

# ADR-XXXX: [Short Title of Solved Problem]

- Status: [Proposed | Accepted | Superseded]
- Date: [YYYY-MM-DD]

## Context
[What is the context, constraints, and problem driving this decision?]

## Decision
[What architectural approach and invariants were chosen?]

## Alternatives Considered
- [Alternative 1 and why it was rejected]
- [Alternative 2 and why it was rejected]

## Consequences
- [Positive impacts and guarantees]
- [Negative trade-offs and operational costs]

## Related Decisions
- [Links to related ADRs]