answer-factory 0.0.10 → 0.0.11
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.
- data/.gitignore +1 -1
- data/VERSION +1 -1
- data/answer-factory.gemspec +1 -2
- data/lib/answers/answer.rb +8 -2
- metadata +2 -3
data/.gitignore
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
pkg/**
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.11
|
data/answer-factory.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{answer-factory}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.11"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Bill Tozier", "Trek Glowacki", "Jesse Sielaff"]
|
|
@@ -47,7 +47,6 @@ Gem::Specification.new do |s|
|
|
|
47
47
|
"lib/operators/resample_values_operator.rb",
|
|
48
48
|
"lib/operators/test_case_evaluator.rb",
|
|
49
49
|
"lib/operators/uniform_backbone_crossover_operator.rb",
|
|
50
|
-
"pkg/nudgegp-0.0.1.gem",
|
|
51
50
|
"readme.md",
|
|
52
51
|
"spec/answer_spec.rb",
|
|
53
52
|
"spec/batch_spec.rb",
|
data/lib/answers/answer.rb
CHANGED
|
@@ -18,10 +18,12 @@ module AnswerFactory
|
|
|
18
18
|
end
|
|
19
19
|
@timestamp = Time.now
|
|
20
20
|
@couch_id = options[:couch_id] || ""
|
|
21
|
-
@initialization_options = options
|
|
22
21
|
@progress = options[:progress] || 0
|
|
22
|
+
puts @progress
|
|
23
23
|
@ancestors = options[:ancestors] || []
|
|
24
24
|
@tags = Set.new(options[:tags]) || Set.new
|
|
25
|
+
|
|
26
|
+
@initialization_options = options
|
|
25
27
|
end
|
|
26
28
|
|
|
27
29
|
|
|
@@ -122,7 +124,11 @@ module AnswerFactory
|
|
|
122
124
|
|
|
123
125
|
|
|
124
126
|
def data
|
|
125
|
-
{'blueprint' => self.blueprint,
|
|
127
|
+
{'blueprint' => self.blueprint,
|
|
128
|
+
'tags' => self.tags,
|
|
129
|
+
'scores' => self.scores,
|
|
130
|
+
'progress' => self.progress,
|
|
131
|
+
'timestamp' => self.timestamp}
|
|
126
132
|
end
|
|
127
133
|
|
|
128
134
|
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 11
|
|
9
|
+
version: 0.0.11
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Bill Tozier
|
|
@@ -151,7 +151,6 @@ files:
|
|
|
151
151
|
- lib/operators/resample_values_operator.rb
|
|
152
152
|
- lib/operators/test_case_evaluator.rb
|
|
153
153
|
- lib/operators/uniform_backbone_crossover_operator.rb
|
|
154
|
-
- pkg/nudgegp-0.0.1.gem
|
|
155
154
|
- readme.md
|
|
156
155
|
- spec/answer_spec.rb
|
|
157
156
|
- spec/batch_spec.rb
|