42 Commits

Author SHA1 Message Date
0a379721a1 Add AuthenticationToken to UserMailer.exercise_anomaly_needs_feedback 2024-05-21 20:10:00 +02:00
e1d87b51e9 Fix AnomalyDetection broken after recent changes 2024-05-21 20:10:00 +02:00
9d1be1eeff Migrate AnomalyNotification to contributor
* Also, this commit aims to fix the (broken) anomaly notifications.
2023-08-24 19:32:06 +02:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
6927b57170 Update Study Group Dashboard and Statistics 2022-08-20 00:05:02 +02:00
74e285e9fd Fix rubocop offenses 2021-10-05 12:09:56 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
ed83e8ea52 Fix some rubocop offenses 2021-04-07 14:06:33 +02:00
9485c15c57 Fix exercise anomaly detection
* The SQL query and mail template was erroneous
* Including the `url_helpers` influenced the specs due different url helpers within the specs. Test by executing `rspec './spec/db/seeds_spec.rb[1:1:1]' './spec/features/request_for_comments_filter_spec.rb[1:1]' -f progress --fail-fast --seed 55564`
2021-04-07 14:06:33 +02:00
ba4e09e2d7 Rename STDOUT to $stdout in Rake task 2021-02-11 14:33:00 +01:00
ba4ea54e4f Add comment about cause for randomly failing specs 2019-12-13 15:37:21 +01:00
5827749b80 Merge remote-tracking branch 'origin/master' into fix/exercise-anomaly-detection-nil-values 2018-07-25 13:41:20 +02:00
c71afc55c9 Fix nil value error 2018-07-25 13:41:00 +02:00
0ed5ed6096 Merge pull request #188 from openHPI/feature/ordered_exercise_collection
Ordered exercise collections
2018-07-20 13:41:05 +02:00
97fe900f52 Sort exercises in anomaly detection task according to position in exercise collection 2018-07-20 11:02:41 +02:00
ed11004c2b Refactor exercise anomaly detection task 2018-07-20 10:58:35 +02:00
815d700481 Reject nil values in working times 2018-07-13 09:43:06 +02:00
5edd5be70d Merge branch 'fix/exercise-anomaly-detection-nil-values' into feature/ordered_exercise_collection 2018-07-10 12:52:43 +02:00
36cbbb7053 Fix calculation of average 2018-07-10 12:52:21 +02:00
1f8b505d47 Merge branch 'fix/exercise-anomaly-detection-nil-values' into feature/ordered_exercise_collection 2018-07-10 12:46:27 +02:00
71a78a2dfa Fix average working time for nil values and empty filtered collections 2018-07-10 12:43:13 +02:00
b4927cdecb Update exercise anomaly detection to work on new schema 2018-07-10 12:27:19 +02:00
6c5cd8d1ee Use TimeHelper in rake task 2018-03-19 14:38:39 +01:00
73929512c6 Only ask for feedback from fast users if they achieved an above-average score 2018-02-26 19:54:11 +01:00
0ba94574b5 Use correct link for feedback emails 2018-02-26 19:33:34 +01:00
30fd465780 Send emails 2018-02-26 17:55:18 +01:00
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +01:00
cce6b5532d Refactor and prepare sending e-mails 2018-02-26 14:12:16 +01:00
4c97faeec9 Find best and worst performers w.r.t. working time 2018-02-20 21:25:15 +01:00
06928340c9 Extract last submission per user to Exercise model 2018-02-04 16:27:11 +01:00
08f16447f3 Cache working time query results 2018-02-04 15:41:40 +01:00
509335a1af Refactor anomaly detection task 2018-02-04 15:14:07 +01:00
ae7a065bd9 Lookup best and worst performers 2018-01-31 15:23:29 +01:00
d5f123ad7d Improve task output 2018-01-31 14:33:42 +01:00
21c1089be7 Check if user exists 2017-12-20 10:27:42 +01:00
9d3e232b4d Only send mail if there are anomalies detected 2017-12-13 08:02:46 +01:00
041f080191 Reset anomaly flag after sending emails 2017-12-10 19:25:05 +01:00
351f553c60 Send email to user associated with exercise collection when anomalies are detected 2017-12-10 18:36:24 +01:00
00141830cc Count users instead of submissions 2017-12-06 11:55:40 +01:00
8b5a05ba06 Detect exercises with too high or too low working time average 2017-11-22 17:40:14 +01:00