Commit Graph

52 Commits

Author SHA1 Message Date
Sebastian Serth
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01:00
Sebastian Serth
74e285e9fd Fix rubocop offenses 2021-10-05 12:09:56 +02:00
Sebastian Serth
e7cf4ef5db Apply automatic rubocop fixes 2021-06-25 14:41:49 +02:00
Sebastian Serth
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
Sebastian Serth
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
Sebastian Serth
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
Sebastian Serth
4cc9bc49fe Cap points_ratio for tags statistics at 1.0 2020-10-28 16:26:40 +01:00
Sebastian Serth
59257d17f2 Add user (ID and type) to proxy exercise
This is required for the existing policies to work
2018-12-06 00:31:45 +01:00
rteusner
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
Sebastian Serth
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
Ralf Teusner
400eef3118 move logging statement up to be sure that its result is not assigned to matching_exercise if an error might be thrown. 2018-08-15 15:43:37 +02:00
Ralf Teusner
d9d3dc42d4 remove all A/B testing code no longer in use. 2018-08-09 15:14:52 +02:00
Ralf Teusner
d971382b5b re-introduce exercise description exercise split 2018-07-18 09:34:25 +02:00
Maximilian Grundke
17789fdc3f Clean up 2018-07-03 12:42:10 +02:00
Ralf Teusner
08c7154708 removed duplicate logging statement 2017-11-01 10:14:03 +01:00
rteusner
dbd6db69b7 Merge pull request #136 from openHPI/fix-tests
Fix Tests
2017-11-01 10:10:04 +01:00
Maximilian Grundke
0bade2c2e7 Fix recommending too difficult questions if user has too low level 2017-10-25 14:05:10 +02:00
Maximilian Grundke
87f280089d Fix return value of logger being assigned to exercise 2017-10-25 12:07:16 +02:00
Thomas Hille
01aad0a4a6 fixed problem in ProxyExercise that caused: ActiveRecord::AssociationTypeMismatch (Exercise(#51937940) expected, got TrueClass(#7943420)): 2017-10-25 11:28:27 +02:00
Ralf Teusner
9ce29d211b Cleanup of Intervention and Bonus Exercise Experiments 2017-09-14 16:53:59 +02:00
Thomas Hille
b9fb743cf8 fix NaN exception if user attend spielweise 2017-04-12 13:24:56 +02:00
Thomas Hille
20c8a95a87 quickfix 2017-03-30 16:56:55 +02:00
Thomas Hille
ad29551bb4 added code to test bonus exercise with different descriptions. 2017-03-30 16:54:22 +02:00
Thomas Hille
e1f1134992 ignore dummy exercise in recommendation 2017-03-28 11:51:51 +02:00
Thomas Hille
d6a25b8496 do now assign dummy exercise to random group 2017-03-27 18:52:44 +02:00
Thomas Hille
ef5ebc3b69 splitted user in groups for assigning bonus exercises 2017-03-24 12:14:53 +01:00
Thomas Hille
26e93c4b23 changed puts methods in proxy_exercise.rb to Rails.logger.debug. also changed Rails.logger.info to Rails.logger.debug 2017-03-21 11:25:11 +01:00
Thomas Hille
4f5c936dd6 changed formulas for demising return 2017-03-21 10:31:45 +01:00
Thomas Hille
325c44c1fb added finishing return value in proxy exercise 2017-03-21 10:31:33 +01:00
Thomas Hille
7ef318713b added reason vor proxy exercise 2017-03-21 10:31:33 +01:00
Thomas Hille
bfc96328c4 added interventions back to code. added post method to be able to save interventions 2017-03-21 10:31:33 +01:00
Thomas Hille
b41a858762 changed way working times are returned. builtin protection if exercise is new 2017-03-21 10:31:32 +01:00
Thomas Hille
1f141f440a added fallback to recommendation if something went completely wrong 2017-03-21 10:31:32 +01:00
Thomas Hille
355e8af14b privatized methods in proxy_exercise 2017-03-21 10:31:32 +01:00
Thomas Hille
66a2d8c992 minor change 2017-03-21 10:31:32 +01:00
Thomas Hille
1eea3fab4c lots of renaming to _ names instead of camelCase 2017-03-21 10:31:32 +01:00
Thomas Hille
f63b9eeb3c added that users would only get exercises recommended which are max 1 level more difficult 2017-03-21 10:31:32 +01:00
Thomas Hille
1d75af51d2 quick fix 2017-03-21 10:31:32 +01:00
Thomas Hille
5bbc124097 improvement debug output 2017-03-21 10:31:32 +01:00
Thomas Hille
fe8b04fcfc more debugging infos 2017-03-21 10:31:32 +01:00
Thomas Hille
4796dd5c9d find solved exercises of users now by fetching submissions with cause assess or submit 2017-03-21 10:31:32 +01:00
Thomas Hille
0f67297e2c recommendation also now returns easiest exercise as recommendation if no tag matched could be found
findMatchingExercises only searched for assessed submissions to get processed exercises, fixed this to look at all submissions
2017-03-21 10:31:32 +01:00
Thomas Hille
9bef1d8bb2 recommendation also with lots of debugging messages looks promising 2017-03-21 10:31:32 +01:00
Thomas Hille
04c54549c5 zwischenstand 2017-03-21 10:31:32 +01:00
Thomas Hille
16a3bad453 renaming method 2017-03-21 10:31:32 +01:00
Thomas Hille
91e4680f85 minor fix 2017-03-21 10:31:32 +01:00
Thomas Hille
f5b96f06cf fixed typo 2017-03-21 10:31:32 +01:00
Thomas Hille
37774d8ed5 added debug, fixed bugs in knowledge algorithm. was working fine with Exercise 50 and user 1817 2017-03-21 10:31:32 +01:00
Thomas Hille
6acd5bb905 added quantile calculations per exercise, added scoring matrix usage 2017-03-21 10:31:32 +01:00
Thomas Hille
eadaf9fd1b added matrix and score/time calculations 2017-03-21 10:31:32 +01:00