Commit Graph

82 Commits

Author SHA1 Message Date
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
b2cb1bde39 Use postgres interval explicitly for all default occasions 2020-12-16 17:35:52 +01:00
2d2869765f Ensure Postgres always returns a duration 2020-12-14 19:57:11 +01:00
bc2e0d90c4 Use proper duration instead of seconds since midnight 2020-12-14 19:11:12 +01:00
304f0ad469 Add sentry logging for working_time_query 2020-12-14 13:17:12 +01:00
ad467fa58f Distinguish between intermediate and final feedback
* Also add more information to user_exercise_feedback
* Migrate existing feedback to enrich with submissions
2020-10-20 13:50:04 +02:00
ca9467bf3c Merge branch 'linter_toggle'
# Conflicts:
#	config/locales/de.yml
2020-10-15 18:33:19 +02:00
be3ec82bd4 Add new file role teacher_defined_linter 2020-10-15 00:43:57 +02:00
2e1c97d87d Add database support and model for tips 2020-10-14 14:34:25 +02:00
914eeb6035 Add submission deadline to exercises and allow teachers to view their submissions 2020-05-07 21:23:27 +02:00
c89ee6c102 model and policy specs 2019-12-07 13:11:48 +01:00
4a77536c5f merge master 2019-12-03 17:55:58 +01:00
9dfe6b4529 Add score and working time to feedback page 2019-11-29 15:01:04 +01:00
87798212ad add unpublished to views 2019-10-11 16:28:50 +02:00
27ef0d45dd add unpublished validation 2019-10-08 18:44:45 +02:00
6a296cbe65 fix exercise_file duplication bug 2019-10-07 18:50:07 +02:00
2af93ea308 implement file import 2019-08-21 18:27:42 +02:00
017644c4a5 implementation of import wip 2019-08-20 18:37:17 +02:00
8c56dec038 Prevent Zero-Division Exception 2019-05-08 20:09:51 +02:00
a95b2409d3 Parallelize calculation of working_times 2019-05-08 15:03:38 +02:00
5958523fdb Update app/models/exercise.rb
Co-Authored-By: rteusner <ralf.teusner@hpi.de>
2019-03-29 16:00:58 +01:00
193cc6c70d enhance exercise_collection_statistics 2019-03-29 15:32:00 +01:00
d63469099b Incorporate feedback from PR review 2019-03-12 13:01:25 +01:00
900bc896c9 Implement working time graph for study group dashboard
(so far, without live update)
2019-03-12 10:32:23 +01:00
114f77e799 Extract WORKING_TIME_DELTA to be used globally and set it to 5 min. 2019-03-09 00:32:36 +01:00
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
b5c3ce2113 Delete related exercise collection items when deleting exercises or collections 2018-08-22 13:47:27 +02:00
11dc48dc96 Fix creating exercise collections with exercises 2018-08-22 13:41:23 +02:00
b68b3bc2b0 Add position attribute to relation between exercise collection and exercises 2018-07-03 15:23:00 +02:00
2541451d4b Add finishing rate to exercise statistics 2018-05-15 12:47:54 +02:00
73929512c6 Only ask for feedback from fast users if they achieved an above-average score 2018-02-26 19:54:11 +01:00
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +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
c62e9f53e5 fixed broken methodname (missing questionmark...) 2017-11-29 16:06:45 +01:00
c4cf11f299 Refactor user redirect after submission 2017-11-08 15:39:04 +01:00
97d8409557 add association between exercise and user_exercise_feedback 2017-11-01 10:14:52 +01:00
5a099a42b8 changed working time calculation to only consider submissions within 5 minutes instead of 30 2017-04-03 18:09:30 +02:00
392dd77b4a do not show interventions on solved exercises
do not show more than 2 interventions per day
2017-04-03 17:17:34 +02:00
d4a9df709a quickfixed not working Exercise.accumulated_working_time_for_only(user) 2017-03-30 15:02:44 +02:00
c8609ffa81 improved quantile calculation by using only times until user has reached max points 2017-03-28 12:29:36 +02:00
b9e93a5b21 fixed accumulated_working_time_for_only in exercise 2017-03-28 12:13:47 +02:00
530916d3ef added time of user to reach max score in exercise 2017-03-21 10:31:33 +01:00
bfc96328c4 added interventions back to code. added post method to be able to save interventions 2017-03-21 10:31:33 +01:00
b41a858762 changed way working times are returned. builtin protection if exercise is new 2017-03-21 10:31:32 +01:00
1eea3fab4c lots of renaming to _ names instead of camelCase 2017-03-21 10:31:32 +01:00
01470bff97 fixed problem with wrong worktime calculations 2017-03-21 10:31:32 +01:00
4796dd5c9d find solved exercises of users now by fetching submissions with cause assess or submit 2017-03-21 10:31:32 +01:00
04c54549c5 zwischenstand 2017-03-21 10:31:32 +01:00
fcb82d29a1 quantiles are returned in array and not hash anymore. optional param failed, fixed 2017-03-21 10:31:32 +01:00