knub / onehundredandtwenty

Course Planning System for HPI masters
15 stars 19 forks source link

SSK Validation Bug #17

Closed virenerus closed 9 years ago

virenerus commented 9 years ago

There seems to be a bug in the SSK validation. I have an invalid plan of SSK courses that the algorithm validates:

Also the algorithm seems not to check if the combination of SSK is valid in regard to the maximum number of CP per SSK category.

knub commented 9 years ago

@120-team @jfrohnhofen @jw8tel: Can you investigate?

psieg commented 9 years ago

PR should fix the invalid validations. About the maximum: I'm not sure how the rules are there:

OR

Does someone know?

BTW: 120-team was a group account during development, it's dead these days. Mention me instead :)

knub commented 9 years ago

Merged the pull request. Can you check tomorrow, @virenerus?

I agree with @psieg, that having more than the allowed number of LP in one SSK module does not make an invalid plan. However, if for example I select more than 6 LP in SSK-KO, then that should not count towards the whole 12 LP necessary.

Regarding the interpretation of the rule: I think and hope that the latter interpretation is correct. Otherwise the whole rule could be simplified to "Just make 3 LP in every module". No one does more SSK courses than necessary :-). However, I just wrote to Studienreferat to clear up matters.

PS: I just mentioned every account I could find in the commit history ;). Will use psieg in the future.

knub commented 9 years ago

Answer, confirming my interpretation: "ein Modul hat die Größe 3 LP oder 6LP. Sie können die „weiteren“ 12LP erwerben, indem Sie z.Bsp. alle 4 „weiteren“ Module mit je 3LP befüllen... oder 2 Module mit jeweils 6LP befüllen – z.Bsp. SSK-Recht und SSK-Ko."