aboutsummaryrefslogtreecommitdiff
path: root/cockpit/doc
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-05-28 15:20:46 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-05-28 15:20:46 +0200
commitf9a9fa15d6d61eb9730183193ce8af29bdfc17e7 (patch)
treec3b96a36623e52f22d281b518d7136795cf82b8a /cockpit/doc
downloadbycs-sol-f9a9fa15d6d61eb9730183193ce8af29bdfc17e7.tar.gz
bycs-sol-f9a9fa15d6d61eb9730183193ce8af29bdfc17e7.zip
cockpit: initial commit
Diffstat (limited to 'cockpit/doc')
-rw-r--r--cockpit/doc/graduation.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/cockpit/doc/graduation.md b/cockpit/doc/graduation.md
new file mode 100644
index 0000000..5eaaa31
--- /dev/null
+++ b/cockpit/doc/graduation.md
@@ -0,0 +1,59 @@
+# Graduation
+
+## Table
+
+The graduation table tracks all graduation changes for all students.
+A change can be submitted by any teacher.
+Changes are valid until subsequent change renders them obsolete.
+
+## Graduation Changes
+
+Graduation changes are unique and the systems ensures that no duplicates are entered.
+
+Changes can be active or archived.
+The state of a particular change is derived from subsequent changes.
+
+Currently multiple changes have to be retrieved to determine their state.
+This decision allows us to write data once and not modify changes in the future.
+The assumption is that a single person does not acquire that much changes, that this would be a performance issue.
+
+### Dataformat
+
+Note that the database is a Moodle database activity and thus does not allow access using SQL.
+The below scheme uses a SQL like syntax.
+
+```sql
+TABLE Change(
+ Id: INTEGER,
+ Firstname: STRING,
+ Lastname: STRING,
+ Group: STRING,
+ Change: STRING,
+ Description: TEXT,
+ Json: STRING,
+)
+```
+
+The author of the change and the time it is created is tracked by Moodle and also available vis the list view of the moodle database activity.
+
+### Changes
+
+Valid changes are:
+
+* `Grün` - sign for wanted behavior
+* `Orange` - sign for unwanted behavior
+* `Rot` - sign for unacceptable behavior
+* `Gespräch` - pedagogical meeting with the coach
+* `Änderung` - change in the student's privileges
+
+### Green Mark
+
+Green marks are collectables.
+
+### Orange Mark
+
+Orange marks highlight the need for a pedagogical session and are rendered archived by any subsequent `Gespräch` change.
+
+### Red Mark
+
+Red Marks track unacceptable behavior and are only archived by consequence explicitly doing so with a `Änderung` change.