Commit Graph

30 Commits

Author SHA1 Message Date
Thomas Hille
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
yqbk
4183a16178 merge with master 2016-08-03 12:09:58 +02:00
yqbk
4bb8c79150 typo in submissionS 2016-07-05 15:27:49 +02:00
yqbk
b0d468c0e0 remove rest of teams code -- NEED TO REMOVE TEAMS FROM DATABASE! 2016-06-30 12:17:19 +02:00
yqbk
b5c3d8170d Fix in models/exercise_spec.rb, repair average_percentage without submission 2016-05-25 14:39:48 +02:00
rteusner
ebdc5dcd6e Merge pull request #41 from leoselig/master
Import exercise meta data from CodeHarbour
2016-03-01 13:03:12 +01:00
Ralf Teusner
94c31e35a4 Some comments and cleanup of exercise.rb percentage calculation 2016-03-01 11:14:53 +01:00
leo.selig
1c5cf0facb Deserialize feedback message
- this fixes the validation error for test files

(leoselig/codeocean#4)
2016-02-18 18:32:03 +01:00
leo.selig
f8c5d2ad96 Serialize test files from ProFormA-XML
(leoselig/codeocean#4)
2016-02-18 17:26:29 +01:00
leo.selig
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
leo.selig
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
leo.selig
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
Maximilian Grundke
a24e29345d Fix NaN error for exercises without scores 2016-01-21 14:03:42 +01:00
Maximilian Grundke
a508d47e3e Retrieve user statistics in an execution environment for all exercises at once 2016-01-07 15:42:53 +01:00
Maximilian Grundke
b10323b5a4 Make working time queries fire only once 2015-12-17 11:45:55 +01:00
Maximilian Grundke
1a738a2a06 Refine working time query 2015-12-16 14:00:51 +01:00
Maximilian Grundke
f3acc426ac Refactor average worktime and add it to exercise statistics per user 2015-11-05 11:17:45 +01:00
Maximilian Grundke
d4031c363f Fix number of runs 2015-11-05 10:57:07 +01:00
Maximilian Grundke
baed5bcc03 Add first draft of cleansed average working time 2015-11-01 15:54:01 +01:00
Maximilian Grundke
7baff6ddaf Group statistics per user type 2015-11-01 14:47:52 +01:00
Maximilian Grundke
c41818e324 Push statistics features to model 2015-10-29 15:08:02 +01:00
Jan Renz
c0fde51f6c Backup commit 2015-04-13 22:36:27 +02:00
Hauke Klement
d109663cb9 extracted boolean validation logic into stand-alone validator 2015-03-18 09:10:58 +01:00
Hauke Klement
48f1b97aea extracted method 2015-03-12 11:07:29 +01:00
Hauke Klement
ff7f33cfd8 minor changes 2015-03-11 15:15:10 +01:00
Hauke Klement
7477d4c6dd transitionally downgraded to Rails 4.1 since activerecord-jdbcpostgresql-adapter is not fully compatible with Active Record 4.2 2015-03-02 15:04:37 +01:00
Hauke Klement
f0ca3b6e82 improved readability 2015-02-23 17:19:09 +01:00
Hauke Klement
8b04b47721 added tests 2015-02-21 11:11:04 +01:00
Hauke Klement
dd624b26c8 started implementing teams 2015-01-28 12:28:09 +01:00
Hauke Klement
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00