Commit Graph

261 Commits

Author SHA1 Message Date
Thomas Hille
66a2d8c992 minor change 2017-03-21 10:31:32 +01:00
Thomas Hille
1eea3fab4c lots of renaming to _ names instead of camelCase 2017-03-21 10:31:32 +01:00
Thomas Hille
f63b9eeb3c added that users would only get exercises recommended which are max 1 level more difficult 2017-03-21 10:31:32 +01:00
Thomas Hille
1d75af51d2 quick fix 2017-03-21 10:31:32 +01:00
Thomas Hille
5bbc124097 improvement debug output 2017-03-21 10:31:32 +01:00
Thomas Hille
01470bff97 fixed problem with wrong worktime calculations 2017-03-21 10:31:32 +01:00
Thomas Hille
fe8b04fcfc more debugging infos 2017-03-21 10:31:32 +01:00
Thomas Hille
4796dd5c9d find solved exercises of users now by fetching submissions with cause assess or submit 2017-03-21 10:31:32 +01:00
Thomas Hille
0f67297e2c recommendation also now returns easiest exercise as recommendation if no tag matched could be found
findMatchingExercises only searched for assessed submissions to get processed exercises, fixed this to look at all submissions
2017-03-21 10:31:32 +01:00
Thomas Hille
9bef1d8bb2 recommendation also with lots of debugging messages looks promising 2017-03-21 10:31:32 +01:00
Thomas Hille
04c54549c5 zwischenstand 2017-03-21 10:31:32 +01:00
Thomas Hille
16a3bad453 renaming method 2017-03-21 10:31:32 +01:00
Thomas Hille
91e4680f85 minor fix 2017-03-21 10:31:32 +01:00
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