Welcome to the administration part of AdvLabDB.
Disclaimer: The database design behind AdvLabDB with its tables is not trivial. But it should be very efficient after understanding it because it follows database design patterns to avoids duplications.
Some tables like Part Student and Group Experiment are not intuitive at the first moment. The table Part Student for example can be confused with the table Student. Therefore, please read this documentation to understand all terms and relationships and familiarize yourself with this web interface.
In the first section, menu items are explained. You can find some "How-To"s in the second chapter.
In this section, you will find explanations to each menu item on the upper navigation bar.
This is your home page. Here, you find a table with the number of missing experiment marks for every assistant in your active semester. Assistants without missing experiment marks are not showed in the table.
In this dropdown menu, you can find all tables of the database that you can administrate.
This table contains all students in the database, not only those in your active semester.
You can use the search bar at the top to search for a student by name or email address
The table shows the part students of a student.
You only have to create a student record in this table if the student is not in the database yet.
This table shows all part student in your active semester.
A part student is a student that is doing a part ("BS1"/"Bachelor of Science 1" for example).
Lets say the student Max is doing his second lab practicum in his bachelor of science program (part 2 in BS). Max would have only one record in the table Student anyway. Lets call the part of the first practicum "BS1" and that of the second practicum "BS2". He should have a Part Student record with the part "BS1", but he needs a second record for the part "BS2" now. Therefore, you would create a new Part Student record that refers to the Student record and part "BS2".
You can put Max in an existing group or create one containing him later. The group has to be compatible with the part!
The table also shows the experiment marks of the student in this part.
Every part student has a final part mark shown in this table. The final part mark is calculated as explained in Semester Experiment. Normally, this final part mark is the one relevant for the transcript of records of students.
This table shows all groups in your active semester.
A group contains multiple part students that do group experiments together.
This table shows all group experiments in your active semester.
A group experiment is a semester experiment that is done by a group.
This table also shows the related experiment marks of the part students in the related group.
The column "Experiment Marks Missing" is automatically set to true if all related experiment marks are set by the assistant(s) of the related semester experiment.
After creating a group experiment, an experiment mark is created for every part student in the related group. But an experiment mark can be created manually if needed.
This table shows all appointments in your active semester.
You can create an appointment for a group experiment by specifying a date which can be changed by the assistant(s) of the related semester experiment after communicating with the students. The date is only a first proposal.
A "special" appointment means that the students prefer the appointment to be in the non-lecture period of the semester. This is not enforced internally.
If the related semester experiment only has one assistant, then this assistant is assigned automatically during creation. Otherwise, you have to assign one responsible assistant.
This table shows all experiment marks in your active semester.
An experiment mark is assigned to a part student for one group experiment. Although students work in groups, they get individual marks, not group marks.
After creating a group experiment, an experiment mark is created for every part student in the related group. But an experiment mark can be created manually if needed.
Experiment marks consist of oral and protocol marks and are assigned by the responsible assistant(s). But admins can change marks, too. The columns "Assistant" and "Admin" keep track of the last assistant or admin that changed the experiment mark.
The column "Final Experiment Mark" shows the automatically calculated student's final mark for this experiment. This mark is calculated with respect to the weights of the related semester experiment.
This table shows all experiments, not only in your active semester.
Experiments that are marked as "active" will be present in new semesters. Make sure to active/deactivate experiments before creating a new semester.
This table shows the semester experiments in your active semester.
A semester experiment is an experiment that takes place in a specific semester.
Assistants and mark weightings are assigned to these semester experiments. These assignments are transfered to the next semester if the related experiment was active before creating the new semester.
Mark weightings consist of oral, protocol and final weightings.
The oral weighting and protocol weightings are between 0 and 1 and have to add up to 1. By default, these weightings should both be 0.5, but you can for example have an oral weighting of 0.25 and a protocol weighting of 0.75.
The final weighting has to be a value between 0 and 1. By default, its value should be 1. But you can choose a value lower than 1 in case an experiment is easier than others.
The final part mark for a student is calculated by summing the following experession over i
and then dividing through the sum of f_i
:
f_i * (ow_i * o_i + pw_i * p_i)
i
is the index of a semester experiment.
The sum over i
is done only over the semester experiments that a student has in that part.
f_i
is the final part mark for the semester experiment i
.
ow_i
is the oral weighting.
o_i
is the oral mark.
pw_i
is the protocol weighting.
p_i
is the protocol mark.
The result after the division is rounded to an integer using the "round half up" strategy.
This means that x.5
is always rounded up to x+1
.
Values between x.5
and x+1
(closed interval) are rounded up to x+1
.
Values higher than x
and lower than x.5
are rounded down to x
.
In case you change the weightings during a semester (some marks are already set), all part and experiment marks will be automatically updated.
This table shows all semesters.
Before creating a new semester, make sure to read all notes in the form that shows up after pressing the "Create" button.
You can and should set a semester as "done" by clicking on the edit button near that semester, then clicking the "done" checkbox and then "Save".
Setting a semester as done prevents assistants from changing or even seeing marks in this semester. Setting a semester as done sets older semesters as done, too. Only set a semester as done if all marks in that semester and all previous semesters are already set.
This table shows the parts in your active semester.
A part consists of a program, a semester and a number. For example, if students in the bachelor of science program (BS) must absolve two lab courses, then you would have the parts BS1 and BS2. But maybe the university only offers part BS2 every second semester. Therefore, a part is coupled to a semester.
This table shows all assistants.
To deactivate an assistant, you have to deactivate their user account.
You can assign semester experiments to assistants either in this table or in the semester experiments table.
This is a read only table that shows current admins.
This table shows all users.
A user can have either an admin or assistant role (or both).
Make sure to deactivate users if they don't require access to the database anymore. Deactivated users can't login anymore.
Further details can be read under User settings.
This table shows all programs.
A program is a university program. You can for example have the programs BS for bachelor of science, BE for bachelor of education, MS for master of science and so on. It is recommended to choose short labels for programs.
Allows you to import data for your active semester from a file. Visit the importing page for more information.
Run one or multiple actions like creating a database backup. The available actions should be explained on the page.
Run an analysis and plot the results. More information on the page itself.
This is a link which leads you to this page.
In the user settings, You can change your active semester, user information and password. Don't forget to click on Save after changing any option.
An active semester is the semester you are working in. All shown experiment marks and appointments are in your active semester. By default as a new assistant, your active semester should be the latest semester.
If you see a warning that you are in an old semester, then you should change your active semester in the user settings. You should only work in an old semester if there are still experiment marks to be set in the old semester.
Make sure that the fields Phone Number, Mobile Phone Number, Building and Room are filled and up to date, especially if you are a new assistant.
You can generate a new random password by checking the corresponding checkbox and then clicking on Save. You will be then logged out. Your new password is displayed above the login fields. Make sure that you save the password in a safe place. Using a free open source password manager like Bitwarden or KeepassXC is recommended.
If you forget your password, you can reset it using the CLI on the server.
Here is a list of tables that one has to visit when creating a new semester:
You can create a record in almost all tables. To do so, click on the "Create" button at the top of a table. Then, fill the form and click on the "Save" button. Required fields are marks with a red star near their label.
You can edit records of almost all tables. To do so, click on the pen symbol on the left of a record. Then, fill the form and click on the "Save" button. Required fields are marks with a red star near their label.
Almost all tables have an eye symbol near a record which shows details for that record. Some fields in this view are not shown in the table itself for horizontal space reasons.
Almost all tables have a trash can symbol near records to delete them. Deleting a record is not recommended and often not possible because of database dependencies. If you really want to delete a record, then try to delete it by clicking on the trash can symbol. If you get any errors related to some dependency, then delete dependent records when you are sure about it and then try to delete the record again.
If a record in a table contains records of other tables, then these records are highlighted as a link. Clicking on a record link takes you to its details. You can edit this record then by clicking on the edit button at the top if needed.
You can sort a table by a column by clicking on the column label if it is highlighted as a link. Clicking on the column label again sorts in descending order.
Some tables have filters. Those table have a "Add Filter" button at the top which allows you to choose a filter to apply.
You can apply multiple filters at once!
Most tables can be exported. Those tables have an "Export button" at the top which exports the table as a CSV file.
Exporting a table respects the applied filters.