Commit Graph

148 Commits

Author SHA1 Message Date
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
fcb82d29a1 quantiles are returned in array and not hash anymore. optional param failed, fixed 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
Thomas Hille
25087232dd added relative knowledge loss function 2017-03-21 10:31:32 +01:00
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
Niklas Kiefer
3562aa9103 create remote evaluation 2017-02-02 18:14:33 +01:00
Tom Staubitz
59f2ff436e removed url helper from model 2017-01-18 13:35:18 +01:00
Tom Staubitz
e634caf408 fixing tests final nice-up 2017-01-13 11:11:15 +01:00
Tom Staubitz
325ea25849 Replaced session[:lti_parameters] with proper LtiParameter object.
Removed all tests that would be failing

TODO: decision if all LtiParameter objects for a certain user/consumer will be deleted when the user/consumer is deleted from the session, or only the LtiParameter object for the current exercise of the user/consumer.

TODO: replace removed tests with proper tests
2016-12-30 09:45:39 +01:00
Tom Staubitz
44380c0cc1 added model for lti_parameters 2016-12-14 15:53:16 +01:00
yqbk
c937a1a9ef clean pull request 2016-10-24 23:02:44 +02:00
yqbk
44aca293e9 make travis green again 2016-10-08 20:37:20 +02:00
yqbk
4183a16178 merge with master 2016-08-03 12:09:58 +02:00
Ralf Teusner
ed3526a578 Merge branch 'master' into feature-file-templates
Conflicts:
	app/views/application/_navigation.html.slim
	config/locales/de.yml
	config/locales/en.yml
	db/schema.rb
2016-07-28 15:16:11 +02:00
Ralf Teusner
09533a5556 download complete submission as one zip file 2016-07-15 18:25:58 +02:00
Ralf Teusner
39a253997d use submission from model 2016-07-14 16:59:42 +02:00
Ralf Teusner
8282820974 removed requested_at
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
Ralf Teusner
f5868a4fa2 merge master 2016-07-14 13:22:24 +02:00
Ralf Teusner
223df2ffa8 some cleanup of request for comments. Work in progress.
Noticed a flaw when fetching the last submission, which is caused by timezone differences. First step to solve this.
Existing Request for Comments still need to be updated with their current submissionId, the SQL to do that is not yet finished.
2016-07-04 17:44:22 +02:00
Ralf Teusner
ddc78f334c fixed usage of Rails cache call. 2016-06-27 18:01:58 +02:00
Ralf Teusner
2ff12dbeb6 Cached displaynames of users
Added solved state and #comments to index of request_for_comments
Added translations
2016-06-27 16:46:26 +02:00
Ralf Teusner
2a52b66daa rfc can now be solved.
show.html still needs to be finished
2016-06-24 16:44:34 +02:00
Maximilian Grundke
1cd879bcb6 Scaffold file templates 2016-06-09 22:38:19 +02:00
yqbk
7bc3c4e27c Fix tests in models/execution_environment_spec.rb, uncomment @image in lib/docker_client.rb 2016-05-25 15:56:49 +02:00
yqbk
b5c3d8170d Fix in models/exercise_spec.rb, repair average_percentage without submission 2016-05-25 14:39:48 +02:00
Maximilian Grundke
c69ab69c46 Fix exercise update 2016-05-12 14:39:00 +02:00
Maximilian Grundke
9fc974af20 Implement file name validation based on path, name, and filetype upon file creation 2016-05-10 16:03:52 +02:00
Ralf Teusner
c9b2af0fdb show question instead of execution environement 2016-05-06 17:24:38 +02:00
Ralf Teusner
8ba67c68c0 retrieve correct displaynames for users (from consumer if it is openHPI, otherwise use internal name) 2016-04-27 18:33:27 +02:00
Maximilian Grundke
2998d63d13 Add human readable label 2016-04-27 18:02:37 +02:00
Maximilian Grundke
16346fa732 Show testrun results in statistics 2016-03-09 15:20:38 +01:00
Maximilian Grundke
087b2bdf93 Persist assessments in the testrun model 2016-03-09 14:49:44 +01:00
Maximilian Grundke
b66e9fc05d Add Testrun to schema 2016-03-02 14:52:39 +01:00
Maximilian Grundke
f17ae9ad2f Merge remote-tracking branch 'origin/master' into statistics 2016-03-02 12:01:16 +01: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
Maximilian Grundke
0a5301a595 Make statistics teacher-safe 2016-02-24 14:23:15 +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
leo.selig
5a190c0c79 Fix wrong belongs_to :user
- because of polymorphic user model this didn't work
- changed to :internal_user because that's anyway the only type of user we
  want to impoprt from

(leoselig/codeocean#1)
2016-02-12 10:57:44 +01:00
leo.selig
68e74a9d85 Add association User has many CodeHarborLink
- add migration tht associates User with CodeHarborLink
- add belongs_to from CodeHarborLink to User
- changed CodeHarborLinkController#index to only serve current user's
  CodeHarborLinks

(leoselig/codeocean#2)
2016-02-04 12:38:46 +01:00
leo.selig
f2a1a748d5 Replace CodeHarbourLink .erb wtih .slim templates
- this is consistent with the remaining view architecture

(leoselig/codeocean#2)
2016-02-04 12:06:59 +01:00
leo.selig
ca9a9c7e85 Merge branch 'master' of https://github.com/openHPI/codeocean 2016-02-04 11:02:56 +01:00
leo.selig
76bf3dd3f0 Scaffold CodeHarbourLink with field oauth2token
(leoselig/codeocean#2)
2016-02-04 11:02:26 +01:00
Ralf Teusner
2a1862f39a Merge branch 'master' into statistics 2016-01-25 11:22:58 +01:00