ims_caliper 0.9.3.12 → 0.9.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzVlYzMxZDk4MWExZDEwMWFiZTRkMTNlNzRkYWQ1ODNiYTljOTQ0Yg==
4
+ YTFiNGQxYTJkOTcyNzBkZjAwNWVkZGNhN2UxNTg0YWRhM2ZkOTYxYQ==
5
5
  data.tar.gz: !binary |-
6
- OTFhMjY0ZTkwOTg5ZjA1NDk4ZjJmMmRiMDI4MTkzYTlkYjk2ZmQzMw==
6
+ Yjk4ZmU4Njg0YzQwMDdhYmJmYTA0YmRiZWRhMWM0Mjk3NmVmODBhNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmIzYzNmNTUwMGMwNDUwNDU3YTU1NTg5MmNjZWIzNjM5NWU4NTc3MDY0ZGQx
10
- MTI3Y2ExMjgyYTNiODAzYzA5ZTk0NGY5NmYzODBmZjM3YmM2ZWUxMDllMjk0
11
- MTg3MjY3Yzk5YzQ5NTJlM2RhYmY2YmIyOTU5ZTY1Y2RhM2QwY2M=
9
+ MWYwZjFmZGRhNDc2YmRhZDNhNjFkODY1MGIxZDgzOWI2ZTA3NTk4OTA1YzBj
10
+ ZTRiMTAxNmIyN2NjNDc2YjYxM2NjZWE1ZDM2OWRhM2IyYmYzZGVkMmI0M2Vl
11
+ YWNkYTIyOGEwYmJlM2U2N2EwN2I2YjQwZDc0Y2I4ZWExYzY4MjY=
12
12
  data.tar.gz: !binary |-
13
- MzJjMmEyODQ3MWE3N2JjNzE2MWMyNmNkMjRjZTkwNWU4NjhkODBlMzg5MGNh
14
- OTkxNTM4M2I4ZGNlYTgzNzQyYmJkMTBmYjA1N2VlNTE4YjBlMDE5NTlkMzkz
15
- Njg2NTg0MTkwYWFjMmY1ZDU4NGFkMWQ5YjY0ZGViZWQyNjIxYzc=
13
+ MmZlOWU2ZTIyMjM1YzM0ZWEyMWVmMTg4MDViMTg4OWI1NzkzYWU5NDY5MzQx
14
+ ODg5NDEzMTA0Yjc1ZTE1Zjk0ZTM3ZjFiNjVkMzQ5ZjIwZjRlZDc4NjJjZjE1
15
+ NDYxNGUyODNkNzRlYWViZmFlYTJhZTYwODhiMmRjYzY4N2ExZTQ=
@@ -19,27 +19,24 @@ require_relative '../entity'
19
19
  require_relative '../generatable'
20
20
 
21
21
  #
22
- # Predicted grade
22
+ # LIS Result
23
23
  #
24
24
  module Caliper
25
25
  module Entities
26
- module Outcome
27
- class PredictedGrade < Entity
28
- include Caliper::Entities::Generatable
26
+ class PredictedGrade < Entity
27
+ include Caliper::Entities::Generatable
29
28
 
30
- attr_accessor :type, # String
31
- :course_id,
32
- :scored_by,
33
- :student_id,
34
- :user_role,
35
- :assignment_id,
36
- :predicted_score,
37
- :possible_score,
29
+ attr_accessor :type, # String
30
+ :course_id,
31
+ :scored_by,
32
+ :student_id,
33
+ :user_role,
34
+ :assignment_id,
35
+ :predicted_score,
36
+ :possible_score
37
+
38
+ def initialize
38
39
 
39
- def initialize
40
- super
41
- @type = Caliper::Entities::EntityType::PREDICTED_GRADE
42
- end
43
40
  end
44
41
  end
45
42
  end
@@ -35,10 +35,10 @@ module Caliper
35
35
  :curve_factor,
36
36
  :comment,
37
37
  :scored_by
38
- end
39
38
 
40
- def initialize
39
+ def initialize
41
40
 
41
+ end
42
42
  end
43
43
  end
44
44
  end
@@ -19,5 +19,5 @@
19
19
  # Version.
20
20
  #
21
21
  module Caliper
22
- VERSION = "0.9.3.12"
22
+ VERSION = "0.9.3.14"
23
23
  end
@@ -20,6 +20,8 @@ require_all 'lib/caliper/sensor.rb'
20
20
  require_relative './event_helper'
21
21
  require_all 'lib/caliper/event/session_event.rb'
22
22
  require_all 'lib/caliper/event/grade_predict_event.rb'
23
+ require_all 'lib/caliper/entities/outcome/predicted_grade.rb'
24
+ require_all 'lib/caliper/entities/outcome/result.rb'
23
25
 
24
26
  module Caliper
25
27
 
@@ -37,7 +39,11 @@ module Caliper
37
39
  }
38
40
 
39
41
  sensor = Sensor.new options
40
- event = session_event
42
+ event = session_eventP
43
+
44
+ predictedEvent = Caliper::Entities::Outcome::PredictedGrade.new
45
+
46
+ outcome = Caliper::Entities::Outcome::Result.new
41
47
 
42
48
  file = File.read('spec/fixtures/caliper_session_gradecraft.json')
43
49
  data_hash = JSON.parse(file)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ims_caliper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3.12
4
+ version: 0.9.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caliper Dev Group