Commit Graph

226 Commits

Author SHA1 Message Date
Thomas Hille
b9e93a5b21 fixed accumulated_working_time_for_only in exercise 2017-03-28 12:13:47 +02:00
Thomas Hille
e1f1134992 ignore dummy exercise in recommendation 2017-03-28 11:51:51 +02:00
Thomas Hille
d6a25b8496 do now assign dummy exercise to random group 2017-03-27 18:52:44 +02:00
Thomas Hille
ef5ebc3b69 splitted user in groups for assigning bonus exercises 2017-03-24 12:14:53 +01:00
Thomas Hille
26e93c4b23 changed puts methods in proxy_exercise.rb to Rails.logger.debug. also changed Rails.logger.info to Rails.logger.debug 2017-03-21 11:25:11 +01:00
Thomas Hille
4f5c936dd6 changed formulas for demising return 2017-03-21 10:31:45 +01:00
Thomas Hille
325c44c1fb added finishing return value in proxy exercise 2017-03-21 10:31:33 +01:00
Thomas Hille
530916d3ef added time of user to reach max score in exercise 2017-03-21 10:31:33 +01:00
Thomas Hille
7ef318713b added reason vor proxy exercise 2017-03-21 10:31:33 +01:00
Thomas Hille
695b8946f6 added search intervention. search opens new tab with search in the java course (at least in chrome)
send only 3 interventions per exercise at maximum
2017-03-21 10:31:33 +01:00
Thomas Hille
bfc96328c4 added interventions back to code. added post method to be able to save interventions 2017-03-21 10:31:33 +01:00
Thomas Hille
3d7f5bdf1a added intervention controller and stuff 2017-03-21 10:31:32 +01:00
Thomas Hille
b41a858762 changed way working times are returned. builtin protection if exercise is new 2017-03-21 10:31:32 +01:00
Thomas Hille
1f141f440a added fallback to recommendation if something went completely wrong 2017-03-21 10:31:32 +01:00
Thomas Hille
355e8af14b privatized methods in proxy_exercise 2017-03-21 10:31:32 +01:00
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