forge
Explore
Log in

Don't you dare go Hollow

🎖️ say when a grade credit is given back and when a lesson is held

Browse files at this commit

a7c8c8db7054af7ea5971c6a1ebab52e9a087f2cAhmet Kaan GümüşParent: 901238e
  • docs
    • 🎖️ say when a grade credit is given back and when a lesson is held
Show full message
docs: 🎖️ say when a grade credit is given back and when a lesson is held

The two counter rules changed under it: un-grading now refunds marks_given and
high_mark (a cascade still does not), and a lesson is held by the first roll
call taken at or after its own starts_at, not by the first roll call at all.
Both the badge section and the roll-call paragraph said otherwise.
README.mdmodified+20 -11
@@ -1311,6 +1311,10 @@ catalog — awards carrying it stop being served, no migration.
13111311 they record a grade for a given exam sitting or homework submission — exam
13121312 and homework alike, since grading is grading. A regrade of the same pair moves
13131313 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.
13141318 - **High marks.** `+1 high_mark_total` for the **student** whenever an exam
13151319 mark lands at or above `badges.high_mark_min` (90, published at `/limits`),
13161320 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.
13181322 status-only, so counting them would reward a teacher's habit rather than a
13191323 student's work. The cut is compiled in rather than read from the school's
13201324 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.
13221327 - **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
1324- lesson whose roll call was taken", not "a lesson on the timetable" —
1325- scheduling two hundred lessons and cancelling them all earns nothing. The
1326- thirtieth student marked in that lesson credits nothing further (a stamp on
1327- the session row is the guard), and taking one student back off the roll does
1328- not un-hold the lesson.
1328+ per lesson, credited by the **first roll call taken at or after the lesson's
1329+ own `starts_at`**. It means "a lesson whose roll call was taken", not "a
1330+ lesson on the timetable" — scheduling two hundred lessons and cancelling them
1331+ all earns nothing, and neither does marking two hundred lessons that have not
1332+ started yet. Roll call itself is never refused early; it simply holds nothing
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.
13291337 - **Lessons attended.** `+1 lessons_attended_total` for a **student** marked
13301338 `present` or `late` at lesson roll call — the same cut the attendance report's
13311339 `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
26202628 session (or its course) cascades its roll-call rows.
26212629
26222630 **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`,
2624-once — a lesson counts as held when its roll call is taken, so one merely
2625-scheduled (and then cancelled) counts for nothing, and the marks after that
2626-first one credit nothing further. And a **student** marked `present` or `late`
2631+**first** mark taken for a lesson **at or after its `starts_at`** credits its
2632+teacher's `lessons_held_total`, once — a lesson counts as held when its roll
2633+call is taken during it, so one merely scheduled (and then cancelled) counts
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`
26272636 gains a `lessons_attended_total`, using the same cut the attendance `rate`
26282637 below uses; correcting that mark to any other status, or clearing the row, gives
26292638 it back. The session teacher's own presence row moves neither counter — the