What publishing a result actually does

Publishing freezes a number for every student, locks the marks behind it and records who did it. Here is exactly what that button changes.

The last button in a term is called publish, and it is the only step in the exam module that turns a calculation into a record. Until it is pressed, a result is a preview: the marks are still editable, the GPA is computed again every time the screen is opened, and a report card printed from it is a draft.

What the button writes

  • One snapshot per student in scope: the total obtained, the total full marks, the percentage, the GPA, the letter grade, the pass or fail state, how many subjects failed, and the merit position in the section and in the class, as they stand at that moment.
  • The publication record itself: which exam or combined result it covers, which class, which session, who prepared it and who published it, and when.
  • A lock on every exam subject in scope, so a mark behind a published card cannot move without reopening the subject for a correction first.
  • The exams themselves move to their published state, which is what tells the rest of the system that this term is closed.

Why a snapshot and not a saved query

A result is arithmetic over marks that will change next term, next year and after a re-check. The snapshot is the answer the school published, kept as a document: a report card printed in December still prints what it said in December, even after a later correction to an earlier exam. The merit position is part of the same snapshot, so the order is never silently recomputed from data that moved.

A correction is a new version, not an edit

When a published result is wrong, the way through is a withdrawal or a re-publish, not an edit of the snapshot. A re-publish writes the snapshot set again from the current marks and records the next version on the same publication, with the person and the time attached. The exam subjects are reopened only for that purpose, so a correction leaves a trail instead of a quiet change to a number a guardian has already seen.

Two people, on purpose

Preparing a publication and publishing it are two different permissions held by two different people. A principal approves what the office prepared, and both names stay on the record. It is the same discipline the system uses for money: the person who prepares a document is not the one who signs it.