🎖️ say when a grade credit is given back and when a lesson is held
Browse files at this commita7c8c8db7054af7ea5971c6a1ebab52e9a087f2cParent: 901238e- docs
- 🎖️ say when a grade credit is given back and when a lesson is held
1 changed file +20 -11
- README.md +20 -11
README.mdmodified+20 -11
| @@ -1311,6 +1311,10 @@ catalog — awards carrying it stop being served, no migration. | |||
| 1311 | they record a grade for a given exam sitting or homework submission — exam | 1311 | they record a grade for a given exam sitting or homework submission — exam |
| 1312 | and homework alike, since grading is grading. A regrade of the same pair moves | 1312 | and homework alike, since grading is grading. A regrade of the same pair moves |
| 1313 | nothing: the counter counts work judged, not times the mark was edited. | 1313 | nothing: the counter counts work judged, not times the mark was edited. |
| 1314 | + **Deleting the grade gives it back** — the grader who deletes is the grader | ||
| 1315 | + who was credited, so without the refund grade → un-grade → regrade would count | ||
| 1316 | + the same work twice, then fifty times. Deleting the *exam* (or homework, or | ||
| 1317 | + course) does not: a cascade is not an un-grade. | ||
| 1314 | - **High marks.** `+1 high_mark_total` for the **student** whenever an exam | 1318 | - **High marks.** `+1 high_mark_total` for the **student** whenever an exam |
| 1315 | mark lands at or above `badges.high_mark_min` (90, published at `/limits`), | 1319 | mark lands at or above `badges.high_mark_min` (90, published at `/limits`), |
| 1316 | once per sitting — a retake is another sitting and can earn another. Homework | 1320 | once per sitting — a retake is another sitting and can earn another. Homework |
| @@ -1318,14 +1322,18 @@ catalog — awards carrying it stop being served, no migration. | |||
| 1318 | status-only, so counting them would reward a teacher's habit rather than a | 1322 | status-only, so counting them would reward a teacher's habit rather than a |
| 1319 | student's work. The cut is compiled in rather than read from the school's | 1323 | student's work. The cut is compiled in rather than read from the school's |
| 1320 | grade bands, which are renameable display labels — `high_mark_10` has to mean | 1324 | grade bands, which are renameable display labels — `high_mark_10` has to mean |
| 1321 | - the same thing in every school, forever. | 1325 | + the same thing in every school, forever. Deleting the mark gives it back, on |
| 1326 | + the same terms as the grader's counter above. | ||
| 1322 | - **Lessons held.** `+1 lessons_held_total` for the **session's teacher**, once | 1327 | - **Lessons held.** `+1 lessons_held_total` for the **session's teacher**, once |
| 1323 | - per lesson, credited by the **first roll call taken for it**. It means "a | 1328 | + per lesson, credited by the **first roll call taken at or after the lesson's |
| 1324 | - lesson whose roll call was taken", not "a lesson on the timetable" — | 1329 | + own `starts_at`**. It means "a lesson whose roll call was taken", not "a |
| 1325 | - scheduling two hundred lessons and cancelling them all earns nothing. The | 1330 | + lesson on the timetable" — scheduling two hundred lessons and cancelling them |
| 1326 | - thirtieth student marked in that lesson credits nothing further (a stamp on | 1331 | + all earns nothing, and neither does marking two hundred lessons that have not |
| 1327 | - the session row is the guard), and taking one student back off the roll does | 1332 | + started yet. Roll call itself is never refused early; it simply holds nothing |
| 1328 | - not un-hold the lesson. | 1333 | + until the lesson's time comes, and the sheet touched again after the bell |
| 1334 | + credits then, once. The thirtieth student marked in that lesson credits | ||
| 1335 | + nothing further (a stamp on the session row is the guard), and taking one | ||
| 1336 | + student back off the roll does not un-hold the lesson. | ||
| 1329 | - **Lessons attended.** `+1 lessons_attended_total` for a **student** marked | 1337 | - **Lessons attended.** `+1 lessons_attended_total` for a **student** marked |
| 1330 | `present` or `late` at lesson roll call — the same cut the attendance report's | 1338 | `present` or `late` at lesson roll call — the same cut the attendance report's |
| 1331 | `rate` uses, so a student's badge and their attendance rate never disagree | 1339 | `rate` uses, so a student's badge and their attendance rate never disagree |
| @@ -2620,10 +2628,11 @@ Re-marking overwrites: one row per session+user, by construction. Deleting a | |||
| 2620 | session (or its course) cascades its roll-call rows. | 2628 | session (or its course) cascades its roll-call rows. |
| 2621 | 2629 | ||
| 2622 | **Roll call is also what credits two badge counters** (see "Badges"). The | 2630 | **Roll call is also what credits two badge counters** (see "Badges"). The |
| 2623 | -**first** mark taken for a lesson credits its teacher's `lessons_held_total`, | 2631 | +**first** mark taken for a lesson **at or after its `starts_at`** credits its |
| 2624 | -once — a lesson counts as held when its roll call is taken, so one merely | 2632 | +teacher's `lessons_held_total`, once — a lesson counts as held when its roll |
| 2625 | -scheduled (and then cancelled) counts for nothing, and the marks after that | 2633 | +call is taken during it, so one merely scheduled (and then cancelled) counts |
| 2626 | -first one credit nothing further. And a **student** marked `present` or `late` | 2634 | +for nothing, marking a lesson a week early counts for nothing *yet*, and the |
| 2635 | +marks after that first credited one count for nothing further. And a **student** marked `present` or `late` | ||
| 2627 | gains a `lessons_attended_total`, using the same cut the attendance `rate` | 2636 | gains a `lessons_attended_total`, using the same cut the attendance `rate` |
| 2628 | below uses; correcting that mark to any other status, or clearing the row, gives | 2637 | below uses; correcting that mark to any other status, or clearing the row, gives |
| 2629 | it back. The session teacher's own presence row moves neither counter — the | 2638 | it back. The session teacher's own presence row moves neither counter — the |