Commit Graph

104 Commits

Author SHA1 Message Date
fe8b04fcfc more debugging infos 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
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
9bef1d8bb2 recommendation also with lots of debugging messages looks promising 2017-03-21 10:31:32 +01:00
04c54549c5 zwischenstand 2017-03-21 10:31:32 +01:00
16a3bad453 renaming method 2017-03-21 10:31:32 +01:00
91e4680f85 minor fix 2017-03-21 10:31:32 +01:00
f5b96f06cf fixed typo 2017-03-21 10:31:32 +01:00
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
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
25087232dd added relative knowledge loss function 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
59f2ff436e removed url helper from model 2017-01-18 13:35:18 +01:00
e634caf408 fixing tests final nice-up 2017-01-13 11:11:15 +01:00
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
44380c0cc1 added model for lti_parameters 2016-12-14 15:53:16 +01:00
c937a1a9ef clean pull request 2016-10-24 23:02:44 +02:00
44aca293e9 make travis green again 2016-10-08 20:37:20 +02:00
4183a16178 merge with master 2016-08-03 12:09:58 +02:00
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
09533a5556 download complete submission as one zip file 2016-07-15 18:25:58 +02:00
39a253997d use submission from model 2016-07-14 16:59:42 +02:00
8282820974 removed requested_at
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
f5868a4fa2 merge master 2016-07-14 13:22:24 +02:00
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
ddc78f334c fixed usage of Rails cache call. 2016-06-27 18:01:58 +02:00
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
2a52b66daa rfc can now be solved.
show.html still needs to be finished
2016-06-24 16:44:34 +02:00
1cd879bcb6 Scaffold file templates 2016-06-09 22:38:19 +02:00
7bc3c4e27c Fix tests in models/execution_environment_spec.rb, uncomment @image in lib/docker_client.rb 2016-05-25 15:56:49 +02:00
b5c3d8170d Fix in models/exercise_spec.rb, repair average_percentage without submission 2016-05-25 14:39:48 +02:00
c69ab69c46 Fix exercise update 2016-05-12 14:39:00 +02:00
9fc974af20 Implement file name validation based on path, name, and filetype upon file creation 2016-05-10 16:03:52 +02:00
c9b2af0fdb show question instead of execution environement 2016-05-06 17:24:38 +02:00
8ba67c68c0 retrieve correct displaynames for users (from consumer if it is openHPI, otherwise use internal name) 2016-04-27 18:33:27 +02:00
2998d63d13 Add human readable label 2016-04-27 18:02:37 +02:00
16346fa732 Show testrun results in statistics 2016-03-09 15:20:38 +01:00
087b2bdf93 Persist assessments in the testrun model 2016-03-09 14:49:44 +01:00
b66e9fc05d Add Testrun to schema 2016-03-02 14:52:39 +01:00
f17ae9ad2f Merge remote-tracking branch 'origin/master' into statistics 2016-03-02 12:01:16 +01: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
0a5301a595 Make statistics teacher-safe 2016-02-24 14:23:15 +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