Commit Graph

60 Commits

Author SHA1 Message Date
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
6acd5bb905 added quantile calculations per exercise, added scoring matrix usage 2017-03-21 10:31:32 +01:00
eadaf9fd1b added matrix and score/time calculations 2017-03-21 10:31:32 +01:00
0db11884bc Extended Exercises by worktime, difficulty and tags, added ProxyExercises as prework for recommendations
Tags can be added to exercises in the edit view. Tags can monitored under /tags.
Added the concept of ProxyExercises which are a collection of Exercises. They can be found under /proxy_exercises
Added Interventions as prework to show interventions later to the user.
Added exercise/[:id]/working_time to return the working time of the user in this exercise and the average working time of all users in this exercise
2017-03-21 10:31:32 +01:00
4183a16178 merge with master 2016-08-03 12:09:58 +02:00
4bb8c79150 typo in submissionS 2016-07-05 15:27:49 +02:00
b0d468c0e0 remove rest of teams code -- NEED TO REMOVE TEAMS FROM DATABASE! 2016-06-30 12:17:19 +02:00
b5c3d8170d Fix in models/exercise_spec.rb, repair average_percentage without submission 2016-05-25 14:39:48 +02:00
ebdc5dcd6e Merge pull request #41 from leoselig/master
Import exercise meta data from CodeHarbour
2016-03-01 13:03:12 +01:00
94c31e35a4 Some comments and cleanup of exercise.rb percentage calculation 2016-03-01 11:14:53 +01:00
1c5cf0facb Deserialize feedback message
- this fixes the validation error for test files

(leoselig/codeocean#4)
2016-02-18 18:32:03 +01:00
f8c5d2ad96 Serialize test files from ProFormA-XML
(leoselig/codeocean#4)
2016-02-18 17:26:29 +01:00
7cc612ddaf Deserialize exercises files in ProFormA-XML
- includes determining main file property via comment and template
  attributes in XML

(closes leoselig/codeocean#3)
2016-02-18 16:03:25 +01:00
773088798c Fix array to string cast error
- accidental trailing comma caused this (apparently that's a thing in
  Ruby...)
- cleaned up attribute assignments a little bit
  (persisted/validated/neither assignments)

(leoselig/codeocean#1)
2016-02-13 11:54:30 +01:00
943355d9c7 Add #from_proforma_xml to exercise (only meta data import)
- method only considers title and description for now
- sets up relation to execution environment with id 1, just to pass
  validation for now

(leoselig/codeocean#1)
2016-02-12 11:05:14 +01:00
a24e29345d Fix NaN error for exercises without scores 2016-01-21 14:03:42 +01:00
a508d47e3e Retrieve user statistics in an execution environment for all exercises at once 2016-01-07 15:42:53 +01:00
b10323b5a4 Make working time queries fire only once 2015-12-17 11:45:55 +01:00
1a738a2a06 Refine working time query 2015-12-16 14:00:51 +01:00
f3acc426ac Refactor average worktime and add it to exercise statistics per user 2015-11-05 11:17:45 +01:00
d4031c363f Fix number of runs 2015-11-05 10:57:07 +01:00
baed5bcc03 Add first draft of cleansed average working time 2015-11-01 15:54:01 +01:00
7baff6ddaf Group statistics per user type 2015-11-01 14:47:52 +01:00