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.
1311 they record a grade for a given exam sitting or homework submission — exam1311 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 moves1312 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 exam1318 - **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. Homework1320 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 a1322 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's1323 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 mean1324 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**, once1327 - **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 "a1328+ 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. The1330+ lesson on the timetable" — scheduling two hundred lessons and cancelling them
1326- thirtieth student marked in that lesson credits nothing further (a stamp on1331+ 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 does1332+ 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** marked1337 - **Lessons attended.** `+1 lessons_attended_total` for a **student** marked
1330 `present` or `late` at lesson roll call — the same cut the attendance report's1338 `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 disagree1339 `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"). The2630 **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 merely2632+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 that2633+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, gives2637 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 — the2638 it back. The session teacher's own presence row moves neither counter — the