Commit Graph

57 Commits

Author SHA1 Message Date
493e69acd1 fix(database): Fix database structure, remove from table if requested
- Fixes the `is_retake` field on all tables
- Makes the `ExamResultGenerator` remove the enrollment from the table
if it is popped from its queue
- Added the option to submit a grade as retake
2025-10-08 20:04:13 +02:00
6ccbc95b15 fix(launch): Added parameter 2025-10-08 18:44:01 +02:00
161b5084fc fix(documentation): Update installation instructions 2025-10-08 18:39:16 +02:00
e42856ae4e feat(tests): Add integration tests 2025-10-08 17:52:21 +02:00
5e1df5367c Major feat(Documentation): Complete documentation rework
Split documentation into three folders: Architecture, Testing and
Installation.

Rework and expand architecture.md alongside interfaces.md

Split all parts to do with testing from Architecture md's into Test md's

Add parameter to ExamResultGenerator node documentation
2025-10-08 16:30:44 +02:00
130b495030 docs: Add unit tests
- DatabaseManager: Added unit test documentation
- ConfigManager: Added unit test documentation
- ExamResultGenerator: Added unit test documentation
- FinalGradeDeterminator: Fix spacing
2025-10-07 19:49:31 +02:00
62995c13c2 fix(exam_result_generator): Fix timestamp being 0 2025-10-07 18:59:13 +02:00
517d4f5cb0 Merge branch '1-grade-generator/documentation-updates' of https://git.wessel.gg/inholland/ros2-assignments into 1-grade-generator/documentation-updates 2025-10-07 15:51:16 +02:00
f1878270dc feat(readme): Add aditional content to the main readme 2025-10-07 15:50:59 +02:00
437c5bc16e feat(readme): Add aditional content to the main readme 2025-10-07 15:47:15 +02:00
6e1c0346b0 feat(launchfile): Add launchfile to project 2025-10-07 15:17:06 +02:00
2e02ccddc5 fix(documentation): Add parameter to documentation 2025-10-07 15:16:42 +02:00
fd07992eee fix(documentation): Add test documentation to GradeCalculator and FinalGradeDeterminator 2025-10-07 14:42:44 +02:00
e955280865 Merge pull request '[PR] Implement tests for GradeCalculator and FinalGradeDeterminator, add documentation for aformentioned nodes' (#4) from 1-grade-generator/cijfer-determinator-calculator into 1-grade-generator/master
Reviewed-on: http://git.wessel.gg/inholland/ros2-assignments/pulls/4
2025-10-07 10:07:10 +02:00
2ab1c1c31f fix(tests): fix formatting, syntax and struct positioning 2025-10-07 10:04:19 +02:00
b69dbda1a5 fix(FinalGradeDeterminator): Add mock class for DatabaseManger
The mock class is used to bypass the blocking error of the
FinalGradeDeterminator when no Database is present for testing purposes
2025-10-07 10:04:18 +02:00
447834dda7 fix(DatabaseManager): Make functions virtual for testing 2025-10-07 10:04:18 +02:00
d89f47833e fix(FinalGradeDeterminator): Make db_manager optional for testing 2025-10-07 10:04:17 +02:00
a325e19a41 feat(GradeCalc,GradeDeterm): Add documention 2025-10-07 10:04:17 +02:00
1e7c7cefe5 fix(gitignore): add .vscode folder 2025-10-07 10:04:16 +02:00
25e21a15fc feat(FinalGradeDeterminator): Add tests 2025-10-07 10:04:16 +02:00
887e99c909 feat(GradeCalculator): Add tests 2025-10-07 10:04:15 +02:00
f147a6e287 Merge pull request '[PR] Make the delay between random grades a parameter' (#5) from 1-grade-generator/exam_result_generator into 1-grade-generator/master
Reviewed-on: http://git.wessel.gg/inholland/ros2-assignments/pulls/5
Reviewed-by: Vincent Kompjoeteraar Winter <v.winter.03@gmail.com>
2025-10-05 18:34:05 +02:00
c1559bcd10 feat(exam_result_generator): Make delay between grades a parameter 2025-10-05 14:18:46 +02:00
3e35b6811a Merge pull request '[PR] Implement tests for Config, Database and ExamResultGenerator' (#3) from 1-grade-generator/exam_result_generator into 1-grade-generator/master
Reviewed-on: http://git.wessel.gg/inholland/ros2-assignments/pulls/3
2025-10-02 13:33:31 +02:00
14a50c0f03 feat(exam_result_generator): Add tests 2025-10-02 13:29:57 +02:00
fe8dc6ceba feat(Config,Database): Add tests 2025-10-02 13:17:41 +02:00
057968d5ac feat(StudentCourse): Add != operator for use in testing 2025-10-02 13:08:46 +02:00
6cfc8b3941 Merge pull request '[PR] Add nodes grade_calculator and final_grade_determinator' (#2) from 1-grade-generator/cijfer-determinator-calculator into 1-grade-generator/master
Reviewed-on: http://git.wessel.gg/inholland/ros2-assignments/pulls/2
Reviewed-by: Wessel T <contact@wessel.gg>
2025-10-02 11:50:28 +02:00
4e020f62fa fix(grade_calculator): Various PR fixes
- Removed `lowercase_` variable
- Cleaned up spacing
- Fixed line length
2025-10-02 10:14:03 +02:00
e517022fa3 fix(final_grade_determinator): Various PR fixes 2025-10-02 10:00:45 +02:00
a7a51337be fix(cleanup): remove unused param, fix formatting
remove unused parameter and fix formatting to be like the rest of the
project
2025-10-01 15:53:37 +02:00
1b0f04b8be fix(final_grade_determinator): implementation finished, added parameter
Added cross communication with database and grade calculator node.
Furthermore added grade_collection_amount parameter for customization
2025-10-01 15:19:17 +02:00
42aadfb0ce feat(grade_calculator) implement grade_calculator
Implemented working version of grade_calculator, can be tested using
service call
2025-10-01 11:47:36 +02:00
c0980819bc fix(FinalGradeDeterminator): build error fix, implement datamap
Implement datamap to catch incoming grades and store them by student
course and name
2025-10-01 11:07:10 +02:00
a372716660 feat(StudentCourse): Added grade datamap
Added datamap to studentcourse to store grades before processing
2025-10-01 10:31:27 +02:00
7850793165 fix(interfaces): add missing student name
Add missing string: student_name to the Exam message
2025-10-01 09:44:13 +02:00
Vincent W
f063cb9086 feat(final_grade_determinator): Add base
add basic files for start nodes final_grade_determinator and
grade_calculator
2025-10-01 09:02:34 +02:00
dfbba53739 Merge pull request '[PR] Implement ConfigManager, DatabaseManager and ExamResultGenerator node' (#1) from 1-grade-generator/exam_result_generator into 1-grade-generator/master
Reviewed-on: http://git.wessel.gg/inholland/ros2-assignments/pulls/1
Reviewed-by: Vincent Kompjoeteraar Winter <v.winter.03@gmail.com>
2025-09-25 13:42:01 +02:00
81d999fea4 fix(database,config): Use correct namespace 2025-09-25 13:05:40 +02:00
2f29d3539c docs: Add initial documentation 2025-09-25 13:04:49 +02:00
2089ea7c87 feat(database): Add query to fetch all grades 2025-09-25 11:58:34 +02:00
743611a889 feat: Add docker-compose 2025-09-25 11:58:23 +02:00
9c6b194b3a feat(database): Missing queries, rename lecture -> course 2025-09-25 11:51:46 +02:00
1cbb4d69b1 chore(interfaces): Make according to standard 2025-09-25 09:54:40 +02:00
04cd7afb7b fix(exam_result_generator): Keep generating grades unless told elsewise 2025-09-25 09:32:04 +02:00
13eb01bdf8 fix(exam_result_generator): Translate tentamen -> exam 2025-09-25 09:28:50 +02:00
d6ea47bdd7 fix(exam_result_generator): Not supposed to have bonus points 2025-09-25 09:27:27 +02:00
985edd83a3 feat(database,config): Move to be project-wide 2025-09-25 09:25:17 +02:00
e3028a23cd feat(exam_result_generator): Initial implementation 2025-09-23 18:43:55 +02:00