Surface absent flag in tag, intro, route table
Browse files at this commita0f200e958702d00a174ad59cb760a1b615f18fdParent: 0944861- docs
- surface absent flag in tag, intro, route table
2 changed files +4 -4
- README.md +3 -3
- src/lib.rs +1 -1
README.mdmodified+3 -3
| @@ -13,8 +13,8 @@ time budget), or **open** (sit anytime, optionally timed per attempt); | ||
| 13 | 13 | students *sit* them via attempts — retakes metered by a per-exam limit |
| 14 | 14 | (`0` = unlimited), leaving the exam room governed by a teacher-controlled |
| 15 | 15 | rejoin door — and teachers watch attendance, per-student remaining time, |
| 16 | -sittings, walk-outs, submissions, and marks land live on a monitor endpoint | |
| 17 | -(snapshot or SSE stream). Courses also carry **lesson | |
| 16 | +sittings, walk-outs, no-shows (`absent` once the window closes), submissions, | |
| 17 | +and marks land live on a monitor endpoint (snapshot or SSE stream). Courses also carry **lesson | |
| 18 | 18 | sessions** with teacher-taken roll call (students never self-mark a lesson), |
| 19 | 19 | staff clock in/out on a server-stamped **work log**, and every user has an |
| 20 | 20 | **attendance report** (event + per-course lesson tallies with rates). |
| @@ -294,7 +294,7 @@ marks/attendance reports narrow to the courses the caller manages. | ||
| 294 | 294 | | POST | `/exams/{id}/attempt/answers` | student | `{question_id, selected? \| text?}` — autosave one answer while enrolled and `in_progress` (and not locked out by a closed rejoin door) | |
| 295 | 295 | | GET | `/exams/{id}/attempts/{user}/answers` | teacher | A student's answer sheet: `is_correct` flags + suggested `auto_score` (course manager) | |
| 296 | 296 | | GET | `/exams/{id}/attempt/ws` | student | **WebSocket** exam room: state ticks, autosave, finish; entering clears `left_at`, leaving stamps it (see "Taking an exam") | |
| 297 | -| GET | `/exams/{id}/live` | teacher | Live monitor snapshot: roster × latest attempts × marks + per-student progress/`left_at`/`attempts_used` + counts (course manager) | | |
| 297 | +| GET | `/exams/{id}/live` | teacher | Live monitor snapshot: roster × latest attempts × marks + per-student progress/`left_at`/`attempts_used` + counts; no-shows turn `absent` once the window closes (course manager) | | |
| 298 | 298 | | GET | `/exams/{id}/live/stream` | teacher | The same snapshot as SSE `snapshot` events every ~2s (course manager) | |
| 299 | 299 | | GET | `/marks/me` | student | The caller's mark report (per-course + overall averages) | |
| 300 | 300 | | GET | `/marks/{user}` | teacher | A user's mark report, narrowed to the caller's courses (manager+: full) | |
src/lib.rsmodified+1 -1
| @@ -45,7 +45,7 @@ use crate::state::AppState; | ||
| 45 | 45 | (name = "sessions", description = "Lesson sessions and their roll call (session teacher or course manager marks enrolled students; manager+ marks the teacher)"), |
| 46 | 46 | (name = "work", description = "Staff work log: check-in/check-out stamped by the server clock, manager corrections"), |
| 47 | 47 | (name = "attendance", description = "Attendance summary reports: event tallies + per-course lesson roll call with rates"), |
| 48 | - (name = "exams", description = "Exams (per course, weighted): results, sync/async/open scheduling, attempts with retakes (`max_attempts`, 0 = unlimited) and a live rejoin door (`allow_rejoin`), questions/answers, and live monitoring. A modeless exam is an offline-graded draft — attempts on it are a 409. Not in this spec (WebSocket): the student exam room at `GET /exams/{id}/attempt/ws` — JSON frames; entering clears the attempt's `left_at`, leaving mid-attempt stamps it. See the README's \"Taking an exam\" section for the protocol"), | |
| 48 | + (name = "exams", description = "Exams (per course, weighted): results, sync/async/open scheduling, attempts with retakes (`max_attempts`, 0 = unlimited) and a live rejoin door (`allow_rejoin`), questions/answers, and live monitoring (no-shows flagged `absent` once the window closes). A modeless exam is an offline-graded draft — attempts on it are a 409. Not in this spec (WebSocket): the student exam room at `GET /exams/{id}/attempt/ws` — JSON frames; entering clears the attempt's `left_at`, leaving mid-attempt stamps it. See the README's \"Taking an exam\" section for the protocol"), | |
| 49 | 49 | (name = "marks", description = "Weighted mark reports per course and overall, labeled by the school's grade bands when configured"), |
| 50 | 50 | (name = "settings", description = "School policy, one singleton: exam kinds, attendance statuses, grade-display bands. Read: any authenticated user; edit: manager+"), |
| 51 | 51 | (name = "terms", description = "Academic terms (semester/trimester/quarter — whatever the school runs); courses may link to one. Read: any authenticated user; edit: manager+"), |